Re: [EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-28 Thread J. Peng
On Fri, Feb 29, 2008 at 11:32 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > > Start by taking the stuff out of the Location block: that is > explicitly unsupported and unnecessary when the RewriteRule is already > checking for /test2. That's right.I almost forgot that mod_rewrite is working on

Re: [EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 9:38 PM, J. Peng <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 28, 2008 at 10:35 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > > > > On Thu, Feb 28, 2008 at 12:51 AM, J. Peng <[EMAIL PROTECTED]> wrote: > > > Can we do a rewrite based on Accept-Encoding request header? > >

Re: [EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-28 Thread J. Peng
On Thu, Feb 28, 2008 at 10:35 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 28, 2008 at 12:51 AM, J. Peng <[EMAIL PROTECTED]> wrote: > > Can we do a rewrite based on Accept-Encoding request header? > > If the request header includes "Accept-Encoding: gzip, deflate", we > > rewrit

Re: [EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 12:51 AM, J. Peng <[EMAIL PROTECTED]> 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.

[EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-27 Thread J. Peng
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. thanks. //joy - The official User-To-User suppo