Welcome! Log In Create A New Profile

Advanced

How to do this?

Glen Lumanau
December 10, 2009 11:08PM
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



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to do this?

Glen Lumanau December 10, 2009 11:08PM

Re: How to do this?

edogawaconan December 11, 2009 01:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready