From: moodler Date: Sat, 26 Apr 2003 06:02:58 +0000 (+0000) Subject: Moved most-asked question to the top X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=09368e393893ad80a29845380dd4d73b58dbc3ab;p=moodle.git Moved most-asked question to the top --- diff --git a/lang/en/docs/faq.html b/lang/en/docs/faq.html index dad5e8bb1a..beb682362c 100644 --- a/lang/en/docs/faq.html +++ b/lang/en/docs/faq.html @@ -60,6 +60,8 @@ installation instructions carefully will usually result in a perfectly working system. Here are some of the most common problems that are encountered:

+ - -

 

-

PHP - is it installed and what version + +

Whenever I try to access or view + a file that I uploaded, I get an error "File not Found"

+

For example: Not Found: The requested URL /moodle/file.php/2/myfile.jpg + was not found on this server.

+

Your web server needs to be configured to allow the part of + the URL after a script name to be passed directly to the script. This is usually + enabled in Apache 1, but is usually disabled by default in Apache 2. To turn + it on, add this line to your httpd.conf, or to a .htaccess file in your local + directory (see the Install documentation + for more details):

+

AcceptPathInfo on

+

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 and change the setting for "slasharguments". + You should now be able to access your uploaded files.

+

 

+ +

PHP - is it installed and what version do I have?

Make a new file on your web site called info.php, containing the following text, and call it from your browser:

@@ -125,25 +146,7 @@

Sometimes people only use the path from their home directory, or relative to the root of the web server directory.

 

-

Whenever I try to access or view - a file that I uploaded, I get an error "File not Found"

-

For example: Not Found: The requested URL /moodle/file.php/2/myfile.jpg - was not found on this server.

-

Your web server needs to be configured to allow the part of - the URL after a script name to be passed directly to the script. This is usually - enabled in Apache 1, but is usually disabled by default in Apache 2. To turn - it on, add this line to your httpd.conf, or to a .htaccess file in your local - directory (see the Install documentation - for more details):

-

AcceptPathInfo on

-

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 and change the setting for "slasharguments". - You should now be able to access your uploaded files.

+

Suggest a new FAQ (include the answer!)