2003-03-03 13:18:34 +00:00
|
|
|
<HEAD>
|
|
|
|
<TITLE>Moodle Docs: Frequently Asked Questions (FAQ)</TITLE>
|
|
|
|
<LINK REL="stylesheet" HREF="../theme/standard/styles.php" TYPE="TEXT/CSS">
|
|
|
|
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
|
|
|
</HEAD>
|
|
|
|
|
|
|
|
<BODY BGCOLOR="#FFFFFF">
|
|
|
|
<h2>Frequently Asked Questions (FAQ)</h2>
|
|
|
|
<p>This page contains some of the most frequently asked questions with their
|
|
|
|
answers. If you have a problem it may be quickest to check this page first.</p>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h3>Cannot access uploaded files</h3>
|
|
|
|
<blockquote>
|
|
|
|
<p><b>Question:</b> I have a strange problem with my new installation of Moodle. Whenever I try
|
|
|
|
to access or view an uploaded resource, whether in the "Files" menu or on the course page,
|
|
|
|
I get a 404 error like this one:
|
|
|
|
<blockquote>
|
|
|
|
Not Found<br>
|
|
|
|
The requested URL /moodle/file.php/2/myfile.jpg was not found on this server.
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
<hr>
|
2003-03-10 13:59:06 +00:00
|
|
|
<p><b>Answer:</b> 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
|
2003-03-30 13:54:28 +00:00
|
|
|
Apache 2. To turn it on, add this line to your httpd.conf, or to
|
2003-03-10 13:59:06 +00:00
|
|
|
a .htaccess file in your local directory (see the
|
|
|
|
<A HREF="./?file=install.html#webserver">Install documentation</A> for more details):
|
|
|
|
|
|
|
|
<blockquote>
|
2003-03-26 14:13:42 +00:00
|
|
|
<pre>
|
2003-03-10 13:59:06 +00:00
|
|
|
<b>AcceptPathInfo</b> on
|
|
|
|
</pre>
|
|
|
|
</blockquote>
|
|
|
|
|
2003-03-30 13:54:28 +00:00
|
|
|
<p>Note, this will ONLY work for Apache versions 2.x.
|
2003-03-26 14:13:42 +00:00
|
|
|
|
|
|
|
<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
|
2003-03-10 13:59:06 +00:00
|
|
|
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
|
|
|
|
and change the setting for "<b>slasharguments</b>". You should now be able to
|
|
|
|
access your uploaded files.</p>
|
2003-03-03 13:18:34 +00:00
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
|
|
<P> </P>
|
|
|
|
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
|
|
|
|
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id$</FONT></P>
|
|
|
|
|
|
|
|
</BODY>
|