switch to a 60 bit hash
[httpd-crcsyncproxy.git] / docs / manual / programs / other.html.en
blobfce7a07edfff5b87e018d900d47fa6cc3889f8f7
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7 -->
8 <title>Other Programs - Apache HTTP Server</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
13 <body id="manual-page"><div id="page-header">
14 <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>
15 <p class="apache">Apache HTTP Server Version 2.3</p>
16 <img alt="" src="../images/feather.gif" /></div>
17 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
18 <div id="path">
19 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.3</a> &gt; <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>Other Programs</h1>
20 <div class="toplang">
21 <p><span>Available Languages: </span><a href="../en/programs/other.html" title="English">&nbsp;en&nbsp;</a> |
22 <a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
23 <a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
24 </div>
26 <p>The following programs are simple support programs included with the
27 Apache HTTP Server which do not have their own manual pages. They are not
28 installed automatically. You can find them after the configuration process
29 in the <code>support/</code> directory.</p>
30 </div>
31 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#log_server_status">log_server_status</a></li>
32 <li><img alt="" src="../images/down.gif" /> <a href="#split-logfile">split-logfile</a></li>
33 </ul></div>
34 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
35 <div class="section">
36 <h2><a name="log_server_status" id="log_server_status">log_server_status</a></h2>
37 <p>This perl script is designed to be run at a frequent interval by
38 something like cron. It connects to the server and downloads the status
39 information. It reformats the information to a single line and logs it to
40 a file. Adjust the variables at the top of the script to specify the
41 location of the resulting logfile.</p>
42 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
43 <div class="section">
44 <h2><a name="split-logfile" id="split-logfile">split-logfile</a></h2>
45 <p>This perl script will take a combined Web server access log file and
46 break its contents into separate files. It assumes that the first field of
47 each line is the virtual host identity, put there using the "<code>%v</code>"
48 variable in <code class="directive"><a href="../mod/mod_log_config.html#logformat">LogFormat</a></code>.
49 </p>
51 <div class="example"><p><code>
52 LogFormat "%v %h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-agent}i\""
53 combined_plus_vhost<br />
54 CustomLog logs/access_log combined_plus_vhost
55 </code></p></div>
57 <p>Log files will be created, in the directory where are running the
58 script, for each virtual host name that appears in the combined log file.
59 These logfiles will named after the hostname, with a
60 <code>.log</code> file extension.</p>
62 <p>The combined log file is read from stdin. Records read will be appended
63 to any existing log files.</p>
65 <div class="example"><p><code>split-logfile &lt; access_log</code></p></div>
68 </div></div>
69 <div class="bottomlang">
70 <p><span>Available Languages: </span><a href="../en/programs/other.html" title="English">&nbsp;en&nbsp;</a> |
71 <a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
72 <a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
73 </div><div id="footer">
74 <p class="apache">Copyright 2009 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
75 <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>
76 </body></html>