Directory fallback

Tobia Conforto tobia.conforto at gmail.com
Wed Dec 30 02:27:18 MSK 2009


merlin corey wrote:
> Make an attempt at least! :-)

Actually, I posted after 2 hours of failed attempts :(

> I'll get you started... please note this is written for 0.8.30 and above and I didn't test this, but it should be close.

Eh, I was using 0.6.32, maybe that's why I wasn't going far.
Thank you for your example, tomorrow I'll work on it.

This, for example, I wouldn't have guessed in a million years:

> fastcgi_intercept_errors on;
> ...
> error_page 404 = @basephp

This is also pretty ingenious:

> fastcgi_param SCRIPT_FILENAME /var/www/base$fastcgi_script_name;

Many thanks!

Tobia


More information about the nginx mailing list