Welcome! Log In Create A New Profile

Advanced

Re: NginX problem with Reverse Proxy'ing

Maxim Dounin
April 11, 2010 10:50AM
Hello!

On Sun, Apr 11, 2010 at 03:15:22PM +0200, Victor Fondevilla wrote:

> I just restarted Nginx and Apache renaming log files to have fresh ones.
> Here are the snips from log:
>
> Nginx Access Log
> 83.97.217.199 - - [11/Apr/2010:12:41:51 +0000] "GET /index.php HTTP/1.1" 301
> 20 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media
> Center PC 6.0; InfoPath.2; Tablet PC 2.0)"
>
> Apache Access Log
> 127.0.0.1 - - [11/Apr/2010:12:41:51 +0000] "GET /index.php HTTP/1.0" 301 376
> "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2;
> .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
> 6.0; InfoPath.2; Tablet PC 2.0)"

So it's obviously Apache which retruned 301. You have to dig into
your Apache configuration and/or your php code to find out what's
happening.

> There isn't nothing in apache or nginx error logs.
>
> I double-checked the index.php file and is in the correct path /var/www/

Hint: start from checking if it's in fact called, most likely it's
not. Either due to rewrites you configured in Apache config
and/or .htaccess, or due to some other Apache configuration
options.

Maxim Dounin

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

NginX problem with Reverse Proxy'ing

Victor April 10, 2010 11:40AM

Re: NginX problem with Reverse Proxy'ing

Maxim Dounin April 10, 2010 02:08PM

Re: NginX problem with Reverse Proxy'ing

Victor Fondevilla April 10, 2010 03:20PM

Re: NginX problem with Reverse Proxy'ing

Victor Fondevilla April 10, 2010 03:22PM

Re: NginX problem with Reverse Proxy'ing

Maxim Dounin April 10, 2010 03:58PM

RE: NginX problem with Reverse Proxy'ing

Victor Fondevilla April 11, 2010 09:20AM

Re: NginX problem with Reverse Proxy'ing

Maxim Dounin April 11, 2010 10:50AM

RE: NginX problem with Reverse Proxy'ing

Victor Fondevilla April 13, 2010 03:34PM

Re: NginX problem with Reverse Proxy'ing

Victor Fondevilla April 11, 2010 02:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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