Bryan wrote:
> Could you recommend a way to use it with a redirect like this?
> 
> (implemented to redirect domain to www.domain).
> 
> $HTTP["host"] =~ "^ushousingreport\.com$" {
>   url.redirect = (
>     "^/(.*)" => "http://www.ushousingreport.com/$1";,
>     ""       => "http://www.ushousingreport.com/";
>   )
> }
> 
> Maybe an exception rule to the redirect for dev.ushousingreport.com?

I believe you could do:

$HTTP["host"] =~ "ushousingreport\.com$" {
   $HTTP["host"] !~ "^(dev|www)" {
     url.redirect = (
       "^/(.*)" => "http://www.ushousingreport.com/$1";,
       ""       => "http://www.ushousingreport.com/";
     )
   }
}

Is that what you mean?

--
John Long
http://wiseheartdesign.com
_______________________________________________
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to