Page 1 of 1

где хранится дефолтная страница 200 OK ?

Posted: Sun Sep 02, 2018 8:50 pm
by host79
выдаю веб сервером 200 ОК в редиректе апача таким правилом

Code: Select all

RewriteRule ^(.*)$ - [R=200]
реврайт работает все нормально, выдается страница

Code: Select all

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 [email protected] to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
пробовал создать кастомную страницу в папке /home/admin/web/site.com/document_errors/ файлом 200.html перезагрузил апач но страница все равно дефолтная, а не моя. где мне поправить темплейт дефолтной 200 ОК страницы ?