How to Make SlashArguments work in Apache

How to Make SlashArguments work in Apache

by Howard Miller -
Number of replies: 3
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
This is answering my own question posed elsewhere, but as it may well effect other people I've started another thread.

I run Redhat 8.0 and SlashArguments didn't work with the standard Apache installation. This effectively breaks moodle's ability to incorporate linked HTML material.

Anyway, simple answer, in the appropriate place in httpd.conf (probably the ) put..

AcceptPathInfo On

That's it!
Average of ratings: -
In reply to Howard Miller

Re: How to Make SlashArguments work in Apache

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
Great!

Thanks a lot for tracking that one down, Howard!

I should add that this is a solution for Apache 2 only (but that could well be everyone who had the problem!).

I've updated the FAQ and the Install docs to include this information.

http://moodle.org/doc/?frame=faq.html
In reply to Martin Dougiamas

Re: How to Make SlashArguments work in Apache

by Przemyslaw Stencel -
Hi Martin,

You might want to mention in the FAQ and Install Guide that sometimes the <IfDefine> tags should not be used. That was my case. Our server's software was upgraded recently and for the last two days I've been trying to make uploaded files work in my Moodle installation. Reading the Moodle Documentation back and forth, checking server settings, hunting for typos, etc. And then (just a lucky hunch) I asked our server admin to remove the <IfDefine> tags from the httpd.conf file - and it worked! Don't ask me why and how, but it worked.
In reply to Przemyslaw Stencel

Re: How to Make SlashArguments work in Apache

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
OK, thanks for that! I only put them in there to avoid problems in case people added the lines to their Apache 1.x configuration files. I'll just get rid of them from the FAQ and install docs and mention "Apache 2 ONLY".