httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartung <m3d...@gmx.net>
Subject [users@httpd] Looking for command with comparable result of "proxy_http_module" on Apache 1.3
Date Sun, 14 Sep 2008 11:25:27 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I'm using Apache 1.3 with module mod_proxy to redirect some requests to
other servers.
Unfortunately that only redirects the URLs in the HTTP Header. URL's
containing in the html files are not "rewritten" so far.
Researching the internet told me that mod_proxy of apache 2.0 contains a
module called proxy_http_module which exactly does the job.

I want to "forward" request on ./controlcenter/router to another
webserver running on http://192.168.0.1/:
To gain my target I tried to rewrite the urls manually with mod_rewrite
but didn't had success.
I only want apache to rewrite urls which result from request of
/controlcenter/router/.

RewriteEngine On
<IfModule mod_proxy.c>
~ ProxyRequests Off
~ ProxyPass                /controlcenter/router/ http://192.168.0.1/
~ ProxyPassReverse /controlcenter/router/ http://192.168.0.1/
~ <Directory proxy:*>
~  AllowOverride All
~  </Directory>
~ <Directory proxy:/controlcenter/router/>
~  RewriteRule ^/(.*) /controlcenter/router$1
~  </Directory>
</IfModule>


I would be very happy for any tips and hints
Andreas Hartung




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIzPSn2WBntrl12hARAtoXAJ0Z+OcTWGHVpjXhVd0/2uFq49twHACeOcjx
juaPTo0EuLDI5XpRYixIyjQ=
=10+W
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message