How to Make SlashArguments work in Apache

How to Make SlashArguments work in Apache

Howard Miller
Vastuste arv 3
Core developers pilt Documentation writers pilt Particularly helpful Moodlers pilt Peer reviewers pilt Plugin developers pilt
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!
Keskmine hinnang: -
Vastuses Howard Miller

Re: How to Make SlashArguments work in Apache

Martin Dougiamas
Core developers pilt Documentation writers pilt Moodle HQ pilt Particularly helpful Moodlers pilt Plugin developers pilt Testers pilt
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
Vastuses Martin Dougiamas

Re: How to Make SlashArguments work in Apache

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.
Vastuses Przemyslaw Stencel

Re: How to Make SlashArguments work in Apache

Martin Dougiamas
Core developers pilt Documentation writers pilt Moodle HQ pilt Particularly helpful Moodlers pilt Plugin developers pilt Testers pilt
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".