Welcome! Log In Create A New Profile

Advanced

Re: Directory fallback

merlin corey
December 30, 2009 02:32AM
On Tue, Dec 29, 2009 at 3:27 PM, Tobia Conforto
<tobia.conforto@gmail.com> wrote:
> 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
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

You're welcome. Please note a small typo, I did not end the
error_page declaration with a semicolon. There might be other small
errors I apologize for :). If you review the documentation at
http://wiki.nginx.org regarding these directives it should all be very
clear to you :).

Good luck!
-- Merlin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Directory fallback

Tobia Conforto December 29, 2009 01:00PM

Re: Directory fallback

merlin corey December 29, 2009 04:24PM

Re: Directory fallback

Tobia Conforto December 29, 2009 06:32PM

Re: Directory fallback

merlin corey December 30, 2009 02:32AM

Re: Directory fallback

Tobia Conforto December 30, 2009 06:46AM

Re: Directory fallback

merlin corey January 07, 2010 01:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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