A
A
anriko2018-12-08 08:02:17
Apache HTTP Server
anriko, 2018-12-08 08:02:17

404 is not returned by Apache if the page does not exist?

голос «против»
избранное
Так не работает 

<IfModule mod_rewrite.c>

  RewriteEngine On

  RewriteBase /

  RewriteRule ^index\.php$ - [L]

  RewriteCond %{REQUEST_FILENAME} !-f

  RewriteCond %{REQUEST_FILENAME} !-d

  RewriteRule . /index.php [L]
 ErrorDocument 404 /404.html
</IfModule>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question