Help with convert .htaccess to nginx :(

Edho Arief edho at myconan.net
Fri Oct 28 03:36:36 UTC 2011


On Fri, Oct 28, 2011 at 10:26 AM, Giang <nginx-forum at nginx.us> wrote:
> When I access http://myurl.com/installer.php nginx could display the
> page correctly, but when I clicked Next button, it said: "404 Not Found"
> (new URL: http://myurl.com/installer.php/step1)
>

As for this one, you need something with fastcgi_split_path. I'm not
really familiar but I think something like this:

location ~ \.php(/.+)$ {
  fastcgi_split_path ...
  ...
}

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list