Ian Huynh wrote:
what does your rewrite log file say? If you add RewriteEngine on RewriteLog "/usr/local/var/apache/logs/rewrite.log" <<--- change this to your appropriate path
RewriteLogLevel 9                                       <<-- use level 9 only 
for debugging.
RewriteRule ^/old/(.*) http://ukrbcsr01/$1 [P]         <<-- make sure you don't 
pick up the next rules, i'd use [P,L]

if the proxy was success, you would see something like this in your rewrite log

127.0.0.1 - - [06/Jun/2005:10:20:56 --0700] 
[localhost/sid#23c458][rid#82fa40/initial] (3) applying pattern '^/old/(.*)' to 
uri '/old/something'
127.0.0.1 - - [06/Jun/2005:10:20:56 --0700] 
[localhost/sid#23c458][rid#82fa40/initial] (2) rewrite /old/something -> 
http://ukrbcsr01/something
127.0.0.1 - - [06/Jun/2005:10:20:56 --0700] 
[localhost/sid#23c458][rid#82fa40/initial] (2) forcing proxy-throughput with 
http://ukrbcsr01/something

It does indeed say that, plus this:

   (1) go-ahead with proxy request proxy:http://ukrbcsr01/login.php [OK]

So you would think the proxy request went through.

And yet I get a Forbidden message, irrespective of whether the server I'm trying to proxy through to is running or not.

I get a "Not Found" if I remove the RewriteRule, as one would expect.

Thanks again if you could help further... :/
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to