try_files in subdirectory
thepixeldeveloper at googlemail.com
Mon May 18 02:05:23 MSD 2009
I am using try_files in a subdirectory and I'm coming up with some issues.
location ~ \.php$
try_files $uri $uri/;
try_files $uri $uri/ @kohana;
> location @kohana
fastcgi_param SCRIPT_FILENAME /usr/local/nginx/html/devkit/index.php;
This URL works correctly,
but when I remove the index.php file I get :
The page you requested devkit/coaster/17/olympia-looping could not be found.
but it should be coaster/17/olympia-looping instead.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx