Fixes related to AcceptPathInfo - removed need for ifDefine lines.
This commit is contained in:
@@ -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):
|
||||
|
||||
<blockquote>
|
||||
<pre><IfDefine APACHE2>
|
||||
<pre>
|
||||
<b>AcceptPathInfo</b> on
|
||||
</IfDefine>
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p>If you are not using Apache and you still have this problem then you can switch
|
||||
Moodle to use an alternative method. The disadvantages are a slight loss of
|
||||
<p>Note, this will only work for Apache versions 2.x.
|
||||
|
||||
<p>If you are not using Apache 2 and you still have this problem (unlikely) then you
|
||||
can switch Moodle to use an alternative method. The disadvantages are a slight loss of
|
||||
performance for your users and you won't be able to use relative links
|
||||
within HTML resources.
|
||||
<p>To use this alternative method: login as Admin, go into the "Configure Variables" page
|
||||
|
||||
@@ -164,17 +164,14 @@
|
||||
</blockquote>
|
||||
<p>Just make sure index.php is in the list (and preferably towards the start
|
||||
of the list, for efficiency).</p>
|
||||
<p>Secondly, if you are using Apache 2, then you should turn on the <i>AcceptPathInfo</i>
|
||||
<p>Secondly, <b>if you are using Apache 2</b>, then you should turn on the <i>AcceptPathInfo</i>
|
||||
variable, which allows scripts to be passed arguments like http://server/file.php/arg1/arg2.
|
||||
This is essential to allow relative links between your resources, and also
|
||||
provides a performance boost for people using your Moodle web site. You can
|
||||
turn this on by adding these lines to your httpd.conf file.</p>
|
||||
<blockquote>
|
||||
<pre><IfDefine APACHE2>
|
||||
<b>AcceptPathInfo</b> on
|
||||
</IfDefine>
|
||||
</pre>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<pre><strong>AcceptPathInfo</strong> on </pre>
|
||||
</blockquote>
|
||||
|
||||
<p>Thirdly, Moodle requires a number of PHP settings to be active for it to
|
||||
work. <B>On most servers these will already be the default settings.</B>
|
||||
|
||||
Reference in New Issue
Block a user