Moodle Rewrite Rule
Ilan Berkner
ilan at time4learning.com
Sun Dec 18 17:16:56 UTC 2011
I emailed the group earlier regarding Nginx and Moodle, but have more
specific information.
>From the Moodle documentation, they are saying that:
"Your web server needs to be configured to allow the part of the URL after
a script name to be passed directly to the script."
and that in order to do that, the following Apache setting needs to be set:
*AcceptPathInfo* on
and that this rewrite rule needs to be set up:
*RewriteRule* ^([^\?]+?\.php)(\/.+)$ $1\?file=$2 [QSA]
How do I accomplish the same in Nginx?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111218/7613f231/attachment.html>
More information about the nginx
mailing list