From b6f64be2a50bf498b4dac719f50095c72e21d977 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 26 Mar 2003 14:13:42 +0000 Subject: [PATCH] Fixes related to AcceptPathInfo - removed need for ifDefine lines. --- lang/en/docs/faq.html | 9 +++++---- lang/en/docs/install.html | 11 ++++------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/lang/en/docs/faq.html b/lang/en/docs/faq.html index 1b5b1267cf..3c4b19e26c 100644 --- a/lang/en/docs/faq.html +++ b/lang/en/docs/faq.html @@ -32,14 +32,15 @@ a .htaccess file in your local directory (see the Install documentation for more details):
-
<IfDefine APACHE2>
+
      AcceptPathInfo on
-</IfDefine>
 
-

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 +

Note, this will only work for Apache versions 2.x. + +

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.

To use this alternative method: login as Admin, go into the "Configure Variables" page diff --git a/lang/en/docs/install.html b/lang/en/docs/install.html index 6d39318a99..21c8c47367 100644 --- a/lang/en/docs/install.html +++ b/lang/en/docs/install.html @@ -164,17 +164,14 @@

Just make sure index.php is in the list (and preferably towards the start of the list, for efficiency).

-

Secondly, if you are using Apache 2, then you should turn on the AcceptPathInfo +

Secondly, if you are using Apache 2, then you should turn on the AcceptPathInfo 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.

-
-
<IfDefine APACHE2>
-     AcceptPathInfo on
-</IfDefine>
-
-
+
+
AcceptPathInfo on 
+

Thirdly, Moodle requires a number of PHP settings to be active for it to work. On most servers these will already be the default settings. -- 2.39.5