httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arne Heizmann <>
Subject [users@httpd] RewriteRule problems
Date Tue, 14 Jun 2005 16:46:05 GMT


I get a 403 Forbidden when trying to use a RewriteRule to proxy a 
request to another server.

I have two servers, ukrbcsr01 and ukrbcsr02. ukrbcsr02 is accessible 
from the outside, ukrbcsr01 isn't. Their LAN IPs are and, respectively. I can access one from the other, so I know 
that both Apaches are running correctly and the LAN is working.

Now I added the following RewriteRule to ukrbcsr02:

	RewriteEngine On
	RewriteRule ^/old/(.*) http://ukrbcsr01/$1 [P]

I was hoping that [P] would work to proxy the request to the other 
server, but what I get instead is a 403 Forbidden when I try to access 
/old/something. I get the same 403 even when I stop the Apache on 
ukrbcsr01, so it must be ukrbcsr02 that generates the Forbidden message 
without even attempting to proxy the request.

Thanks for any advice you can give.
Arne Heizmann

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message