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:
[EMAIL PROTECTED]://external-www/[EMAIL PROTECTED]://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

Reply via email to