| Posted: 05 January 2012 at 9:40am | IP Logged
|
|
|
Hi,
i need to use mod_replace for multiple mimetypes (text/html,text/css,text/xml) to reverseproxy an Ajax application.
the "intype" parameter in mod_replace does only take one mimetype. I tried using "text" or "text/*" or "text/.*" to match all text-types - but that didn't work.
I can't define multiple ReplaceFilters (for different mime-types) - the last ReplaceFilter, set via "SetEnv modreplace=<filtername>" overrules the other filters.
I tried to use "SetEnvIfNoCase Mime ^text/xml modreplace=xmlfilter" but that didn't work either (i guess that modreplace is executed, before Mime - Header is available)
Is there another way to solve this, other than using Request_URI - matching in combination with "SetEnvIf" ?
cheers,
moritz
|