Problem with file accessing

Problem with file accessing

by Evert-Jan Oppelaar -
Number of replies: 4
In courses view, uploading files works correctly, no errors at all. I make a resource to acces the files via the interface, but after I created the resource and when I am trying to access the resource I'll get an 'internal server error'. When I type the path to the file in the adressbar of IE the file appears correctly. But inside moodle it doesn't work. Maybe somebody has a suggestion?
Average of ratings: -
In reply to Evert-Jan Oppelaar

Re: Problem with file accessing

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Are you using Apache 2?

It sounds very like the "AcceptPathInfo On" problem. You almost certainly need to add that line into your httpd.conf (as now described in the Moodle installation instructions).

For whatever reason the default action in Apache 2 is not to allow the additional path info style of passing parameters to CGI type programs. Moodle relies on this
In reply to Howard Miller

Re: Problem with file accessing

by Evert-Jan Oppelaar -

Maybe it is quite a pity that our moodle is installed on a shared isp, so I don't have access to the httpd.conf file. I've tried to put the AcceptPathInfo tag in a special .htaccess file, but that does not work.

The server is running apache 1.3.19.

However, thanks for your suggestion, I hope you can give me another possibility.

In reply to Evert-Jan Oppelaar

Re: Problem with file accessing

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
http://moodle.org/mod/resource/view.php?id=37

What happens if you change the "slasharguments" parameter in Moodle's "Configure Variables" page?
In reply to Martin Dougiamas

Re: Problem with file accessing

by Evert-Jan Oppelaar -
It now works correctly, thanks a lot! I did not see this parameter.