亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? x3305.htm

?? Its a xmpp protocol book
?? HTM
字號:
<HTML
><HEAD
><TITLE
>Managing the Configuration</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
"><LINK
REL="HOME"
TITLE="Programming Jabber"
HREF="book1.htm"><LINK
REL="UP"
TITLE="Server Architecture and Configuration"
HREF="c1223.htm"><LINK
REL="PREVIOUS"
TITLE="A Tour of jabber.xml"
HREF="x1740.htm"><LINK
REL="NEXT"
TITLE="Server Constellations"
HREF="x3381.htm"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Programming Jabber</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x1740.htm"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. Server Architecture and Configuration</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x3381.htm"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="JABTDG-CH-4-SECT-4.4"
>Managing the Configuration</A
></H1
><P
>Now that we've had a tour of the components, and have an idea of what
sorts of configurations are possible, you may be wondering whether there's
a way to retain some sort of overview of the actual XML. Dropping
component instance definitions in and out of the configuration file is 
somewhat tedious, and certainly when editing such a large file, it's not
difficult to lose sense of direction and comment out or edit the wrong section.</P
><P
><I
CLASS="EMPHASIS"
><TT
CLASS="LITERAL"
>&#60;jabberd:include/&#62;</TT
></I
></P
><P
>Help is at hand, in the form of the 
<TT
CLASS="LITERAL"
>&#60;jabberd:include/&#62;</TT
>
tag. </P
><P
>This tag comes from the same stable as 
<TT
CLASS="LITERAL"
>&#60;jabberd:cmdline/&#62;</TT
>
and provides the Jabber server administrator with ways to better manage
the XML configuration.</P
><P
>The contents of a file specified with the 
<TT
CLASS="LITERAL"
>&#60;jabberd:include/&#62;</TT
>
tag are imported (included) in the position that the 
<TT
CLASS="LITERAL"
>&#60;jabberd:include/&#62;</TT
>
tag occupies. Depending on what the root tag in the file to be included
is, the import is done in one of two ways:</P
><P
></P
><UL
><LI
><P
><I
CLASS="EMPHASIS"
>root tag matches the parent tag of 
<TT
CLASS="LITERAL"
>&#60;jabberd:include/&#62;</TT
></I
></P
><P
>The contents of the file <I
CLASS="EMPHASIS"
>minus the root tag</I
>
are included</P
></LI
><LI
><P
><I
CLASS="EMPHASIS"
>root tag does not match the parent tag of 
<TT
CLASS="LITERAL"
>&#60;jabberd:include/&#62;</TT
></I
></P
><P
>The entire contents of the file are included</P
></LI
></UL
><P
>For example, if we have a section like this in the 
<TT
CLASS="FILENAME"
>jabber.xml</TT
> file:</P
><P
><PRE
CLASS="SCREEN"
>...
&#60;conference xmlns="jabber:config:conference"&#62;
  &#60;public/&#62;
  &#60;vCard&#62;
    &#60;FN&#62;yak Chatrooms&#60;/FN&#62;
    &#60;DESC&#62;This is a public chatroom service.&#60;/DESC&#62;
    &#60;URL&#62;http://yak/chat&#60;/URL&#62;
  &#60;/vCard&#62;
  ...
  &#60;jabberd:include&#62;./rooms.xml&#60;/jabberd:include&#62;
&#60;/conference&#62;
...</PRE
>
and the content of <TT
CLASS="FILENAME"
>./rooms.xml</TT
> looks like this:
<PRE
CLASS="SCREEN"
>&#60;room jid="kitchen@conference.yak"&#62;
  &#60;name&#62;The Kitchen&#60;/name&#62;
  &#60;notice&#62;
    &#60;join&#62; comes to add to the broth-spoiling&#60;/join&#62;
    &#60;leave&#62; can't stand the heat&#60;/leave&#62;
    &#60;rename&#62; is now known as &#60;/rename&#62;
  &#60;/notice&#62;
&#60;/room&#62;
&#60;room jid="cellar@conference.yak"&#62;
  &#60;name&#62;The Cellar&#60;/name&#62;
  &#60;secret&#62;cellarsecret&#60;/secret&#62;
&#60;/room&#62;</PRE
></P
><P
>then these rooms will be defined to the <I
CLASS="EMPHASIS"
>Conferencing</I
>
component as if the 
configuration XML had appeared directly inside of the 
<TT
CLASS="LITERAL"
>&#60;conference/&#62;</TT
> configuration
wrapper tag. </P
><P
>We can put the <TT
CLASS="LITERAL"
>&#60;jabberd:include/&#62;</TT
>
tag to good use and organise our configuration component instances as shown
in <A
HREF="x3305.htm#JABTDG-CH-4-EX-19"
>Example 4-23</A
>.</P
><DIV
CLASS="EXAMPLE"
><A
NAME="JABTDG-CH-4-EX-19"
></A
><P
><B
>Example 4-23. Configuration XML organised with 
<TT
CLASS="LITERAL"
>&#60;jabberd:include/&#62;</TT
></B
></P
><P
><PRE
CLASS="SCREEN"
>&#60;jabber&#62;

  &#60;!-- Core components --&#62;

  &#60;jabberd:include&#62;./sessions.xml&#60;/jabberd:include&#62;
  &#60;jabberd:include&#62;./config/standard/xdb.xml&#60;/jabberd:include&#62;
  &#60;jabberd:include&#62;./config/standard/c2s.xml&#60;/jabberd:include&#62;

  &#60;!-- Testing --&#62;

  &#60;!--
  &#60;jabberd:include&#62;./config/local/conference.xml&#60;/jabberd:include&#62;
  &#60;jabberd:include&#62;./config/test/test.service.xml&#60;/jabberd:include&#62;
  --&#62;

  &#60;!-- Logging --&#62;

  &#60;jabberd:include&#62;./config/standard/elogger.xml&#60;/jabberd:include&#62;
  &#60;jabberd:include&#62;./config/standard/rlogger.xml&#60;/jabberd:include&#62;

  &#60;!--
  Internal-only server right now

  &#60;jabberd:include&#62;./config/standard/dnsrv.xml&#60;/jabberd:include&#62;
  &#60;jabberd:include&#62;./config/standard/s2s.xml&#60;/jabberd:include&#62;
  --&#62;

  &#60;!-- Misc --&#62;

  &#60;jabberd:include&#62;./config/standard/jud.xml&#60;/jabberd:include&#62;

  &#60;!-- IO (incl. karma), PIDfile --&#62;

  &#60;jabberd:include&#62;./config/standard/io.xml&#60;/jabberd:include&#62;
  &#60;jabberd:include&#62;./config/standard/pidfile.xml&#60;/jabberd:include&#62;

&#60;/jabber&#62;</PRE
></P
></DIV
><P
>The XML in <A
HREF="x3305.htm#JABTDG-CH-4-EX-19"
>Example 4-23</A
>
gives us a great overview of which components are included in 
our Jabber server; we have the core components providing the 
<I
CLASS="EMPHASIS"
>Session Management</I
>, 
<I
CLASS="EMPHASIS"
>Client (to Server) Connections</I
> and
<I
CLASS="EMPHASIS"
>Data Storage</I
>
services; a couple of components under test (<I
CLASS="EMPHASIS"
>Conferencing</I
>
and a custom component we're calling 'test.service') that are currently 
deactivated; the <I
CLASS="EMPHASIS"
>Logging</I
> services in their standard 
configuration; the components providing facilities for connecting to other
Jabber servers - <I
CLASS="EMPHASIS"
>Server (to Server) Connections</I
>
and <I
CLASS="EMPHASIS"
>Hostname Resolution</I
> - are currently inactive, 
meaning that as configured, the Jabber server will be purely internal;
there's also a local JUD defined too, and finally we have the IO and 
PIDfile specifications - also abstracted out into separate XML chunks.</P
><P
>This works well especially if there are certain parts of the configuration - 
for example certain component instance definitions - that don't normally
change; you can see that many of the component configuration files are in
a 'standard' directory, which by convention could signify that they're 
the same as the XML configuration as-delivered and are not likely to change.</P
><P
><I
CLASS="EMPHASIS"
><TT
CLASS="LITERAL"
>&#60;jabberd:cmdline/&#62;</TT
></I
></P
><P
>The 
<TT
CLASS="LITERAL"
>&#60;jabberd:cmdline/&#62;</TT
>
tag was mentioned in Chapter 3 as a way of providing a command line
hook into the configuration - values stored in the XML could be overridden
by command line switches used when invoking <B
CLASS="COMMAND"
>jabberd</B
>.</P
><P
>The tag is used in the standard XML configuration
(see <A
HREF="x1581.htm#JABTDG-CH-4-FIG-4.2"
>Figure 4-3</A
>)
to allow replacement of the hostname and spool directory:</P
><P
><PRE
CLASS="SCREEN"
>&#60;host&#62;&#60;jabberd:cmdline flag="h"&#62;yak&#60;/jabberd:cmdline&#62;&#60;/host&#62;</PRE
></P
><P
>and</P
><P
><PRE
CLASS="SCREEN"
>&#60;spool&#62;&#60;jabberd:cmdline flag='s'&#62;./spool&#60;/jabberd:cmdline&#62;&#60;/spool&#62;</PRE
></P
><P
>In fact, this tag can be used in most places in the XML - so if for example
you have a requirement to modify (re-specify) the error and record log
files for each <B
CLASS="COMMAND"
>jabberd</B
> invocation, you can do something
like this:</P
><P
><PRE
CLASS="SCREEN"
>&#60;log id='elogger'&#62;
  &#60;host/&#62;
  &#60;logtype/&#62;
  &#60;format&#62;%d: [%t] (%h): %s&#60;/format&#62;
  &#60;file&#62;<TT
CLASS="USERINPUT"
><B
>&#60;jabberd:cmdline flag="e"&#62;</B
></TT
>error.log<TT
CLASS="USERINPUT"
><B
>&#60;/jabberd:cmdline&#62;</B
></TT
>&#60;/file&#62;
  &#60;stderr/&#62;
&#60;/log&#62;</PRE
></P
><P
>and then override the value <TT
CLASS="FILENAME"
>error.log</TT
> with something else
at invocation time:</P
><P
><PRE
CLASS="SCREEN"
>yak:~/jabber-1.4.1$ <TT
CLASS="USERINPUT"
><B
>./jabberd/jabberd -e error_log.txt &#38;</B
></TT
></PRE
></P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x1740.htm"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.htm"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x3381.htm"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>A Tour of <TT
CLASS="FILENAME"
>jabber.xml</TT
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="c1223.htm"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Server Constellations</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲va欧美va人人爽午夜| 国产一区二区三区四区在线观看| 亚洲第一久久影院| 国产一区二区h| 欧美日韩国产电影| 中文字幕日韩av资源站| 久久激五月天综合精品| 欧美亚洲动漫另类| 国产精品妹子av| 91丨九色porny丨蝌蚪| 欧美日韩一区不卡| 亚洲人吸女人奶水| 国产精品一级二级三级| 欧美福利电影网| 久久夜色精品国产噜噜av| 欧美久久高跟鞋激| 中文字幕一区二区三区不卡在线 | 91丨九色porny丨蝌蚪| 精品播放一区二区| 日韩综合小视频| 在线免费观看日本欧美| 欧美韩国日本综合| 国产乱子轮精品视频| 日韩一区二区不卡| 首页亚洲欧美制服丝腿| 在线亚洲免费视频| 亚洲人午夜精品天堂一二香蕉| 国产91丝袜在线18| 精品国产人成亚洲区| 日韩成人午夜精品| 9191国产精品| 日韩电影免费在线| 在线播放91灌醉迷j高跟美女| 一个色妞综合视频在线观看| 一本大道久久精品懂色aⅴ| 亚洲欧洲日产国码二区| 高清av一区二区| 国产精品进线69影院| 成人精品视频一区二区三区尤物| 国产亚洲综合性久久久影院| 国产一区二三区| 欧美tickling挠脚心丨vk| 老司机午夜精品99久久| 日韩欧美国产不卡| 久久se精品一区精品二区| 欧美精品一区在线观看| 国产在线国偷精品免费看| 久久久精品中文字幕麻豆发布| 国产不卡一区视频| 国产精品久久久久aaaa樱花| 色哟哟精品一区| 亚洲国产精品一区二区www| 欧美日韩高清一区二区| 日本特黄久久久高潮| 精品国产一区二区三区久久影院| 国产精品99久久久久久似苏梦涵| 国产精品美女久久久久久久| 91在线精品一区二区| 亚洲成精国产精品女| 日韩欧美在线网站| 国产大片一区二区| 亚洲三级视频在线观看| 欧美日韩成人一区二区| 韩国精品主播一区二区在线观看| 国产精品欧美一区二区三区| 在线观看中文字幕不卡| 日韩中文字幕麻豆| 国产亚洲一本大道中文在线| 91麻豆国产自产在线观看| 日韩高清不卡一区二区| 国产亚洲精久久久久久| 久久久久久久久久久黄色| 成人app软件下载大全免费| 一区二区在线观看av| 欧美一级免费观看| av不卡在线播放| 免费xxxx性欧美18vr| 国产精品乱人伦| 欧美一级二级在线观看| 99精品欧美一区二区蜜桃免费| 日韩电影免费一区| 亚洲欧洲日韩综合一区二区| 日韩精品一区国产麻豆| 91麻豆福利精品推荐| 精品一区二区三区在线视频| 亚洲免费在线视频| 久久免费看少妇高潮| 欧美三级一区二区| 北条麻妃国产九九精品视频| 美女视频一区二区三区| 亚洲色图19p| 国产女人18毛片水真多成人如厕 | 男男gaygay亚洲| 亚洲欧美一区二区久久| 久久综合中文字幕| 69堂国产成人免费视频| 色综合久久久网| 成人看片黄a免费看在线| 日韩精品一二区| 一区二区久久久久| 中文在线一区二区| 精品国产99国产精品| 欧美情侣在线播放| 在线观看日韩精品| 99国产精品久久久久久久久久| 国产一区二区三区四区五区入口| 日日噜噜夜夜狠狠视频欧美人| 夜夜揉揉日日人人青青一国产精品| 国产精品亲子伦对白| 国产欧美一区二区在线| 久久综合色鬼综合色| 精品日本一线二线三线不卡| 欧美一级二级三级乱码| 7777精品伊人久久久大香线蕉经典版下载 | 欧美少妇性性性| 色天使色偷偷av一区二区| 99视频在线精品| 91天堂素人约啪| 一本久久精品一区二区| 99精品视频一区| 色综合天天狠狠| 日本电影欧美片| 欧美猛男男办公室激情| 欧美日韩亚洲不卡| 在线观看91精品国产入口| 欧美在线你懂的| 7878成人国产在线观看| 91精品国产日韩91久久久久久| 欧美一级在线视频| 亚洲精品在线电影| 国产日韩欧美一区二区三区乱码| 国产清纯白嫩初高生在线观看91| 国产精品国模大尺度视频| 亚洲欧美另类久久久精品2019| 一区二区三区四区高清精品免费观看| 一区二区三区中文字幕| 亚洲成人激情自拍| 蜜桃av噜噜一区二区三区小说| 激情六月婷婷久久| 7777女厕盗摄久久久| 欧美不卡在线视频| 国产精品午夜在线观看| 一区二区欧美国产| 奇米色一区二区| 国产91精品一区二区| 91麻豆精品在线观看| 91麻豆精品国产91久久久更新时间| 欧美xxxx老人做受| 国产精品高潮呻吟久久| 午夜久久久影院| 国产成人av影院| 欧美在线免费观看亚洲| 精品91自产拍在线观看一区| 中文字幕中文字幕一区二区| 视频一区在线播放| 国产成人av一区二区三区在线| 欧洲亚洲国产日韩| 精品欧美一区二区三区精品久久| 国产精品乱人伦一区二区| 午夜精品久久久久久久久| 国产v日产∨综合v精品视频| 欧美日韩国产123区| 国产欧美一区二区三区在线看蜜臀 | 亚洲一区二区三区中文字幕 | 免费成人在线影院| 色综合久久88色综合天天6| 日韩视频不卡中文| 亚洲欧洲中文日韩久久av乱码| 蜜臀av性久久久久蜜臀av麻豆| 99久久精品一区| 26uuu精品一区二区三区四区在线| 亚洲精品日韩一| 国产东北露脸精品视频| 欧美一区国产二区| 一个色在线综合| 成人精品国产一区二区4080| 日韩欧美一区二区视频| 亚洲视频一二三| 成人一级片在线观看| 日韩精品专区在线| 日韩中文字幕亚洲一区二区va在线| 99国产精品久| 欧美国产欧美综合| 精品中文av资源站在线观看| 欧美日韩一区高清| 亚洲视频网在线直播| 国产精品99久久久久久有的能看| 日韩欧美国产系列| 亚洲二区在线视频| 97se亚洲国产综合自在线观| 国产午夜精品在线观看| 久久精品av麻豆的观看方式| 91精品国产综合久久久蜜臀粉嫩| 一区二区三区丝袜| 91在线视频18| 亚洲欧美一区二区三区久本道91| 92国产精品观看| 最近日韩中文字幕| 91亚洲精品一区二区乱码| 国产精品伦一区|