[users@httpd] SetEnvIfNoCase regex help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux