Re: Sub-domain filtering

2013-08-19 Thread Jonathan Matthews
On 19 Aug 2013 07:05, "ronin" wrote: > > I am using the statement is: > if ($ host! = www.mj.com|ci.mj.com) {rewrite ^ / (. *) $ http://www.mj.com/ > $ 1 permanent;} > This page contains a redirect loop occurs causing the problem can not access > the site, I ask you how to handle this statement to

Sub-domain filtering

2013-08-18 Thread ronin
I am using the statement is: if ($ host! = www.mj.com|ci.mj.com) {rewrite ^ / (. *) $ http://www.mj.com/ $ 1 permanent;} This page contains a redirect loop occurs causing the problem can not access the site, I ask you how to handle this statement to be compatible with multiple subdomains, thank you