]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for Apache configuration directives from bug 174255 and
authormbarnson%sisna.com <>
Fri, 4 Apr 2008 11:46:13 +0000 (11:46 +0000)
committermbarnson%sisna.com <>
Fri, 4 Apr 2008 11:46:13 +0000 (11:46 +0000)
de-stupidifying of emacs destruction of <programlisting> tags.

docs/en/xml/installation.xml

index 76b3eb87aefc3969112476b6eab46e740b91d22a..0af9c4bf6ee96b3f56f425dd6859564dee8ab946 100644 (file)
       </note>
       </para>
 
-      <para>You'll want to make sure that your web server will run any file
-      with the .cgi extension as a CGI and not just display it. If you're
+      <para>You'll want to make sure that your web server will <emphasis>run</emphasis>
+      any file
+      with the .cgi extension as a CGI program and not simply display the source
+      code. If you're
       using Apache that means uncommenting the following line in the httpd.conf
       file: 
-      <programlisting>AddHandler cgi-script .cgi</programlisting>
+      <programlisting>
+AddHandler cgi-script .cgi
+      </programlisting>
       </para>
 
       <para>With Apache you'll also want to make sure that within the
-      httpd.conf file the line: 
-      <programlisting>Options ExecCGI AllowOverride Limit</programlisting>
+      httpd.conf file these lines: 
+      <programlisting><![CDATA[
+Options +ExecCGI 
+AllowOverride Limit
+]]></programlisting>
 
-      is in the stanza that covers the directories into which you intend to
+      are in the stanza that covers the directories into which you intend to
       put the bugzilla .html and .cgi files.
 
         <note>
           .htaccess file generated by checksetup.pl</para>
 
           <para>Users of older versions of Apache may find the above lines 
-          in the srm.conf and access.conf files, respecitvely.</para>
+          in the srm.conf and access.conf files, respectively.</para>
         </note>
       </para>
       
       </para>
       
       <para> 
-        <programlisting>perl -pi -e
-        's@#\!/usr/bonsaitools/bin/perl@#\!/usr/bin/perl@' *cgi *pl Bug.pm
-        processmail syncshadowdb</programlisting>
+        <programlisting>
+perl -pi -e 's@#\!/usr/bonsaitools/bin/perl@#\!/usr/bin/perl@' *cgi *pl Bug.pm processmail syncshadowdb
+        </programlisting>
 
         Change <filename>/usr/bin/perl</filename> to match the location
         of Perl on your machine.
         <para>Depending on your system, crontab may have several manpages.
         The following command should lead you to the most useful page for
         this purpose: 
-        <programlisting>man 5 crontab</programlisting>
+        <programlisting>
+man 5 crontab
+       </programlisting>
         </para>
       </tip>
     </section>
       you understand what the script is doing before executing it.</para>
 
       <para>
-        <programlisting>bash# perl -pi -e "s/Content-Type\: text\/html/Content-Type\: text\/html\; charset=ISO-8859-1/i" *.cgi *.pl
+        <programlisting>
+bash# perl -pi -e "s/Content-Type\: text\/html/Content-Type\: text\/html\; charset=ISO-8859-1/i" *.cgi *.pl
         </programlisting>
       </para>
 
       <para>
       
 <programlisting><![CDATA[
-  <Directory /usr/local/bugzilla/>
+<Directory /usr/local/bugzilla/>
   Options +FollowSymLinks +Indexes +Includes +ExecCGI
   AllowOverride All
 </Directory>