How to do this?

Glen Lumanau glen at lumanau.web.id
Fri Dec 11 07:03:25 MSK 2009


I have a domain called aaa.com

I also have a website at aaa.com/blabla

 

What I need to do is,

 

If someone access aaa.com, it will be redirected to aaa.com/blabla or
aaa.com/blabla/bleble

 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091211/1b5643b3/attachment-0001.html>


More information about the nginx mailing list