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