P
P
Pavel2016-06-01 16:32:31
PHP
Pavel, 2016-06-01 16:32:31

How to fix 404 error when it only sees php files?

I set up a DLE site on Debian 7 with an ISP 5 panel
On sait.ru/index.php everything is OK
And on sait.ru/kategoriya/19-nivisti.html it gives 404 Not Found nginx/1.6.2
It also opens the created test.html Screenshot files
:
47eaeef9eb214ab0b44297d40acba10d.PNG55624601e45b4f28847566cfc6b26220.PNG416960804cd747f6bfbe900e91636f8a.PNG
And on the main page everything opens ...
e6847739772b467a8b697b33043396fa.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Soshnikov, 2016-06-01
@0Err

Most likely you need to write the Nginx config for dle
This should help
vds-admin.ru/nginx/zamena-rewriterules-v-nginx-dly...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question