Fixes related to AcceptPathInfo - removed need for ifDefine lines.
authormoodler <moodler>
Wed, 26 Mar 2003 14:13:42 +0000 (14:13 +0000)
committermoodler <moodler>
Wed, 26 Mar 2003 14:13:42 +0000 (14:13 +0000)
lang/en/docs/faq.html
lang/en/docs/install.html

index 1b5b1267cfc956fbd0f71f39c59518d81f216446..3c4b19e26c010854299e06cb67f76137b8d3d211 100644 (file)
@@ -32,14 +32,15 @@ a .htaccess file in your local directory (see the
 <A HREF="./?file=install.html#webserver">Install documentation</A> for more details): \r
 \r
 <blockquote>\r
-<pre>&lt;IfDefine APACHE2>\r
+<pre>\r
      <b>AcceptPathInfo</b> on\r
-&lt;/IfDefine>\r
 </pre>\r
 </blockquote>\r
 \r
-<p>If you are not using Apache and you still have this problem then you can switch \r
-   Moodle to use an alternative method.  The disadvantages are a slight loss of \r
+<p>Note, this will only work for Apache versions 2.x.\r
+\r
+<p>If you are not using Apache 2 and you still have this problem (unlikely) then you \r
+   can switch Moodle to use an alternative method.  The disadvantages are a slight loss of \r
    performance for your users and you won't be able to use relative links \r
    within HTML resources.\r
 <p>To use this alternative method: login as Admin, go into the "Configure Variables" page \r
index 6d39318a999e2bf9ad4ffb0cadc2b13eaecf9a6e..21c8c473670d70bdd8ae1e4c6ae9004b47e15af5 100644 (file)
   </blockquote>\r
   <p>Just make sure index.php is in the list (and preferably towards the start \r
     of the list, for efficiency).</p>\r
-  <p>Secondly, if you are using Apache 2, then you should turn on the <i>AcceptPathInfo</i>\r
+  <p>Secondly, <b>if you are using Apache 2</b>, then you should turn on the <i>AcceptPathInfo</i>\r
      variable, which allows scripts to be passed arguments like http://server/file.php/arg1/arg2.\r
      This is essential to allow relative links between your resources, and also \r
      provides a performance boost for people using your Moodle web site.  You can \r
      turn this on by adding these lines to your httpd.conf file.</p>\r
-<blockquote>\r
-<pre>&lt;IfDefine APACHE2>\r
-     <b>AcceptPathInfo</b> on\r
-&lt;/IfDefine>\r
-</pre>\r
-</blockquote>\r
+  <blockquote>\r
+    <pre><strong>AcceptPathInfo</strong> on </pre>\r
+  </blockquote>\r
 \r
   <p>Thirdly, Moodle requires a number of PHP settings to be active for it to \r
      work.  <B>On most servers these will already be the default settings.</B>\r