Falco SCHMUTZ wrote:
> But we need one action when some users used old link maybe like this :
> 
> http://www.olddomain.com/olddirectory/oldhtmlpage.*
> http://www.olddomain.com/es/olddirectory/oldhtmlpage.*
> http://www.olddomain.com/en/olddirectory/oldhtmlpage.*
> 
> do you know if with the first acl configuration, we can redirect user to :
> 
> http://www.newdomain.com/olddirectory/oldhtmlpage.*
> http://www.newdomain.com/es/olddirectory/oldhtmlpage.*
> http://www.newdomain.com/en/olddirectory/oldhtmlpage.*

Falco,

You can use redirect prefix instead of redirect location.
Something along the lines of of:

acl olddomain hdr(host) -i www.olddomain.com
redirect prefix http://www.newdomain.com if olddomain

For more options see the under the redirect keyword in the configuration
manual.

--Holger


--Holger

Reply via email to