где хранится дефолтная страница 200 OK ?
Posted: Sun Sep 02, 2018 8:50 pm
выдаю веб сервером 200 ОК в редиректе апача таким правилом
реврайт работает все нормально, выдается страница
пробовал создать кастомную страницу в папке /home/admin/web/site.com/document_errors/ файлом 200.html перезагрузил апач но страница все равно дефолтная, а не моя. где мне поправить темплейт дефолтной 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>