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
Subject Author Posted

Remove URI string?

daveyfx January 09, 2013 01:41AM

Re: Remove URI string?

Jonathan Matthews January 09, 2013 11:44AM

Re: Remove URI string?

daveyfx January 09, 2013 11:35PM

Re: Remove URI string?

Edho Arief January 09, 2013 11:40PM

Re: Remove URI string?

daveyfx January 10, 2013 09:29AM

Re: Remove URI string?

Edho Arief January 10, 2013 09:44AM

Re: Remove URI string?

Francis Daly January 10, 2013 11:14AM

Re: Remove URI string?

daveyfx January 10, 2013 06:25PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 263
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