Windows server: Attachments - 404 File not Found

Windows server: Attachments - 404 File not Found

Joel VerDuin - මගින්
Number of replies: 7
Hello,

I've installed Moodle on Windows 2000 Server with IIS 5. The document directory exists outside the wwwroot folder and the anonymous user has all but full control access to the folder.

When I upload a file either through a forum or through a directory, I get 404 - File not Found errors when I try to access it through Moodle.

The file does exist in the moodledata directory structure. Here is an example URL that is returned when I try:
http://mysite/moodle/file.php/2/moddata/forum/6/1/Login_to_the_Network_from_Anywhere_in_the_District.doc

This returns a 404 error. Any thoughts?

Thanks.
ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to Joel VerDuin

Re: Windows server: Attachments - 404 File not Found

Iñaki Arenaza - මගින්
Core developers ගේ පින්තුරය Documentation writers ගේ පින්තුරය Particularly helpful Moodlers ගේ පින්තුරය Peer reviewers ගේ පින්තුරය Plugin developers ගේ පින්තුරය
Go to Administration >> Configuration >> Variables and set slasharguments to 'file.php?file=/1/pic.jpg '. I think this should help you.

Saludos. Iñaki.
ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to Iñaki Arenaza

Re: Windows server: Attachments - 404 File not Found

Mehran Heidarzadeh - මගින්
I have exactly the same problem in moodle 1.7. There is no Configuration page in the administration page. I manually changed the value of "slasharguments" in the database, but it didn't help. Any idea?
ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to Mehran Heidarzadeh

Re: Windows server: Attachments - 404 File not Found

Mauno Korpelainen - මගින්
You find that setting from Server - HTTP - Use slash arguments and X
ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to Mehran Heidarzadeh

Re: Windows server: Attachments - 404 File not Found

tim harrison - මගින්
On my 1.7 server it is under Administration / Server / HTTP.
ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to tim harrison

Re: Windows server: Attachments - 404 File not Found

Carlos Garcia - මගින්

Thanks guys... it worked for me.

As Tim pointed out, on 1.7 Administration / Server / HTTP...
I unchecked "Use slash arguments".

I am running moodle on windows 2000 server / IIS 5 with php fast cgi.

Thanks for the help

ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -