[EMAIL PROTECTED] worker MPM hangs, but event MPM works fine, Apache/2.2.8 on OpenBSD 3.9

2008-02-23 Thread yary
Yesterday I downloaded the Apache 2.2.8 source tarball from apache.org, built it on my OpenBSD 3.9 box with ./configure --prefix=/usr/local/apache2 --with-mpm=worker --with-included-apr && make && sudo make install and ran it with cd /usr/local/apache2/bin; ./apachectl start Strange thing i

Re: [EMAIL PROTECTED] reverse proxy, disable compression to/from backend, DEFLATE to client

2008-02-23 Thread matthias platzer
Nick Kew schrieb: On Sun, 24 Feb 2008 00:38:08 +0100 My Apache 2.2.3 does reverse proxy to an internal backend (application)server which does Content-Encoding:gzip (=compression) on most of the content he delivers, by default. The Proxy* directives are inside a virtual host. Can you not con

Re: [EMAIL PROTECTED] Multiple VirtualHosts with the same name

2008-02-23 Thread Ruslan Sivak
Joshua Slive wrote: On Sat, Feb 23, 2008 at 7:31 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: Joshua Slive wrote: > On Sat, Feb 23, 2008 at 2:54 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: > >> I'm having a bit of a problem. I have a loadbalancer go to two virtual >> servers on one real

Re: [EMAIL PROTECTED] Multiple VirtualHosts with the same name

2008-02-23 Thread Joshua Slive
On Sat, Feb 23, 2008 at 7:31 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: > > Joshua Slive wrote: > > On Sat, Feb 23, 2008 at 2:54 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: > > > >> I'm having a bit of a problem. I have a loadbalancer go to two virtual > >> servers on one real server. Some

Re: [EMAIL PROTECTED] Multiple VirtualHosts with the same name

2008-02-23 Thread Ruslan Sivak
Joshua Slive wrote: On Sat, Feb 23, 2008 at 2:54 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: I'm having a bit of a problem. I have a loadbalancer go to two virtual servers on one real server. Something like Listen 80 NameVirtualHost *:80 HostName www.myhostname.com ... Host

Re: [EMAIL PROTECTED] reverse proxy, disable compression to/from backend, DEFLATE to client

2008-02-23 Thread Nick Kew
On Sun, 24 Feb 2008 00:38:08 +0100 matthias platzer <[EMAIL PROTECTED]> wrote: > hello list, > > My Apache 2.2.3 does reverse proxy to an internal backend > (application)server which does Content-Encoding:gzip (=compression) > on most of the content he delivers, by default. The Proxy* directives

[EMAIL PROTECTED] reverse proxy, disable compression to/from backend, DEFLATE to client

2008-02-23 Thread matthias platzer
hello list, My Apache 2.2.3 does reverse proxy to an internal backend (application)server which does Content-Encoding:gzip (=compression) on most of the content he delivers, by default. The Proxy* directives are inside a virtual host. But I'd like the proxy to do all the compression work, a)

Re: [EMAIL PROTECTED] Multiple VirtualHosts with the same name

2008-02-23 Thread Joshua Slive
On Sat, Feb 23, 2008 at 2:54 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: > I'm having a bit of a problem. I have a loadbalancer go to two virtual > servers on one real server. Something like > > Listen 80 > NameVirtualHost *:80 > > > HostName www.myhostname.com > ... > > > > > HostNa

Re: [EMAIL PROTECTED] Problem with '$123' in url, mod_rewrite or apache bug?

2008-02-23 Thread Patrick Ritchie
Wow don't I feel silly, that was it! Thanks Joshua. On Sat, Feb 23, 2008 at 11:47 AM, Patrick Ritchie <[EMAIL PROTECTED]> wrote: Hi, This pastie best expresses the problem I am encountering: http://apache.pastebin.ca/913221 For some reason a url like 'http://my.sever.com/viewFullItem$1

[EMAIL PROTECTED] Multiple VirtualHosts with the same name

2008-02-23 Thread Ruslan Sivak
I'm having a bit of a problem. I have a loadbalancer go to two virtual servers on one real server. Something like Listen 80 NameVirtualHost *:80 HostName www.myhostname.com ... HostName www.myhostname.com ... HostName www.someotherhostname.com Hosts one and two work fine, b

[EMAIL PROTECTED] Re: [EMAIL PROTECTED] verse https to http proxy not fully working

2008-02-23 Thread Andrew2008
udotirol wrote: > > So in order to solve the riddle myself, the problem was really well > hidden and not due to a the configuration I posted above. > > The problem was that I had mod_deflate globally enabled for the https > host (being not only a reverse proxy but also a "regular" webserver as

Re: [EMAIL PROTECTED] Problem with '$123' in url, mod_rewrite or apache bug?

2008-02-23 Thread Joshua Slive
On Sat, Feb 23, 2008 at 11:47 AM, Patrick Ritchie <[EMAIL PROTECTED]> wrote: > Hi, > > This pastie best expresses the problem I am encountering: > > http://apache.pastebin.ca/913221 > > For some reason a url like 'http://my.sever.com/viewFullItem$123' > > Is having the '$1' removed before I get

[EMAIL PROTECTED] Problem with '$123' in url, mod_rewrite or apache bug?

2008-02-23 Thread Patrick Ritchie
Hi, This pastie best expresses the problem I am encountering: http://apache.pastebin.ca/913221 For some reason a url like 'http://my.sever.com/viewFullItem$123' Is having the '$1' removed before I get a chance to process it. Now $1 looks to me like a regex back reference, but I'm not sure if

Re: [EMAIL PROTECTED] mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

2008-02-23 Thread Joshua Slive
On Sat, Feb 23, 2008 at 3:56 AM, Robert Balabalame <[EMAIL PROTECTED]> wrote: > Thanks for your suggestion, Joshua. > > Yes, the rule RewriteRule ^/balancer-manager$ /balancer-manager [P,L] makes > no sense. I just pick it as an example. > > In fact, my rule is like "RewriteRule ^/(.*) /%{ HTTP_REF

Re: [EMAIL PROTECTED] mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

2008-02-23 Thread Robert Balabalame
Thanks for your suggestion, Joshua. Yes, the rule RewriteRule ^/balancer-manager$ /balancer-manager [P,L] makes no sense. I just pick it as an example. In fact, my rule is like "RewriteRule ^/(.*) /%{ HTTP_REFERER}/$1 [P,L]". But Apache also returns 502 error. So I simplify my rule to "RewriteRul