Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Web Server rewrite not taken into account to access module web interface #1093
module selfregister, that allows for handling user registration.
Apache Rewrite Configuration:
Why it bothers
In some deployments, the "exposed" url needs to be "polished" (having /register) instead of (/module.php/selfregister/newUser.php) is a valid expectation i think.
Steps to reproduce the behavior:
The real module name (selfregister) should be matched using $_SERVER['PATH_INFO'] (which is the apache rewritten url) rather than using the left part of original non apache rewritten URL.
So , having /register able to process module
The problem lies in module detection using $request->getPathInfo() , which uses symfony request class, which tries to be a bit too "smart"
Current workaround (i.e : not fitting my requirement)