Welcome! Log In Create A New Profile

Advanced

Re: Remove URI string?

January 10, 2013 09:29AM
Edho Arief Wrote:
-------------------------------------------------------
> On Thu, Jan 10, 2013 at 11:35 AM, daveyfx <nginx-forum@nginx.us>
> wrote:
> > I gave it a try and it did not work out. My access log repeated the
> > following entry ~ 20 times.
> >
> > [09/Jan/2013:23:31:47 -0500] "GET / HTTP/1.1" 302 160 "-"
> "Mozilla/5.0
> > (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0"
> >
> > Firefox kindly informed me that "The page isn't redirecting
> properly" I'm
> > guessing it's getting caught in an infinite redirect.
> >
> > Is there anything else I can try?
> >
>
> location = / {
> index index.html;
> }
> location / {
> return 302 /;
> }
>

Thank you for the suggestion Edho. Unfortunately this still gave me a redirect loop.

> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
SubjectAuthorPosted

Remove URI string?

daveyfxJanuary 09, 2013 01:41AM

Re: Remove URI string?

Jonathan MatthewsJanuary 09, 2013 11:44AM

Re: Remove URI string?

daveyfxJanuary 09, 2013 11:35PM

Re: Remove URI string?

Edho AriefJanuary 09, 2013 11:40PM

Re: Remove URI string?

daveyfxJanuary 10, 2013 09:29AM

Re: Remove URI string?

Edho AriefJanuary 10, 2013 09:44AM

Re: Remove URI string?

Francis DalyJanuary 10, 2013 11:14AM

Re: Remove URI string?

daveyfxJanuary 10, 2013 06:25PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready