Hello apache people.

This is a mail I sent to Ralf before I knew than the Apache devel list
was here. So I forward the mail I originaly sent, I hope you have a
solution or an idea of the problem.

Please keep me in Cc: as I am not subscribed on this list.



Hello Ralf,

I am using mod_proxy and proxy_add_forward which add the original IP in
HTTP headers.

For few reasons, I am using the following in my config:

---
RewriteEngine on
RewriteRule ^(.*php3?)$ http://linuxfr.org:8080$1 [proxy]
---

So all the .php3 files are send to another apache which has PHP3
support. But the proxy request inside mod_rewrite doesn't use
proxy_add_forward and I don't see the original IP at all, which brings
trouble as the PHP3 then see my local IP as REMOTE_HOST...

It works if I use ProxyPass / http://linuxfr.org:8080/ instead, but then
all files are redirected trough the proxy, even .jpg, .html, etc which
makes is slower.

I didn't find any devel list for mod_rewrite neither apache, so I mail
you. Would you have any idea what I could do to fix that (I sux in C
:(), or any devel list ?

The usual usenet group comp.unix.....servers didn't help at all.




-- 
Fabien Penso <[EMAIL PROTECTED]> - http://perso.LinuxFR.org/penso/
http://LinuxFR.org/ - Geek Stuff ! - http://www.DBee.com/ DBee SA -
http://www.SomeNEWS.com/ News for the Mass - http://www.SomeLIST.com/

Reply via email to