Welcome! Log In Create A New Profile

Advanced

Incorrect $request_filename in 1.0.5?

August 27, 2011 07:21PM
Hi, I've recently compiled nginx 1.0.5 on localhost (debian), and have set up a test site so that i may access it http://testsite in the browser (set "testsite" to 127.0.0.1 in /etc/hosts and an nginx server config with root /var/www/testsite;)

i've been having some problems with some rewrites, and started pushing some of nginx vars out to php as fastcgi_param's to troubleshoot. i've noticed that $request_filename is incorrect. it's showing as "/var/www/testsiteindex.php" when accessing http://testsite/foo/bar/ (which is being redirected to index.php?q=foo/bar/).

i'm not sure if it's my set up as I'm fairly new at this!

Thanks
Subject Author Posted

Incorrect $request_filename in 1.0.5?

Roger Smith August 27, 2011 07:21PM

Re: Incorrect $request_filename in 1.0.5?

Ensiferous August 28, 2011 02:27AM

Re: Incorrect $request_filename in 1.0.5?

Roger Smith August 28, 2011 10:18AM

Re: Incorrect $request_filename in 1.0.5?

Igor Sysoev August 28, 2011 01:50PM

Re: Incorrect $request_filename in 1.0.5?

Roger Smith August 28, 2011 03:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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