Welcome! Log In Create A New Profile

Advanced

Moodle Rewrite Rule

Ilan Berkner
December 18, 2011 12:18PM
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?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Moodle Rewrite Rule

Ilan Berkner December 18, 2011 12:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 152
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready