other.html.en revision 0cf3cdbaa1dad11cbf1ce32e48f1b4ec88cf779f
842ae4bd224140319ae7feec1872b93dfd491143fielding<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
842ae4bd224140319ae7feec1872b93dfd491143fielding<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
842ae4bd224140319ae7feec1872b93dfd491143fielding XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
842ae4bd224140319ae7feec1872b93dfd491143fielding This file is generated from xml source: DO NOT EDIT
842ae4bd224140319ae7feec1872b93dfd491143fielding XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd<link href="/images/favicon.ico" rel="shortcut icon" /></head>
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd<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>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.3</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>Other Programs</h1>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh<p><span>Available Languages: </span><a href="/en/programs/other.html" title="English"> en </a> |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh<a href="/ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh<a href="/tr/programs/other.html" hreflang="tr" rel="alternate" title="T�rk�e"> tr </a></p>
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb <p>The following programs are simple support programs included with the
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb Apache HTTP Server which do not have their own manual pages. They are not
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb installed automatically. You can find them after the configuration process
fe46444c8f32f00d040ebefa94bcd0c05ab15ab9martin<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#log_server_status">log_server_status</a></li>
64ff1949093e64474a00badd61a3495e35fa192daaron<li><img alt="" src="/images/down.gif" /> <a href="#split-logfile">split-logfile</a></li>
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb<h2><a name="log_server_status" id="log_server_status">log_server_status</a></h2>
52fc962d27921f20981eef91d6236e9024c604d7wrowe <p>This perl script is designed to be run at a frequent interval by
e00ae6859667e293a4c40108f524408ae1289f2frbb something like cron. It connects to the server and downloads the status
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb information. It reformats the information to a single line and logs it to
7d37dff338a52aa8836d78e4f1a67b76911da66caaron a file. Adjust the variables at the top of the script to specify the
7d37dff338a52aa8836d78e4f1a67b76911da66caaron location of the resulting logfile.</p>
7d37dff338a52aa8836d78e4f1a67b76911da66caaron</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp<h2><a name="split-logfile" id="split-logfile">split-logfile</a></h2>
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp <p>This perl script will take a combined Web server access log file and
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp break its contents into separate files. It assumes that the first field of
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp each line is the virtual host identity, put there using the "<code>%v</code>"
7d37dff338a52aa8836d78e4f1a67b76911da66caaron variable in <code class="directive"><a href="/mod/mod_log_config.html#logformat">LogFormat</a></code>.
e00ae6859667e293a4c40108f524408ae1289f2frbb LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
e00ae6859667e293a4c40108f524408ae1289f2frbb combined_plus_vhost<br />
64ff1949093e64474a00badd61a3495e35fa192daaron <p>Log files will be created, in the directory where are running the
8639a789ef8a4adec121d5b26b4d66c5cf8989ccjim script, for each virtual host name that appears in the combined log file.
8639a789ef8a4adec121d5b26b4d66c5cf8989ccjim These logfiles will named after the hostname, with a
64ff1949093e64474a00badd61a3495e35fa192daaron <p>The combined log file is read from stdin. Records read will be appended
64ff1949093e64474a00badd61a3495e35fa192daaron to any existing log files.</p>
e00ae6859667e293a4c40108f524408ae1289f2frbb <div class="example"><p><code>split-logfile < access_log</code></p></div>
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp<p><span>Available Languages: </span><a href="/en/programs/other.html" title="English"> en </a> |
e00ae6859667e293a4c40108f524408ae1289f2frbb<a href="/ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
6a5bdbbacf4a62adecde52b8f23ebcc4fa2a08b8trawick<a href="/tr/programs/other.html" hreflang="tr" rel="alternate" title="T�rk�e"> tr </a></p>
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb<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>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh<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>