httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fenlason, Josh" <jfenla...@ptc.com>
Subject [users@httpd] SetEnvIfNoCase regex help
Date Thu, 05 Oct 2006 19:20:48 GMT
I'm trying to set no-gzip dont-vary when the content-type is
"application/pdf" or "application/zip", but I'm having trouble getting
the regex portion of the SetEnvIfNoCase directive right.  Here's what I
have so far that doesn't work:
    SetEnvIfNoCase Content-Type \
    ^(application/pdf|application/zip)$ no-gzip dont-vary
If anyone has any tips or suggestions, I would be extremely grateful.
Thanks in advance.
,
Josh.

Mime
View raw message