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: Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Tamer Embaby
@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 actually changes

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 order of

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: -

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 rewrite in the translate_name hook

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 conflict? Hi.. I forgot

[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

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]

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 [3] LoadModule proxy_http_module

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

2007-12-10 Thread Axel-Stephane SMORGRAV
[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 first? Where can

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

2007-12-10 Thread Tamer Embaby
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 LoadModule directives changes

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

2007-12-10 Thread Axel-Stephane SMORGRAV
at 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_rewrite

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 Please it's very

[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
: 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 the url using

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
*** 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 pasing all parameters

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 VirtualHost section

[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

[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

[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: VirtualHost *:80 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]

[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 stuffbut 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 have

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 that can