Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.xxxcon, which comes first ob_start or session, wwwxxx/58/2010, xxxxdup, xxxxdup, mailx informatii, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, mysql feiertage, bash netcat eof, 192.168.1.41:8000

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