php - apache location directive not matched due rewrite rules -


my main goal override php.ini setting through apache config 1 url.

i using location directive so. there bunch of other rewrite rules change location index.php(which cannot change) e.g. following works

<location "/">     ..some php settings... </location> 

but, following not work

<location "/foo/bar">     ..some php settings... </location>  

because each time location rewrites "index.php" (through other configs)

i want setting work http://www.myurl.com/foo/bar. can use match url & override php value ?


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -