Re: [EMAIL PROTECTED] Multiple Dns Server

2008-03-21 Thread J. Peng
what purpose do you plan for? if you want to redirect user's request to different servers based on the user's IP, you can use bind9's view. if you want to run two dns on the same server, you can use bind's forward, forward a special zone requests to another dns server on the same host. On Fri,

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-29 Thread J. Peng
On Fri, Feb 29, 2008 at 5:14 PM, Matus UHLAR - fantomas [EMAIL PROTECTED] wrote: On 29.02.08 11:44, J. Peng wrote: I talk nothing about cache. if mod_deflate didn't compress a file, why it still send a Vary header? This is what I'm always talking about. you were advised to read HTTP

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-29 Thread J. Peng
On Fri, Feb 29, 2008 at 8:37 PM, Eric Covener [EMAIL PROTECTED] wrote: On Fri, Feb 29, 2008 at 4:24 AM, J. Peng [EMAIL PROTECTED] wrote: On Fri, Feb 29, 2008 at 5:14 PM, Matus UHLAR - fantomas [EMAIL PROTECTED] wrote: On 29.02.08 11:44, J. Peng wrote: I talk nothing about cache

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread J. Peng
On Thu, Feb 28, 2008 at 4:26 PM, Nils Jeppe [EMAIL PROTECTED] wrote: Try adding: Header append Vary User-Agent no use. at first time I added this statement, but not usefull. mod_deflate handler always add a Vary: accept-encoding in its outgoing response. btw, I have wrote a filter on my

Re: [EMAIL PROTECTED] Looking for RewriteRule regex aid

2008-02-28 Thread J. Peng
for example you have sources url like this: /12318/a.jpg do you need: /1/2/3/18/a.jpg or: /12/3/1/8/a.jpg or: /1/2/3/1/8/a.jpg or: /12/3/18/a.jpg ?? number between 1 .. 18, it's almost impossible to write a regex to do that. On Thu, Feb 28, 2008 at 2:23 PM, wi [EMAIL PROTECTED] wrote: Hi

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread J. Peng
manual action on the user's part. But that doesn't seem to be the case here. J. Peng implies he is deliberately forcing HTTP/1.0 for some unexplained reasons. If there is a proxy involved, he should be clear about that. Joshua

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 rewrite it to pathA

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] mod_deflate's problems

2008-02-28 Thread J. Peng
I talk nothing about cache. if mod_deflate didn't compress a file, why it still send a Vary header? This is what I'm always talking about. On Fri, Feb 29, 2008 at 11:25 AM, Joshua Slive [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 8:46 PM, J. Peng [EMAIL PROTECTED] wrote: I mean I access

Re: [EMAIL PROTECTED] tuning

2008-02-28 Thread J. Peng
Most time (I'm sure it's 90%) the performance is descided by application,not apache itself. Even apache the default installion has good performance enough. For us we need the higher performance really, so we develop our own webserver (called Qhttpd), it's maybe not so standard, but can handle much

Re: [EMAIL PROTECTED] mod_deflate with ie6 with http/1.0 problems

2008-02-27 Thread J. Peng
On Thu, Feb 28, 2008 at 3:07 AM, Vincent Bray [EMAIL PROTECTED] wrote: http://home.arcor.de/pangj/ie6withdeflateerror.JPG I can't see any errors here. The request doesn't specify Accept-Encoding so the response is not compressed, but that's not an error. The error is I can't

[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

[EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread J. Peng
I just think Apache's mod_deflate has a weak point. When client doesn't declare it accept encoding, apache returns an uncompressed object, but for this object mod_deflate also returns a Vary: Accept-Encoding header. This make some browsers be confused. In fact my current IE6 sp2 can't download

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread J. Peng
what I said is mod_deflate always send a Vary: Accept-Encoding header to clients though it didn't compress that object. this make some browsers have problems. On Thu, Feb 28, 2008 at 2:49 PM, Nils Jeppe [EMAIL PROTECTED] wrote: On Thu, 28 Feb 2008, J. Peng wrote: I just think Apache's

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread J. Peng
\bMSIE !no-gzip !gzip-only-text/html SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary /Location On Thu, Feb 28, 2008 at 3:20 PM, Nils Jeppe [EMAIL PROTECTED] wrote: On Thu, 28 Feb 2008, J. Peng wrote: what I said is mod_deflate always send a Vary: Accept-Encoding header

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread J. Peng
On Thu, Feb 28, 2008 at 3:22 PM, Nils Jeppe [EMAIL PROTECTED] wrote: On Thu, 28 Feb 2008, Nils Jeppe wrote: You do realize that, at least according to the documentation, you can control that behaviour? I somehow doubt that this is a bug, as it would affect a whole lot of people,

[EMAIL PROTECTED] mod_deflate with ie6 with http/1.0 problems

2008-02-26 Thread J. Peng
Hello members, I have found a problem, if apache (my version 2.0.59) with mod_deflate enabled, and if requesting the objects by IE6 with HTTP/1.0 protocal, the browser can't get the objects correctly. The errors happened on only ie6 (or ie5,didn't test it) with http/1.0 enabled. It works fine on