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

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

?? logs.html.en

?? 最新apache的源代碼
?? EN
?? 第 1 頁 / 共 3 頁
字號:
        SetEnvIf Request_URI "^/robots\.txt$" dontlog<br />        # Log what remains<br />        CustomLog logs/access_log common env=!dontlog      </code></p></div>      <p>As another example, consider logging requests from      english-speakers to one log file, and non-english speakers to a      different log file.</p>      <div class="example"><p><code>        SetEnvIf Accept-Language "en" english<br />        CustomLog logs/english_log common env=english<br />        CustomLog logs/non_english_log common env=!english      </code></p></div>      <p>Although we have just shown that conditional logging is very      powerful and flexible, it is not the only way to control the      contents of the logs. Log files are more useful when they      contain a complete record of server activity. It is often      easier to simply post-process the log files to remove requests      that you do not want to consider.</p>      </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="rotation" id="rotation">Log Rotation</a></h2>        <p>On even a moderately busy server, the quantity of    information stored in the log files is very large. The access    log file typically grows 1 MB or more per 10,000 requests. It    will consequently be necessary to periodically rotate the log    files by moving or deleting the existing logs. This cannot be    done while the server is running, because Apache will continue    writing to the old log file as long as it holds the file open.    Instead, the server must be <a href="stopping.html">restarted</a> after the log files are    moved or deleted so that it will open new log files.</p>    <p>By using a <em>graceful</em> restart, the server can be    instructed to open new log files without losing any existing or    pending connections from clients. However, in order to    accomplish this, the server must continue to write to the old    log files while it finishes serving old requests. It is    therefore necessary to wait for some time after the restart    before doing any processing on the log files. A typical    scenario that simply rotates the logs and compresses the old    logs to save space is:</p>    <div class="example"><p><code>      mv access_log access_log.old<br />      mv error_log error_log.old<br />      apachectl graceful<br />      sleep 600<br />      gzip access_log.old error_log.old    </code></p></div>    <p>Another way to perform log rotation is using <a href="#piped">piped logs</a> as discussed in the next    section.</p>  </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="piped" id="piped">Piped Logs</a></h2>        <p>Apache httpd is capable of writing error and access log    files through a pipe to another process, rather than directly    to a file. This capability dramatically increases the    flexibility of logging, without adding code to the main server.    In order to write logs to a pipe, simply replace the filename    with the pipe character "<code>|</code>", followed by the name    of the executable which should accept log entries on its    standard input. Apache will start the piped-log process when    the server starts, and will restart it if it crashes while the    server is running. (This last feature is why we can refer to    this technique as "reliable piped logging".)</p>    <p>Piped log processes are spawned by the parent Apache httpd    process, and inherit the userid of that process. This means    that piped log programs usually run as root. It is therefore    very important to keep the programs simple and secure.</p>    <p>One important use of piped logs is to allow log rotation    without having to restart the server. The Apache HTTP Server    includes a simple program called <code class="program"><a href="./programs/rotatelogs.html">rotatelogs</a></code>    for this purpose. For example, to rotate the logs every 24 hours, you    can use:</p>    <div class="example"><p><code>      CustomLog "|/usr/local/apache/bin/rotatelogs      /var/log/access_log 86400" common    </code></p></div>    <p>Notice that quotes are used to enclose the entire command    that will be called for the pipe. Although these examples are    for the access log, the same technique can be used for the    error log.</p>    <p>A similar but much more flexible log rotation program    called <a href="http://www.cronolog.org/">cronolog</a>    is available at an external site.</p>    <p>As with conditional logging, piped logs are a very powerful    tool, but they should not be used where a simpler solution like    off-line post-processing is available.</p>  </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="virtualhost" id="virtualhost">Virtual Hosts</a></h2>        <p>When running a server with many <a href="vhosts/">virtual    hosts</a>, there are several options for dealing with log    files. First, it is possible to use logs exactly as in a    single-host server. Simply by placing the logging directives    outside the <code class="directive"><a href="./mod/core.html#virtualhost">&lt;VirtualHost&gt;</a></code> sections in the    main server context, it is possible to log all requests in the    same access log and error log. This technique does not allow    for easy collection of statistics on individual virtual    hosts.</p>    <p>If <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code>     or <code class="directive"><a href="./mod/core.html#errorlog">ErrorLog</a></code>    directives are placed inside a    <code class="directive"><a href="./mod/core.html#virtualhost">&lt;VirtualHost&gt;</a></code>    section, all requests or errors for that virtual host will be    logged only to the specified file. Any virtual host which does    not have logging directives will still have its requests sent    to the main server logs. This technique is very useful for a    small number of virtual hosts, but if the number of hosts is    very large, it can be complicated to manage. In addition, it    can often create problems with <a href="vhosts/fd-limits.html">insufficient file    descriptors</a>.</p>    <p>For the access log, there is a very good compromise. By    adding information on the virtual host to the log format    string, it is possible to log all hosts to the same log, and    later split the log into individual files. For example,    consider the following directives.</p>    <div class="example"><p><code>      LogFormat "%v %l %u %t \"%r\" %&gt;s %b"      comonvhost<br />      CustomLog logs/access_log comonvhost    </code></p></div>    <p>The <code>%v</code> is used to log the name of the virtual    host that is serving the request. Then a program like <a href="programs/other.html">split-logfile</a> can be used to    post-process the access log in order to split it into one file    per virtual host.</p>  </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="other" id="other">Other Log Files</a></h2>        <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewritelog">RewriteLog</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewriteloglevel">RewriteLogLevel</a></code></li><li><code class="directive"><a href="./mod/mod_cgi.html#scriptlog">ScriptLog</a></code></li><li><code class="directive"><a href="./mod/mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</a></code></li><li><code class="directive"><a href="./mod/mod_cgi.html#scriptloglength">ScriptLogLength</a></code></li></ul></td></tr></table>    <h3><a name="pidfile" id="pidfile">PID File</a></h3>            <p>On startup, Apache httpd saves the process id of the parent      httpd process to the file <code>logs/httpd.pid</code>. This      filename can be changed with the <code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code> directive. The      process-id is for use by the administrator in restarting and      terminating the daemon by sending signals to the parent      process; on Windows, use the -k command line option instead.      For more information see the <a href="stopping.html">Stopping      and Restarting</a> page.</p>            <h3><a name="scriptlog" id="scriptlog">Script Log</a></h3>            <p>In order to aid in debugging, the      <code class="directive"><a href="./mod/mod_cgi.html#scriptlog">ScriptLog</a></code> directive      allows you to record the input to and output from CGI scripts.      This should only be used in testing - not for live servers.      More information is available in the <a href="mod/mod_cgi.html">mod_cgi</a> documentation.</p>        <h3><a name="rewritelog" id="rewritelog">Rewrite Log</a></h3>            <p>When using the powerful and complex features of <a href="mod/mod_rewrite.html">mod_rewrite</a>, it is almost      always necessary to use the <code class="directive"><a href="./mod/mod_rewrite.html#rewritelog">RewriteLog</a></code> to help      in debugging. This log file produces a detailed analysis of how      the rewriting engine transforms requests. The level of detail      is controlled by the <code class="directive"><a href="./mod/mod_rewrite.html#rewriteloglevel">RewriteLogLevel</a></code> directive.</p>      </div></div><div class="bottomlang"><p><span>Available Languages: </span><a href="./en/logs.html" title="English">&nbsp;en&nbsp;</a> |<a href="./es/logs.html" hreflang="es" rel="alternate" title="Espa駉l">&nbsp;es&nbsp;</a> |<a href="./ja/logs.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |<a href="./ko/logs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p></div><div id="footer"><p class="apache">Copyright 1995-2005 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p><p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p></div></body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久国产精品免费| 日韩一区二区在线看| 欧美一级欧美一级在线播放| 国产午夜精品一区二区三区视频| 亚洲精品国产精华液| 国产伦理精品不卡| 日韩视频免费观看高清完整版 | 9191国产精品| 中文字幕第一区综合| 秋霞电影网一区二区| 在线亚洲人成电影网站色www| 久久精品综合网| 久久er精品视频| 91精品国产手机| 无吗不卡中文字幕| 91福利视频在线| 亚洲少妇30p| 成a人片国产精品| 精品国产三级电影在线观看| 亚洲v中文字幕| 91久久精品国产91性色tv| 国产精品人成在线观看免费 | 国产精品传媒入口麻豆| 国产在线精品一区二区三区不卡| 欧洲av在线精品| 亚洲欧洲日韩在线| 国产成人亚洲综合a∨婷婷| 日韩欧美黄色影院| 日本午夜一本久久久综合| 欧美影视一区在线| 亚洲男人电影天堂| 91免费观看视频在线| 最新不卡av在线| 99视频精品在线| 18成人在线视频| av资源站一区| 日韩理论片中文av| 99精品久久只有精品| 中文字幕五月欧美| 99综合影院在线| 综合av第一页| 色噜噜狠狠成人中文综合| 亚洲欧洲www| 91福利区一区二区三区| 亚洲一区二区三区四区在线免费观看 | 国产精品日产欧美久久久久| 懂色av一区二区三区免费观看| 久久蜜桃香蕉精品一区二区三区| 国产一区二区三区国产| 久久色在线观看| 国产乱码精品一区二区三区av| 久久久影院官网| 99久久国产综合精品麻豆| 亚洲图片你懂的| 在线视频你懂得一区| 亚洲高清三级视频| 日韩精品专区在线| 大胆欧美人体老妇| 亚洲一区二区精品视频| 欧美人xxxx| 国产91丝袜在线播放| 成人欧美一区二区三区白人 | 不卡视频在线观看| 亚洲一区二区三区四区不卡| 日韩欧美aaaaaa| 成人三级伦理片| 亚洲成va人在线观看| 精品1区2区在线观看| aaa亚洲精品| 免费人成在线不卡| 亚洲欧洲美洲综合色网| 91精品欧美久久久久久动漫| 国产麻豆日韩欧美久久| 亚洲影院在线观看| 精品久久久久一区| 91在线视频网址| 久久成人av少妇免费| 久久99日本精品| 国产精品高潮呻吟| 欧美一区二区三区日韩| 福利一区在线观看| 三级在线观看一区二区| 国产精品久久夜| 日韩精品在线网站| 欧美色综合久久| 成人一区二区三区视频在线观看 | 中文字幕中文字幕一区二区| 欧美一区在线视频| 91美女精品福利| 国产不卡视频一区| 看片网站欧美日韩| 亚洲国产日日夜夜| 国产精品福利一区| 久久久久久久电影| 3d动漫精品啪啪1区2区免费| 色综合天天综合网国产成人综合天| 麻豆专区一区二区三区四区五区| 中文字幕在线不卡国产视频| 久久久久国色av免费看影院| 欧美一区二区三区成人| 欧美性感一类影片在线播放| 岛国精品一区二区| 久草热8精品视频在线观看| 亚洲高清视频的网址| 一区二区三区中文字幕电影 | 欧美性色欧美a在线播放| 成人v精品蜜桃久久一区| 精品在线视频一区| 日韩成人av影视| 日日嗨av一区二区三区四区| 亚洲精品第一国产综合野| 中文字幕不卡在线观看| 久久久精品2019中文字幕之3| 欧美大片拔萝卜| 日韩美女主播在线视频一区二区三区| 欧美日韩免费一区二区三区 | 91精品国产福利| 欧美一区二区三区在线观看视频| 日本国产一区二区| 在线免费视频一区二区| 欧美亚洲免费在线一区| 欧美日韩国产另类一区| 九色|91porny| 国产一区二区三区av电影| 国产乱码精品一区二区三区忘忧草 | 激情久久五月天| 综合久久一区二区三区| 欧美一区二区日韩| 精品福利一二区| 久久久久久免费网| 国产精品77777| 成人国产电影网| 色偷偷久久一区二区三区| 99久久精品费精品国产一区二区| 北岛玲一区二区三区四区| a美女胸又www黄视频久久| 99国产欧美另类久久久精品| 日本高清视频一区二区| 538在线一区二区精品国产| 日韩精品一区在线| 国产欧美一区二区三区沐欲| |精品福利一区二区三区| 一区二区三区不卡在线观看| 免费观看久久久4p| 国产精品一区二区91| 成人高清免费在线播放| 欧美午夜不卡在线观看免费| 欧美一二三四在线| 国产亚洲污的网站| 亚洲欧洲韩国日本视频| 日韩av在线播放中文字幕| 国产精品一二三四区| 99精品欧美一区二区蜜桃免费| 精品久久五月天| 亚洲视频1区2区| 日韩国产高清影视| 成人国产电影网| 91.com视频| 国产精品伦一区| 日本中文字幕一区二区视频| 国产.欧美.日韩| 欧美日韩国产经典色站一区二区三区 | 中文字幕的久久| 亚洲高清免费视频| 国产99久久久国产精品潘金| 欧洲一区二区三区免费视频| 欧美大尺度电影在线| 亚洲视频一区在线| 久久99日本精品| 91极品视觉盛宴| 久久新电视剧免费观看| 亚洲一区二区三区四区在线免费观看 | 99精品视频在线观看免费| 日韩欧美国产小视频| 中文字幕一区在线| 另类小说色综合网站| 91久久线看在观草草青青| 久久嫩草精品久久久久| 五月综合激情网| 成人网页在线观看| 欧美不卡一二三| 一区二区三区在线免费播放| 国产999精品久久久久久| 日韩免费福利电影在线观看| 亚洲无人区一区| 色婷婷综合久久久中文一区二区| xnxx国产精品| 日日夜夜免费精品| 91激情在线视频| 亚洲日韩欧美一区二区在线| 欧美一三区三区四区免费在线看| 亚洲婷婷国产精品电影人久久| 成人精品小蝌蚪| 久久精品亚洲精品国产欧美| 日本视频免费一区| 777奇米成人网| 视频在线观看一区二区三区| 91成人在线精品| 亚洲国产一区视频| 欧美中文字幕不卡|