Redirection with 301 for all subdomains with exception

From: Falco SCHMUTZ <fschmutz#lovaservices.net>
Date: Mon, 22 Jun 2009 20:32:36 +0200


Hello everybody,
Could you help to fix this configuration ?

I need to redirect all sub domains except 5 (admin, pro, www, img*, domain.com without sub domain) to www.domain.com

I test this setting, but did not work.

acl good_subs url_beg admin pro www img* redirect location www.domain.com 301 if !good_subs

I have no idea for http://domain.com to http://www.domain.com and i did not know if img with wildcard work.

Thanks in advance

Falco Received on 2009/06/22 20:32

This archive was generated by hypermail 2.2.0 : 2009/06/22 20:45 CEST