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
mod_rewrite.c and mod_proxy.c. You will find the function register_hooks() at the bottom of each file. -ascs -Message d'origine- De : Tamer Embaby [mailto:[EMAIL PROTECTED] Envoyé : lundi 10 décembre 2007 19:42 À : users@httpd.apache.org Objet : RE: RE: [EMAIL PROTECTED] Apache mod_re

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

Re: [EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite

2007-11-01 Thread Joshua Slive
On Nov 1, 2007 1:05 PM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: > Joshua: > > I place the directives in both VirtualHost and in the .htaccess file and > nothing happen, ins't working. Turn on the RewriteLog at a nice high RewriteLogLevel. Those directives belong inside the section but ou

Re: [EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite

2007-11-01 Thread Alberto García Gómez
[***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite On Nov 1, 2007 11:21 AM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: Hi Joshua and fellows: Here's my problem indeed: I working in a website and I trying to make this website full SEO. Now actually I'm p

Re: [EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite

2007-11-01 Thread Joshua Slive
On Nov 1, 2007 11:21 AM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: > Hi Joshua and fellows: > > Here's my problem indeed: > > I working in a website and I trying to make this website full SEO. Now > actually I'm pasing all parameters to the server in this way: > > 1.- http://www.myserver.com

[EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite

2007-11-01 Thread Alberto García Gómez
Sent: Thursday, November 01, 2007 11:22 AM Subject: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite On Oct 31, 2007 4:04 PM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: I have this URL http://www.myserver.com/dir1/dir2/page.html and I wish to rewrite th

Re: [EMAIL PROTECTED] APACHE mod_rewrite

2007-11-01 Thread Joshua Slive
On Oct 31, 2007 4:04 PM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: > > > I have this URL > > http://www.myserver.com/dir1/dir2/page.html > > and I wish to rewrite the url using mod_rewrite to add a ~ after the first > dir always, eg.: > > http://www.myserver.com/~dir1/dir2/page.html > > Pleas

[EMAIL PROTECTED] APACHE mod_rewrite

2007-10-31 Thread Alberto García Gómez
How to compare cookie value to request URLI have this URL http://www.myserver.com/dir1/dir2/page.html and I wish to rewrite the url using mod_rewrite to add a ~ after the first dir always, eg.: http://www.myserver.com/~dir1/dir2/page.html Please it's very important to make this ASAP best rega

[EMAIL PROTECTED] Apache + Mod_Rewrite + IP Auth + Mongrels

2007-06-20 Thread Jacobo García
Hello, I'm working on a setup with the following structure, all the software is in the same server. Apache 2 server with mod_proxy, mod_rewrite and some others. An apacher conf file with 3 Virtualhosts of different domains for a rails app. Each virtual hosts has some rules to redirect petition

[EMAIL PROTECTED] Apache mod_rewrite and 301 redirection

2006-11-29 Thread Norman Khine
Hello, I am using a ZOPE server behind Apache and already have a mod_rewrite rule as: ServerName mysite.com ServerAlias www.mysite.com RewriteEngine On RewriteRule ^/(.*) http://mysite.com:5080/VirtualHostBase/http/mysite.com:80/sites/site/VirtualHostRoot/$1 [L,P] ErrorLog /var/log/apac

Re: [EMAIL PROTECTED] apache mod_rewrite

2005-09-26 Thread Joshua Slive
On 9/26/05, Robert Becskei <[EMAIL PROTECTED]> wrote: > > Hello everyone, > > I'm no expert at httpd , I know how to set up basic stuff but that is all I > know how to do. So I ask you to please help me solve this problem. > > I have 20 video camera servers in my lan, all of them have a software th

[EMAIL PROTECTED] apache mod_rewrite

2005-09-26 Thread Robert Becskei
Hello everyone,   I'm no expert at httpd , I know how to set up basic stuff but that is all I know how to do. So I ask you to please help me solve this problem.   I have 20 video camera servers in my lan, all of them have a software that can be used to access them by default on port 80.   I h