How to do this?

I have a domain called aaa.com

I also have a website at AAA Sorry Page

What I need to do is,

If someone access aaa.com, it will be redirected to AAA Sorry Page or
AAA Sorry Page

I’ve tried

    location / {

            rewrite ^ http://www.aaa.com/blabla;

            try_files $uri @cache;

    }

But it has error

Firefox has detected that the server is redirecting the request for this
address in a way that will never complete.

*   This problem can sometimes be caused by disabling or refusing to

accept

      cookies.

Thank’s before

On Fri, Dec 11, 2009 at 11:03 AM, Glen L. [email protected]
wrote:

If someone access aaa.com, it will be redirected to AAA Sorry Page or
AAA Sorry Page

I’ve tried

       location / {
you need

location = / {

   *  This problem can sometimes be caused by disabling or refusing to


nginx mailing list
[email protected]
nginx Info Page


O< ascii ribbon campaign - stop html mail - www.asciiribbon.org