Looking for command with comparable result of "proxy_http_module" on Apache 1.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux