Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

wwwxxxAPC, How to unsubscrube from dategen spam, WWWXXXAPC, docmd.close 2585, WWWXXXDOCO, nu vot, dhcpd lease file "binding state", WWWXXXDOCO, how to setup procmail to process html2text, how to setup procmail html2text

Links

XODOX
Impressum

#1: Problems with proxying remote URLs

Posted on 2005-08-28 22:30:38 by Alexander Prohorenko

Hello,

I've got problem with using a mod_rewrite module using [P] keyword to
proxy a request. Everything works just fine with local files and
redirects, but when I'm trying to use a redirect with proxy to remote
destination I'm getting something like:

[Sun Aug 28 14:05:36 2005] [error] [client 1.2.1.2] File does not exist:
proxy:http://my.domain.com/zzz

My config reads like (in .htaccess):

RewriteEngine On
RewriteRule ^(.*) http://my.domain.com/$1 [P]

When I am removing the [P] keyword and it tries to do a redirect it
works fine.

Would you advise me please something? Thanks.

Please, drop me a Cc to my mail address, as far as I'm not regulary
reading this newsgroups. Thanks.

P.S. Apache 1.3.33 built from ports on FreeBSD 5.4-STABLE. I've got
completely the same configuration on Apache 1.3.29 and it works just fine.

Report this message