redirect from www to sub-page

ha we lists at
Thu Jan 22 14:15:35 MSK 2009


How can I redirect from to,
but do not redirect if there is already a full address such as

I tried this

   if ($host ~* "^$"){
      rewrite ^(.*)$ break;

But of courese it creates an infinite loop.

Posted via

More information about the nginx mailing list