<A HREF="./?file=install.html#webserver">Install documentation</A> for more details): \r
\r
<blockquote>\r
-<pre><IfDefine APACHE2>\r
+<pre>\r
<b>AcceptPathInfo</b> on\r
-</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
</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><IfDefine APACHE2>\r
- <b>AcceptPathInfo</b> on\r
-</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