]> granicus.if.org Git - apache/commitdiff
Highlight code
authorDaniel Gruno <humbedooh@apache.org>
Wed, 25 Apr 2012 09:05:39 +0000 (09:05 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 25 Apr 2012 09:05:39 +0000 (09:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330163 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/programs/log_server_status.html.en
docs/manual/programs/log_server_status.xml

index 308470919946883059274d233798f1aab564be8f..5b2002c716a2648f574f688702894137e1478d44 100644 (file)
 \r
 <p>The script contains the following section.</p>\r
 \r
-<div class="example"><pre>\r
+<pre class="prettyprint lang-perl">\r
 my $wherelog = "/usr/local/apache2/logs/";  # Logs will be like "/usr/local/apache2/logs/19960312"\r
 my $server   = "localhost";        # Name of server, could be "www.foo.com"\r
 my $port     = "80";               # Port on server\r
 my $request = "/server-status/?auto";    # Request to send\r
-</pre></div>\r
+</pre>\r
+\r
 \r
 <p>You'll need to ensure that these variables have the correct values,\r
 and you'll need to have the <code>/server-status</code> handler\r
index 269c9db64a9339aa647258243f3c8608643e9ba4..db531ab99ae8479ff0f36429ab83c3757143c4e2 100644 (file)
 
 <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