Moodle Rewrite Rule

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
a script name to be passed directly to the script.”

and that in order to do that, the following Apache setting needs to be

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs