
humbedooh at apache
Apr 25, 2012, 2:05 AM
Post #1 of 1
(27 views)
Permalink
|
|
svn commit: r1330163 - in /httpd/httpd/trunk/docs/manual/programs: log_server_status.html.en log_server_status.xml
|
|
Author: humbedooh Date: Wed Apr 25 09:05:39 2012 New Revision: 1330163 URL: http://svn.apache.org/viewvc?rev=1330163&view=rev Log: Highlight code Modified: httpd/httpd/trunk/docs/manual/programs/log_server_status.html.en httpd/httpd/trunk/docs/manual/programs/log_server_status.xml Modified: httpd/httpd/trunk/docs/manual/programs/log_server_status.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/programs/log_server_status.html.en?rev=1330163&r1=1330162&r2=1330163&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/programs/log_server_status.html.en (original) +++ httpd/httpd/trunk/docs/manual/programs/log_server_status.html.en Wed Apr 25 09:05:39 2012 @@ -40,12 +40,13 @@ <p>The script contains the following section.</p> -<div class="example"><pre> +<pre class="prettyprint lang-perl"> my $wherelog = "/usr/local/apache2/logs/"; # Logs will be like "/usr/local/apache2/logs/19960312" my $server = "localhost"; # Name of server, could be "www.foo.com" my $port = "80"; # Port on server my $request = "/server-status/?auto"; # Request to send -</pre></div> +</pre> + <p>You'll need to ensure that these variables have the correct values, and you'll need to have the <code>/server-status</code> handler Modified: httpd/httpd/trunk/docs/manual/programs/log_server_status.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/programs/log_server_status.xml?rev=1330163&r1=1330162&r2=1330163&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/programs/log_server_status.xml (original) +++ httpd/httpd/trunk/docs/manual/programs/log_server_status.xml Wed Apr 25 09:05:39 2012 @@ -39,14 +39,12 @@ <p>The script contains the following section.</p> -<example> -<pre> +<highlight language="perl"> my $wherelog = "/usr/local/apache2/logs/"; # Logs will be like "/usr/local/apache2/logs/19960312" my $server = "localhost"; # Name of server, could be "www.foo.com" my $port = "80"; # Port on server my $request = "/server-status/?auto"; # Request to send -</pre> -</example> +</highlight> <p>You'll need to ensure that these variables have the correct values, and you'll need to have the <code>/server-status</code> handler
|