Bug 61293 - Feature Request: improved FrontController management
Summary: Feature Request: improved FrontController management
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-13 13:02 UTC by Nicolas Bouvrette
Modified: 2017-07-13 13:02 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bouvrette 2017-07-13 13:02:09 UTC
I have sent this email on the httpd email list and receive no answer for a few days so I am opening this feature request.

I have project who run with a single FrontController which means all routes are dynamic and sent to a single PHP page. While we might debate if this is a good idea or not, I find it extremely powerful for multi-lingual website without having to duplicate file structure.

One problem I am having is overwriting PHP values. Because I mod_rewrite, Apache seems to lose track of the location and it's impossible to overwrite at this level. See details here:

https://serverfault.com/questions/857961/php-value-overrides-with-apache-using-a-front-controller

Originally I thought it was better to do the fix on the PHP side but apparently those restriction are in place because of security/chain of events reasons. See details here:

https://bugs.php.net/bug.php?id=74882

Would this be something that Apache could fix? Maybe new <Location> rules applied before mod_rewrite?