How to Make SlashArguments work in Apache

How to Make SlashArguments work in Apache

Howard Miller -
回帖数:3
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 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!
回复Howard Miller

Re: How to Make SlashArguments work in Apache

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 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
回复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.
回复Przemyslaw Stencel

Re: How to Make SlashArguments work in Apache

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