I need to redirect some requests to internal website, i.e.
http://external-www/dir1 to http://internal-www/
Appropriate strings from squid.conf are
http_port 80
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
I use a following rewrite rule:
s@http://external-www/site1@http://internal-www/@i
For homepage all works fine, i.e. for http://external-www/dir1 I receive http://internal-www/index.html.
But I have a problem with sub-directories. All links on index.html are in form "/dir2/something.html".
If I click on such link I receive http://external-www/dir2/something.html instead of http://external-www/dir1/dir2/something.html.
How to resolve this?
Thanks,
Kryol
Received on Mon Jun 26 2006 - 08:11:46 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT