Когда я ввел неверный URL:
http://localhost/404url
ответное сообщение с сервера не на английском языке:
Objet non trouvé!
L'URL-адрес запрашивается у вас в офисе. Si vous avez tapé l'URL à la main, veuillez vérifier l'orthographe et réessayer.
Si vous pensez qu'il s'agit d'une erreur du serveur, veuillez contacter le webmestre.
Как изменить язык по умолчанию на английский?
Благодаря,
Перейдите в → xampp\apache\error и откройте HTTP_NOT_FOUND.html.var, затем добавьте следующий код в файл, сохраните его и перезапустите apache.
Content-language: en
Content-type: text/html; charset=UTF-8
Body:----------en--
<!--#set var="TITLE" value="Object not found!"
--><!--#include virtual="include/top.html" -->
The requested URL was not found on this server.
<!--#if expr="-n v('HTTP_REFERER')" -->
The link on the
<a href="<!--#echo encoding="url" var="HTTP_REFERER" -->">referring
page</a> seems to be wrong or outdated. Please inform the author of
<a href="<!--#echo encoding="url" var="HTTP_REFERER" -->">that page</a>
about the error.
<!--#else -->
If you entered the URL manually please check your
spelling and try again.
<!--#endif -->
<!--#include virtual="include/bottom.html" -->
----------en--
Надеюсь, это решит вашу проблему.