Re: rewrite based on Accept-Encoding header

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

 



On Thu, Feb 28, 2008 at 12:51 AM, J. Peng <peng.kyo@xxxxxxxxx> wrote:
> Can we do a rewrite based on Accept-Encoding request header?
>  If the request header includes "Accept-Encoding: gzip, deflate", we
>  rewrite it to pathA.
>  Otherwise rewrite it to pathB.

Yes. The docs are here:
http://httpd.apache.org/docs/2.2/rewrite/

Give it a try and come back with your best guess and a specific
problem description if you can't figure it out.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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