Problem with file accessing

Problem with file accessing

by Evert-Jan Oppelaar -
အကြောင်းပြန်မှု အရေအတွက်: 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?
ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
Evert-Jan Oppelaar ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Problem with file accessing

by Howard Miller -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Peer reviewers ၏ ရုပ်ပုံ 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
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.

Evert-Jan Oppelaar ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Problem with file accessing

by Martin Dougiamas -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Moodle HQ ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ Testers ၏ ရုပ်ပုံ
http://moodle.org/mod/resource/view.php?id=37

What happens if you change the "slasharguments" parameter in Moodle's "Configure Variables" page?
Martin Dougiamas ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Problem with file accessing

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