Before I open an official request I would like to heard the opinion of
people on this list.

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?

Thanks,
Nicolas

Reply via email to