diff options
Diffstat (limited to 'docs')
30 files changed, 91 insertions, 91 deletions
diff --git a/docs/manual/env.html.en b/docs/manual/env.html.en index 659cdb52dc..6f424c763b 100644 --- a/docs/manual/env.html.en +++ b/docs/manual/env.html.en @@ -468,7 +468,7 @@ BrowserMatch "JDK/1\.0" force-response-1.0</pre> <pre class="prettyprint lang-config">SetEnvIf Request_URI \.gif image-request SetEnvIf Request_URI \.jpg image-request SetEnvIf Request_URI \.png image-request -CustomLog logs/access_log common env=!image-request</pre> +CustomLog "logs/access_log" common env=!image-request</pre> diff --git a/docs/manual/env.xml b/docs/manual/env.xml index 3cda1acc64..db8c204c7c 100644 --- a/docs/manual/env.xml +++ b/docs/manual/env.xml @@ -509,7 +509,7 @@ BrowserMatch "JDK/1\.0" force-response-1.0 SetEnvIf Request_URI \.gif image-request SetEnvIf Request_URI \.jpg image-request SetEnvIf Request_URI \.png image-request -CustomLog logs/access_log common env=!image-request +CustomLog "logs/access_log" common env=!image-request </highlight> </section> diff --git a/docs/manual/logs.html.en b/docs/manual/logs.html.en index 4c4c58dd73..21b6e2413f 100644 --- a/docs/manual/logs.html.en +++ b/docs/manual/logs.html.en @@ -218,7 +218,7 @@ follows.</p> <pre class="prettyprint lang-config">LogFormat "%h %l %u %t \"%r\" %>s %b" common -CustomLog logs/access_log common</pre> +CustomLog "logs/access_log" common</pre> <p>This defines the <em>nickname</em> <code>common</code> and @@ -359,7 +359,7 @@ CustomLog logs/access_log common</pre> Log Format. It can be used as follows.</p> <pre class="prettyprint lang-config">LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined -CustomLog log/access_log combined</pre> +CustomLog "log/access_log" combined</pre> <p>This format is exactly the same as the Common Log Format, @@ -409,9 +409,9 @@ CustomLog log/access_log combined</pre> to mimic the effects of the <code>ReferLog</code> and <code>AgentLog</code> directives.</p> <pre class="prettyprint lang-config">LogFormat "%h %l %u %t \"%r\" %>s %b" common -CustomLog logs/access_log common -CustomLog logs/referer_log "%{Referer}i -> %U" -CustomLog logs/agent_log "%{User-agent}i"</pre> +CustomLog "logs/access_log" common +CustomLog "logs/referer_log" "%{Referer}i -> %U" +CustomLog "logs/agent_log" "%{User-agent}i"</pre> <p>This example also shows that it is not necessary to define a @@ -437,16 +437,16 @@ SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog # Mark requests for the robots.txt file SetEnvIf Request_URI "^/robots\.txt$" dontlog # Log what remains -CustomLog logs/access_log common env=!dontlog</pre> +CustomLog "logs/access_log" common env=!dontlog</pre> <p>As another example, consider logging requests from english-speakers to one log file, and non-english speakers to a different log file.</p> - <pre class="prettyprint lang-config"> SetEnvIf Accept-Language "en" english<br /> - CustomLog logs/english_log common env=english<br /> - CustomLog logs/non_english_log common env=!english</pre> + <pre class="prettyprint lang-config">SetEnvIf Accept-Language "en" english<br /> +CustomLog "logs/english_log" common env=english<br /> +CustomLog "logs/non_english_log" common env=!english</pre> <p>In a caching scenario one would want to know about @@ -455,7 +455,7 @@ CustomLog logs/access_log common env=!dontlog</pre> <pre class="prettyprint lang-config">SetEnv CACHE_MISS 1 LogFormat "%h %l %u %t "%r " %>s %b %{CACHE_MISS}e" common-cache -CustomLog logs/access_log common-cache</pre> +CustomLog "logs/access_log" common-cache</pre> <p><code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code> will run before @@ -621,7 +621,7 @@ CustomLog "|$/usr/local/apache/bin/rotatelogs /var/log/access_log 86400" commo consider the following directives.</p> <pre class="prettyprint lang-config">LogFormat "%v %l %u %t \"%r\" %>s %b" comonvhost -CustomLog logs/access_log comonvhost</pre> +CustomLog "logs/access_log" comonvhost</pre> <p>The <code>%v</code> is used to log the name of the virtual diff --git a/docs/manual/logs.xml b/docs/manual/logs.xml index da135778b3..3552837253 100644 --- a/docs/manual/logs.xml +++ b/docs/manual/logs.xml @@ -237,7 +237,7 @@ <highlight language="config"> LogFormat "%h %l %u %t \"%r\" %>s %b" common -CustomLog logs/access_log common +CustomLog "logs/access_log" common </highlight> <p>This defines the <em>nickname</em> <code>common</code> and @@ -383,7 +383,7 @@ CustomLog logs/access_log common <highlight language="config"> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined -CustomLog log/access_log combined +CustomLog "log/access_log" combined </highlight> <p>This format is exactly the same as the Common Log Format, @@ -436,9 +436,9 @@ CustomLog log/access_log combined <highlight language="config"> LogFormat "%h %l %u %t \"%r\" %>s %b" common -CustomLog logs/access_log common -CustomLog logs/referer_log "%{Referer}i -> %U" -CustomLog logs/agent_log "%{User-agent}i" +CustomLog "logs/access_log" common +CustomLog "logs/referer_log" "%{Referer}i -> %U" +CustomLog "logs/agent_log" "%{User-agent}i" </highlight> <p>This example also shows that it is not necessary to define a @@ -469,7 +469,7 @@ SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog # Mark requests for the robots.txt file SetEnvIf Request_URI "^/robots\.txt$" dontlog # Log what remains -CustomLog logs/access_log common env=!dontlog +CustomLog "logs/access_log" common env=!dontlog </highlight> <p>As another example, consider logging requests from @@ -477,9 +477,9 @@ CustomLog logs/access_log common env=!dontlog different log file.</p> <highlight language="config"> - SetEnvIf Accept-Language "en" english<br /> - CustomLog logs/english_log common env=english<br /> - CustomLog logs/non_english_log common env=!english +SetEnvIf Accept-Language "en" english<br /> +CustomLog "logs/english_log" common env=english<br /> +CustomLog "logs/non_english_log" common env=!english </highlight> <p>In a caching scenario one would want to know about @@ -489,7 +489,7 @@ CustomLog logs/access_log common env=!dontlog <highlight language="config"> SetEnv CACHE_MISS 1 LogFormat "%h %l %u %t "%r " %>s %b %{CACHE_MISS}e" common-cache -CustomLog logs/access_log common-cache +CustomLog "logs/access_log" common-cache </highlight> <p><module>mod_cache</module> will run before @@ -586,7 +586,7 @@ LogFormat "%!200,304,302{Referer}i" refererlog can use:</p> <highlight language="config"> - CustomLog "|/usr/local/apache/bin/rotatelogs /var/log/access_log 86400" common +CustomLog "|/usr/local/apache/bin/rotatelogs /var/log/access_log 86400" common </highlight> <p>Notice that quotes are used to enclose the entire command @@ -664,7 +664,7 @@ CustomLog "|$/usr/local/apache/bin/rotatelogs /var/log/access_log 86400" commo <highlight language="config"> LogFormat "%v %l %u %t \"%r\" %>s %b" comonvhost -CustomLog logs/access_log comonvhost +CustomLog "logs/access_log" comonvhost </highlight> <p>The <code>%v</code> is used to log the name of the virtual diff --git a/docs/manual/misc/perf-scaling.html.en b/docs/manual/misc/perf-scaling.html.en index b855f8ce74..dcb35bc51e 100644 --- a/docs/manual/misc/perf-scaling.html.en +++ b/docs/manual/misc/perf-scaling.html.en @@ -620,8 +620,8 @@ Swap: 3903784 12540 3891244</pre></div> a pipe character (<code>|</code>). For instance: </p> - <div class="example"><p><code>CustomLog "|/usr/local/apache2/bin/rotatelogs - /var/log/access_log 86400" common + <div class="example"><p><code> +CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common </code></p></div> <p>The program on the other end of the pipe will receive the @@ -1295,9 +1295,9 @@ Swap: 3903784 12540 3891244</pre></div> </Directory> RewriteLog "/home/sctemme/inst/blog/httpd/logs/rewrite_log" RewriteLogLevel 9 - ErrorLog /home/sctemme/inst/blog/httpd/logs/error_log + ErrorLog "/home/sctemme/inst/blog/httpd/logs/error_log" LogLevel debug - CustomLog /home/sctemme/inst/blog/httpd/logs/access_log common + CustomLog "/home/sctemme/inst/blog/httpd/logs/access_log" common ScriptAlias "/cgi-bin/" "/home/sctemme/inst/blog/bin/" <Directory "/home/sctemme/inst/blog/bin"> Options +ExecCGI diff --git a/docs/manual/misc/perf-scaling.xml b/docs/manual/misc/perf-scaling.xml index 701b8321bb..08792d3522 100644 --- a/docs/manual/misc/perf-scaling.xml +++ b/docs/manual/misc/perf-scaling.xml @@ -619,8 +619,8 @@ Swap: 3903784 12540 3891244 a pipe character (<code>|</code>). For instance: </p> - <example>CustomLog "|/usr/local/apache2/bin/rotatelogs - /var/log/access_log 86400" common + <example> +CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common </example> <p>The program on the other end of the pipe will receive the @@ -1294,9 +1294,9 @@ Listen *:8001 </Directory> RewriteLog "/home/sctemme/inst/blog/httpd/logs/rewrite_log" RewriteLogLevel 9 - ErrorLog /home/sctemme/inst/blog/httpd/logs/error_log + ErrorLog "/home/sctemme/inst/blog/httpd/logs/error_log" LogLevel debug - CustomLog /home/sctemme/inst/blog/httpd/logs/access_log common + CustomLog "/home/sctemme/inst/blog/httpd/logs/access_log" common ScriptAlias "/cgi-bin/" "/home/sctemme/inst/blog/bin/" <Directory "/home/sctemme/inst/blog/bin"> Options +ExecCGI diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 7ff7cc614c..2efebcf463 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -4540,8 +4540,8 @@ hostname or IP address</td></tr> ServerAdmin webmaster@host.example.com DocumentRoot "/www/docs/host.example.com" ServerName host.example.com - ErrorLog logs/host.example.com-error_log - TransferLog logs/host.example.com-access_log + ErrorLog "logs/host.example.com-error_log" + TransferLog "logs/host.example.com-access_log" </VirtualHost></pre> @@ -4554,8 +4554,8 @@ hostname or IP address</td></tr> ServerAdmin webmaster@host.example.com DocumentRoot "/www/docs/host.example.com" ServerName host.example.com - ErrorLog logs/host.example.com-error_log - TransferLog logs/host.example.com-access_log + ErrorLog "logs/host.example.com-error_log" + TransferLog "logs/host.example.com-access_log" </VirtualHost></pre> diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index f8fd4933c2..da9be22cb2 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -4553,8 +4553,8 @@ hostname or IP address</description> ServerAdmin webmaster@host.example.com DocumentRoot "/www/docs/host.example.com" ServerName host.example.com - ErrorLog logs/host.example.com-error_log - TransferLog logs/host.example.com-access_log + ErrorLog "logs/host.example.com-error_log" + TransferLog "logs/host.example.com-access_log" </VirtualHost> </highlight> @@ -4568,8 +4568,8 @@ hostname or IP address</description> ServerAdmin webmaster@host.example.com DocumentRoot "/www/docs/host.example.com" ServerName host.example.com - ErrorLog logs/host.example.com-error_log - TransferLog logs/host.example.com-access_log + ErrorLog "logs/host.example.com-error_log" + TransferLog "logs/host.example.com-access_log" </VirtualHost> </highlight> diff --git a/docs/manual/mod/mod_cache.html.en b/docs/manual/mod/mod_cache.html.en index 71a1122396..c67690eaf4 100644 --- a/docs/manual/mod/mod_cache.html.en +++ b/docs/manual/mod/mod_cache.html.en @@ -337,10 +337,10 @@ AddOutputFilterByType INCLUDES;CACHE;DEFLATE text/html</pre> <p>This makes it possible to support conditional logging of cached requests as per the following example:</p> - <pre class="prettyprint lang-config">CustomLog cached-requests.log common env=cache-hit -CustomLog uncached-requests.log common env=cache-miss -CustomLog revalidated-requests.log common env=cache-revalidate -CustomLog invalidated-requests.log common env=cache-invalidate</pre> + <pre class="prettyprint lang-config">CustomLog "cached-requests.log" common env=cache-hit +CustomLog "uncached-requests.log" common env=cache-miss +CustomLog "revalidated-requests.log" common env=cache-revalidate +CustomLog "invalidated-requests.log" common env=cache-invalidate</pre> <p>For module authors, a hook called <var>cache_status</var> is available, diff --git a/docs/manual/mod/mod_cache.xml b/docs/manual/mod/mod_cache.xml index 8afde7fc0d..4f68feca86 100644 --- a/docs/manual/mod/mod_cache.xml +++ b/docs/manual/mod/mod_cache.xml @@ -327,10 +327,10 @@ AddOutputFilterByType INCLUDES;CACHE;DEFLATE text/html as per the following example:</p> <highlight language="config"> -CustomLog cached-requests.log common env=cache-hit -CustomLog uncached-requests.log common env=cache-miss -CustomLog revalidated-requests.log common env=cache-revalidate -CustomLog invalidated-requests.log common env=cache-invalidate +CustomLog "cached-requests.log" common env=cache-hit +CustomLog "uncached-requests.log" common env=cache-miss +CustomLog "revalidated-requests.log" common env=cache-revalidate +CustomLog "invalidated-requests.log" common env=cache-invalidate </highlight> <p>For module authors, a hook called <var>cache_status</var> is available, diff --git a/docs/manual/mod/mod_deflate.html.en b/docs/manual/mod/mod_deflate.html.en index 6a1b064b12..eea05440dd 100644 --- a/docs/manual/mod/mod_deflate.html.en +++ b/docs/manual/mod/mod_deflate.html.en @@ -310,7 +310,7 @@ content</a></h2> <div class="example"><h3>Example</h3><pre class="prettyprint lang-config"> DeflateFilterNote ratio LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate - CustomLog logs/deflate_log deflate</pre> + CustomLog "logs/deflate_log" deflate</pre> </div> <p>If you want to extract more accurate values from your logs, you @@ -337,7 +337,7 @@ DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate -CustomLog logs/deflate_log deflate</pre> +CustomLog "logs/deflate_log" deflate</pre> </div> <h3>See also</h3> diff --git a/docs/manual/mod/mod_deflate.xml b/docs/manual/mod/mod_deflate.xml index 49749bac6e..37fc18e956 100644 --- a/docs/manual/mod/mod_deflate.xml +++ b/docs/manual/mod/mod_deflate.xml @@ -240,7 +240,7 @@ content</title> DeflateFilterNote ratio LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate - CustomLog logs/deflate_log deflate + CustomLog "logs/deflate_log" deflate </highlight> </example> @@ -270,7 +270,7 @@ DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate -CustomLog logs/deflate_log deflate +CustomLog "logs/deflate_log" deflate </highlight> </example> </usage> diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en index 333c3b49e8..7f5765882b 100644 --- a/docs/manual/mod/mod_log_config.html.en +++ b/docs/manual/mod/mod_log_config.html.en @@ -433,10 +433,10 @@ expr=<var>expression</var>]</code></td></tr> <pre class="prettyprint lang-config"># CustomLog with format nickname LogFormat "%h %l %u %t \"%r\" %>s %b" common -CustomLog logs/access_log common +CustomLog "logs/access_log" common # CustomLog with explicit format string -CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b"</pre> +CustomLog "logs/access_log" "%h %l %u %t \"%r\" %>s %b"</pre> <p>The third argument is optional and controls whether or @@ -456,15 +456,15 @@ CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b"</pre> log, you can use:</p> <pre class="prettyprint lang-config">SetEnvIf Request_URI \.gif$ gif-image -CustomLog gif-requests.log common env=gif-image -CustomLog nongif-requests.log common env=!gif-image</pre> +CustomLog "gif-requests.log" common env=gif-image +CustomLog "nongif-requests.log" common env=!gif-image</pre> <p>Or, to reproduce the behavior of the old RefererIgnore directive, you might use the following:</p> <pre class="prettyprint lang-config">SetEnvIf Referer example\.com localreferer -CustomLog referer.log referer env=!localreferer</pre> +CustomLog "referer.log" referer env=!localreferer</pre> </div> @@ -532,7 +532,7 @@ CustomLog referer.log referer env=!localreferer</pre> other format has been specified.</p> <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" -TransferLog logs/access_log</pre> +TransferLog "logs/access_log"</pre> </div> </div> diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml index ea097a6c4c..f40fb0b68c 100644 --- a/docs/manual/mod/mod_log_config.xml +++ b/docs/manual/mod/mod_log_config.xml @@ -471,10 +471,10 @@ expr=<var>expression</var>]</syntax> <highlight language="config"> # CustomLog with format nickname LogFormat "%h %l %u %t \"%r\" %>s %b" common -CustomLog logs/access_log common +CustomLog "logs/access_log" common # CustomLog with explicit format string -CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b" +CustomLog "logs/access_log" "%h %l %u %t \"%r\" %>s %b" </highlight> <p>The third argument is optional and controls whether or @@ -496,8 +496,8 @@ CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b" <highlight language="config"> SetEnvIf Request_URI \.gif$ gif-image -CustomLog gif-requests.log common env=gif-image -CustomLog nongif-requests.log common env=!gif-image +CustomLog "gif-requests.log" common env=gif-image +CustomLog "nongif-requests.log" common env=!gif-image </highlight> <p>Or, to reproduce the behavior of the old RefererIgnore @@ -505,7 +505,7 @@ CustomLog nongif-requests.log common env=!gif-image <highlight language="config"> SetEnvIf Referer example\.com localreferer -CustomLog referer.log referer env=!localreferer +CustomLog "referer.log" referer env=!localreferer </highlight> </usage> </directivesynopsis> @@ -578,7 +578,7 @@ CustomLog referer.log referer env=!localreferer <example><title>Example</title> <highlight language="config"> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" -TransferLog logs/access_log +TransferLog "logs/access_log" </highlight> </example> </usage> diff --git a/docs/manual/mod/mod_macro.html.en b/docs/manual/mod/mod_macro.html.en index e184ba4e87..beb892ba5e 100644 --- a/docs/manual/mod/mod_macro.html.en +++ b/docs/manual/mod/mod_macro.html.en @@ -70,8 +70,8 @@ multiple similar virtual hosts:</p> ServerAlias www.$domain DocumentRoot "/var/www/vhosts/$name" - ErrorLog /var/log/httpd/$name.error_log - CustomLog /var/log/httpd/$name.access_log combined + ErrorLog "/var/log/httpd/$name.error_log" + CustomLog "/var/log/httpd/$name.access_log" combined </VirtualHost> </Macro></pre> diff --git a/docs/manual/mod/mod_macro.xml b/docs/manual/mod/mod_macro.xml index 471b7c1d4f..a555e4af9f 100644 --- a/docs/manual/mod/mod_macro.xml +++ b/docs/manual/mod/mod_macro.xml @@ -56,8 +56,8 @@ multiple similar virtual hosts:</p> ServerAlias www.$domain DocumentRoot "/var/www/vhosts/$name" - ErrorLog /var/log/httpd/$name.error_log - CustomLog /var/log/httpd/$name.access_log combined + ErrorLog "/var/log/httpd/$name.error_log" + CustomLog "/var/log/httpd/$name.access_log" combined </VirtualHost> </Macro> </highlight> diff --git a/docs/manual/mod/mod_ssl.html.en b/docs/manual/mod/mod_ssl.html.en index 7c2e8bd8ce..8f454e7756 100644 --- a/docs/manual/mod/mod_ssl.html.en +++ b/docs/manual/mod/mod_ssl.html.en @@ -254,7 +254,7 @@ you find in the above table.</p> For backward compatibility there is additionally a special ``<code>%{</code><em>name</em><code>}c</code>'' cryptography format function provided. Information about this function is provided in the <a href="../ssl/ssl_compat.html">Compatibility</a> chapter.</p> -<div class="example"><h3>Example</h3><pre class="prettyprint lang-config">CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"</pre> +<div class="example"><h3>Example</h3><pre class="prettyprint lang-config">CustomLog "logs/ssl_request_log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"</pre> </div> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> diff --git a/docs/manual/mod/mod_ssl.xml b/docs/manual/mod/mod_ssl.xml index 1ebf1cbad6..82d0517aca 100644 --- a/docs/manual/mod/mod_ssl.xml +++ b/docs/manual/mod/mod_ssl.xml @@ -178,7 +178,7 @@ provided. Information about this function is provided in the <a href="../ssl/ssl_compat.html">Compatibility</a> chapter.</p> <example><title>Example</title> <highlight language="config"> -CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" +CustomLog "logs/ssl_request_log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </highlight> </example> </section> diff --git a/docs/manual/mod/mod_usertrack.html.en b/docs/manual/mod/mod_usertrack.html.en index a3a258a6cd..ae38304047 100644 --- a/docs/manual/mod/mod_usertrack.html.en +++ b/docs/manual/mod/mod_usertrack.html.en @@ -58,7 +58,7 @@ via <code class="module"><a href="../mod/mod_log_config.html">mod_log_config</a></code> configurable logging formats:</p> <pre class="prettyprint lang-config">LogFormat "%{Apache}n %r %t" usertrack -CustomLog logs/clickstream.log usertrack</pre> +CustomLog "logs/clickstream.log" usertrack</pre> </div> diff --git a/docs/manual/mod/mod_usertrack.xml b/docs/manual/mod/mod_usertrack.xml index acaf6b3be8..c85294c838 100644 --- a/docs/manual/mod/mod_usertrack.xml +++ b/docs/manual/mod/mod_usertrack.xml @@ -43,7 +43,7 @@ <highlight language="config"> LogFormat "%{Apache}n %r %t" usertrack -CustomLog logs/clickstream.log usertrack +CustomLog "logs/clickstream.log" usertrack </highlight> </section> diff --git a/docs/manual/programs/split-logfile.html.en b/docs/manual/programs/split-logfile.html.en index 57dc5cc5cb..6635623a21 100644 --- a/docs/manual/programs/split-logfile.html.en +++ b/docs/manual/programs/split-logfile.html.en @@ -37,7 +37,7 @@ <p>Create a log file with virtual host information in it:</p> <pre class="prettyprint lang-config">LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined_plus_vhost -CustomLog logs/access_log combined_plus_vhost</pre> +CustomLog "logs/access_log" combined_plus_vhost</pre> <p>Log files will be created, in the directory where you run the diff --git a/docs/manual/programs/split-logfile.xml b/docs/manual/programs/split-logfile.xml index 63f8f8a43e..2e44c51b67 100644 --- a/docs/manual/programs/split-logfile.xml +++ b/docs/manual/programs/split-logfile.xml @@ -39,7 +39,7 @@ <highlight language="config"> LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined_plus_vhost -CustomLog logs/access_log combined_plus_vhost +CustomLog "logs/access_log" combined_plus_vhost </highlight> <p>Log files will be created, in the directory where you run the diff --git a/docs/manual/rewrite/flags.html.en b/docs/manual/rewrite/flags.html.en index e0f65fc9d5..d1090ffcd2 100644 --- a/docs/manual/rewrite/flags.html.en +++ b/docs/manual/rewrite/flags.html.en @@ -273,7 +273,7 @@ environment variable is used to exclude those requests from the access log.</p> <pre class="prettyprint lang-config">RewriteRule "\.(png|gif|jpg)$" "-" [E=image:1] -CustomLog logs/access_log combined env=!image</pre> +CustomLog "logs/access_log" combined env=!image</pre> <p>Note that this same effect can be obtained using <code class="directive"><a href="../mod/mod_setenvif.html#setenvif">SetEnvIf</a></code>. This technique is offered as diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index b3bccb2584..58eaae5e00 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -268,7 +268,7 @@ log.</p> <highlight language="config"> RewriteRule "\.(png|gif|jpg)$" "-" [E=image:1] -CustomLog logs/access_log combined env=!image +CustomLog "logs/access_log" combined env=!image </highlight> <p>Note that this same effect can be obtained using <directive diff --git a/docs/manual/rewrite/vhosts.html.en b/docs/manual/rewrite/vhosts.html.en index 8ad14c9eb0..c52196a7ae 100644 --- a/docs/manual/rewrite/vhosts.html.en +++ b/docs/manual/rewrite/vhosts.html.en @@ -126,7 +126,7 @@ UseCanonicalName Off # splittable logs LogFormat "%{Host}i %h %l %u %t \"%r\" %s %b" vcommon -CustomLog logs/access_log vcommon +CustomLog "logs/access_log" vcommon <Directory "/www/hosts"> # ExecCGI is needed here because we can't force diff --git a/docs/manual/rewrite/vhosts.xml b/docs/manual/rewrite/vhosts.xml index 1cea3de087..757cc83aa1 100644 --- a/docs/manual/rewrite/vhosts.xml +++ b/docs/manual/rewrite/vhosts.xml @@ -135,7 +135,7 @@ UseCanonicalName Off # splittable logs LogFormat "%{Host}i %h %l %u %t \"%r\" %s %b" vcommon -CustomLog logs/access_log vcommon +CustomLog "logs/access_log" vcommon <Directory "/www/hosts"> # ExecCGI is needed here because we can't force diff --git a/docs/manual/vhosts/fd-limits.html.en b/docs/manual/vhosts/fd-limits.html.en index 4b27cd4185..3de5259575 100644 --- a/docs/manual/vhosts/fd-limits.html.en +++ b/docs/manual/vhosts/fd-limits.html.en @@ -95,7 +95,7 @@ directive, and the <code>%v</code> variable. Add this to the beginning of your log format string:</p> <pre class="prettyprint lang-config">LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost -CustomLog logs/multiple_vhost_log vhost</pre> +CustomLog "logs/multiple_vhost_log" vhost</pre> <p>This will create a log file in the common log format, but with the diff --git a/docs/manual/vhosts/fd-limits.xml b/docs/manual/vhosts/fd-limits.xml index 56c78c24b7..01091ee2ec 100644 --- a/docs/manual/vhosts/fd-limits.xml +++ b/docs/manual/vhosts/fd-limits.xml @@ -93,7 +93,7 @@ of your log format string:</p> <highlight language="config"> LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost -CustomLog logs/multiple_vhost_log vhost +CustomLog "logs/multiple_vhost_log" vhost </highlight> <p>This will create a log file in the common log format, but with the diff --git a/docs/manual/vhosts/mass.html.en b/docs/manual/vhosts/mass.html.en index 1b98c65211..d021778b1d 100644 --- a/docs/manual/vhosts/mass.html.en +++ b/docs/manual/vhosts/mass.html.en @@ -163,7 +163,7 @@ UseCanonicalName Off # this log format can be split per-virtual-host based on the first field # using the split-logfile utility. LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon -CustomLog logs/access_log vcommon +CustomLog "logs/access_log" vcommon # include the server name in the filenames used to satisfy requests VirtualDocumentRoot "/www/hosts/%0/docs" @@ -196,7 +196,7 @@ examples.</p> <pre class="prettyprint lang-config">UseCanonicalName Off LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon -CustomLog logs/access_log vcommon +CustomLog "logs/access_log" vcommon # include part of the server name in the filenames VirtualDocumentRoot "/home/%2/www" @@ -240,7 +240,7 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon <VirtualHost 111.22.33.44> ServerName www.commercial.example.com - CustomLog logs/access_log.commercial vcommon + CustomLog "logs/access_log.commercial" vcommon VirtualDocumentRoot "/www/commercial/%0/docs" VirtualScriptAlias "/www/commercial/%0/cgi-bin" @@ -249,7 +249,7 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon <VirtualHost 111.22.33.45> ServerName www.homepages.example.com - CustomLog logs/access_log.homepages vcommon + CustomLog "logs/access_log.homepages" vcommon VirtualDocumentRoot "/www/homepages/%0/docs" ScriptAlias "/cgi-bin/" "/www/std-cgi/" @@ -284,7 +284,7 @@ UseCanonicalName DNS # include the IP address in the logs so they may be split LogFormat "%A %h %l %u %t \"%r\" %s %b" vcommon -CustomLog logs/access_log vcommon +CustomLog "logs/access_log" vcommon # include the IP address in the filenames VirtualDocumentRootIP "/www/hosts/%0/docs" diff --git a/docs/manual/vhosts/mass.xml b/docs/manual/vhosts/mass.xml index ea52263c2f..3c7c7db048 100644 --- a/docs/manual/vhosts/mass.xml +++ b/docs/manual/vhosts/mass.xml @@ -154,7 +154,7 @@ UseCanonicalName Off # this log format can be split per-virtual-host based on the first field # using the split-logfile utility. LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon -CustomLog logs/access_log vcommon +CustomLog "logs/access_log" vcommon # include the server name in the filenames used to satisfy requests VirtualDocumentRoot "/www/hosts/%0/docs" @@ -188,7 +188,7 @@ examples.</p> UseCanonicalName Off LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon -CustomLog logs/access_log vcommon +CustomLog "logs/access_log" vcommon # include part of the server name in the filenames VirtualDocumentRoot "/home/%2/www" @@ -233,7 +233,7 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon <VirtualHost 111.22.33.44> ServerName www.commercial.example.com - CustomLog logs/access_log.commercial vcommon + CustomLog "logs/access_log.commercial" vcommon VirtualDocumentRoot "/www/commercial/%0/docs" VirtualScriptAlias "/www/commercial/%0/cgi-bin" @@ -242,7 +242,7 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon <VirtualHost 111.22.33.45> ServerName www.homepages.example.com - CustomLog logs/access_log.homepages vcommon + CustomLog "logs/access_log.homepages" vcommon VirtualDocumentRoot "/www/homepages/%0/docs" ScriptAlias "/cgi-bin/" "/www/std-cgi/" @@ -278,7 +278,7 @@ UseCanonicalName DNS # include the IP address in the logs so they may be split LogFormat "%A %h %l %u %t \"%r\" %s %b" vcommon -CustomLog logs/access_log vcommon +CustomLog "logs/access_log" vcommon # include the IP address in the filenames VirtualDocumentRootIP "/www/hosts/%0/docs" |