Hi all,
recently we changed our web server from apache to zope/plone with squid as a
cache proxy and squidGuard as a redirector.
Our problem is the following:
We have one domain, let's say dom1.de and a second domain dom2.de.
In dns there is an alias from www.dom2.de to www.dom1.de
When you enter http://www.dom2.de at the web browser you shold be redirected
to http://www.dom1.de/path1
Therefore at the old apache web server we had a rewrite rule to rewrite from
http://www.dom2.de to http://www.dom1.de/path1 which worked fine::
RewriteEngine On
RewriteCond %{HTTP_HOST} www.dom2.de
RewriteRule ^/$ http://www.dom1.de/path1
How do I manage this with squidGuard?
My squidGuard.conf looks like this:
acl {
default {
redirect
http://localhost:8080/VirtualHostBase/http/www.dom1.de:80/yyy/VirutalHostRoot/%p
}
}
Thanks in advance
Margit Meyer