Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-12 Thread pdt_p
Hi... Thank you for Axel and Neil for answering my question. I understand it won't be a good idea to pass the proxy server ip address/host name through parameter. Fortunately, this is only used for internal access only. My proxy server won't be connected to internet. The reason is I do have mor

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-12 Thread Neil A. Hillard
pdt_p wrote: > Hi... > > from this solution: > RewriteRule ^/testing/(.*)$ http://myserverB/$1 [P,L] > RewriteRule ^/(.*)$ http://myserverA/$1 [P] > ProxyPassReverse /testing http://myserverB/ > > the original server url is fixed. In this case http://myserverB and > http://myserverA. What if the

RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Axel-Stephane SMORGRAV
"ProxyPreserveHost On" and you would not need to worry about ProxyPassReverse. -ascs -Message d'origine- De : pdt_p [mailto:[EMAIL PROTECTED] Envoyé : mercredi 12 décembre 2007 05:01 À : users@httpd.apache.org Objet : Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy confl

RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Axel-Stephane SMORGRAV
-Message d'origine- > De : Eric Covener [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 12 décembre 2007 03:55 > À : users@httpd.apache.org > Objet : Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict? > > In 2.0 it's ambiguous between proxy and rewrit

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread pdt_p
Hi.. I forgot to mention, the reason why I asked about this dynamic URL because I have more than 1 internal server and the ip address/hostname for each internal server that I have to connect to is returned from url parameter. for example: - http:///testing/myserverB/otherPath --> http://myse

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Eric Covener
On Dec 10, 2007 1:30 PM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > Judging from your problem description, specifically the fact that modifying > the ordering of the LoadModule directives changes the behaviour of the > server, you must be using Apache 1.3. > > From Apache 2.0 on the ord

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread pdt_p
Hi... from this solution: RewriteRule ^/testing/(.*)$ http://myserverB/$1 [P,L] RewriteRule ^/(.*)$ http://myserverA/$1 [P] ProxyPassReverse /testing http://myserverB/ the original server url is fixed. In this case http://myserverB and http://myserverA. What if the original URL is dynamic which

RE: Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Tamer Embaby
07 9:11 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict? As I said in my previous post, the suggestion of Neil will work no matter what. No doubt about that. What surprises me is that you mention that changing the order of the LoadModule directives

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-10 Thread Axel-Stephane SMORGRAV
er -Original Message- From: Axel-Stephane SMORGRAV [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 8:30 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict? Judging from your problem description, specifically the fact that modifying the o

RE: RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-10 Thread Tamer Embaby
From: Axel-Stephane SMORGRAV [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 8:30 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict? Judging from your problem description, specifically the fact that modifying the ordering of the LoadModul

RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-10 Thread Axel-Stephane SMORGRAV
amer Embaby [mailto:[EMAIL PROTECTED] Envoyé : lundi 10 décembre 2007 16:05 À : users@httpd.apache.org Objet : RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict? Neil, Thanks for the answer, I will do that. But still I want to understand the behavior of both modules, who get called f

RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-10 Thread Tamer Embaby
:19 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict? Tamer Embaby wrote: > I have the following simple setup: > > [1] LoadModule rewrite_module modules/mod_rewrite.so > [2] LoadModule proxy_module modules/mod_proxy.so >

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-10 Thread Neil A. Hillard
Tamer Embaby wrote: > I have the following simple setup: > > [1] LoadModule rewrite_module modules/mod_rewrite.so > [2] LoadModule proxy_module modules/mod_proxy.so > [3] LoadModule proxy_http_module modules/mod_proxy_http.so > [4] RewriteEngine on > [5] ProxyPass /testing http://myserverB/ > [6]

[EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-10 Thread Tamer Embaby
Dear all, I have the following simple setup: [1] LoadModule rewrite_module modules/mod_rewrite.so [2] LoadModule proxy_module modules/mod_proxy.so [3] LoadModule proxy_http_module modules/mod_proxy_http.so [4] RewriteEngine on [5] ProxyPass /testing http://myserverB/ [6] ProxyPassReverse /testing