R
R
Ruslan2014-08-12 01:04:48
linux
Ruslan, 2014-08-12 01:04:48

404 Not Found - how to replace with your page?

Greetings.
When I open the link domen.ru/str, I get this:
2ff6239bc59d42ec9e4faed433959d9d.png
The file/directory str does not really exist.
How to replace the output on the screen with your own page?
On board ISPmanager 5 and Debian 7.6.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan, 2014-08-12
@margent

Custom 404 without HTTP/1.1 301 Moved Permanently
Sorry, found it. It is strange that when choosing a topic, this question did not appear in the results)

F
falsebyte, 2014-08-12
@falsebyte

It is possible through the .htaccess file
ErrorDocument 404 /error/404_error.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question