Welcome! Log In Create A New Profile


multiple 404 pages

Posted by pwarnock 
multiple 404 pages
April 30, 2009 06:29PM
I have a server with multiple hosts and would like to throw 404s from fastCGI, but have nginx serve a static file if it exists. If it doesn't exist, I would like to return the fastCGI response body.

I've used fastcgi_intercept_errors and error_404, but have been failed with conditionals.

Is this possible? - pw
Re: multiple 404 pages
May 01, 2009 11:50AM
Can you show the config file you're using?

Jim Ohlstein
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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