X
X
xFreake2017-08-15 10:01:38
Apache HTTP Server
xFreake, 2017-08-15 10:01:38

How to set up 404?

The fact is that there are a bunch of sites on the host and for all there is a single htaccess in which there is a path to each of the sites, so we need to definitely call it example.com so that if it issues 404, 404.php opens

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Localhost, 2017-08-15
@selo

ErrorDocument 404 /404.php

....образно
ErrorDocument 400 /404.php
ErrorDocument 401 /404.php
ErrorDocument 403 /404.php
ErrorDocument 404 /404.php
ErrorDocument 500 /404.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question