displaying standard 404 page, if php file is not found

Samuel Vogel samydelux at gmail.com
Wed Jul 29 20:25:28 MSD 2009


Am 29.07.09 18:17, schrieb Piotr Sikora:
>>         try_files  $uri  @404;
>
> Try using "error_page" instead of "try_files".
>
> AFAIK "try_files" is supposed to work static files, not FastCGI / proxy.
But the file does exist, shouldn't try_files be able to check that?

Regards,
Samy





More information about the nginx mailing list