E
E
Evgeny Samsonov2015-05-03 17:55:06
PHP
Evgeny Samsonov, 2015-05-03 17:55:06

Why doesn't 404 work in DLE?

Lord, I'm afraid of the second day. The task of transferring a site to DLE from Apache to a bunch of NGINX + PHP-FPM is haunting.
Actually, everything took off except for the 404 error for urls that end in ".php", everything else works out perfectly. The Nginx config twisted in every way, it seems that the engine ignores it in this regard. Where can I add a drop so that for ".php" it also worked out a 404 error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Tutubalin, 2015-05-03
@Kennius

create if there is no .htaccess
in and into it

ErrorDocument 404 /404.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question