November 18, 2011 10:04PM
António P. P. Almeida Wrote:
-------------------------------------------------------
> On 18 Nov 2011 23h31 WET, nginx-forum@nginx.us
> wrote:

> Try this:
>
> [...]

Thanks, but i alway get 500 error.

I'm using php-fpm with chroot-config, not sure what's the right setting for this.

For "location \.php" i'm using:
fastcgi_param SCRIPT_FILENAME /htdocs$fastcgi_script_name;

> Of course you have to fill in the details on
> static file handling,
> blocking the readme.html file, etc.

Is there really no easier way with the same behavior as apache?
/?xxx=xxx is alway /index.php?xxx=xxx :-/

Thanks
Subject Author Posted

php and urls with /?xxx

Salem November 18, 2011 06:31PM

Re: php and urls with /?xxx

António P. P. Almeida November 18, 2011 08:40PM

Re: php and urls with /?xxx

Salem November 18, 2011 10:04PM

Re: php and urls with /?xxx

Edho Arief November 18, 2011 10:12PM

Re: php and urls with /?xxx

Edho Arief November 18, 2011 10:16PM

Re: php and urls with /?xxx

Salem November 19, 2011 08:56AM

Re: php and urls with /?xxx

Francis Daly November 19, 2011 10:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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