Apache .htaccess filtering

Salmus

Verified User
Joined
Feb 15, 2008
Messages
39
Hello,

In the past 30 hours I tried to find out a way to block "SetEnv" in .htaccess, the ideea is generally simple (allowoverride none for fileinfo) - but this will break mod_rewrite functionality.

Any clues ? I'm out of ideeas ...
There is any apache mod who can scan .htaccess for arbitrary instructions ?


Thanks
 
That's the easy part, but ... how to define php_ini_scan_dir in a php-cgi environment plus suphp ? I need SetEnv for that (inside virtualhost or directory configurations)

My task is to block SetEnv parameters in .htaccess, I can't do it via AllowOverride becouse mod_rewrite is also using Fileinfo
 
Indeed, but a little help from a tool who allows me to block certain settings from .htaccess, even SetEnvIf or SetEnvIfNoCase can be blocked.
 
OK, nothing more can I do for you with the issue then. Just a piece of an advice to ask the question in Apache mailing lists.
 
Back
Top