首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >(XAMPP)在Apache中将语言环境改为英语

(XAMPP)在Apache中将语言环境改为英语
EN

Stack Overflow用户
提问于 2014-11-19 07:04:49
回答 1查看 2.5K关注 0票数 0

当我输入更正后的url:

代码语言:javascript
复制
    http://localhost/404url

来自服务器的响应消息(不是英文):

没有麻烦的人! L‘’URLée n'a pas puêtre surée sur ce serveurvous avez tapél‘’URLàla main,veuillez vérifier l‘正交笔录和réessayer 我会为您服务的,我们将与您联系。

如何将默认语言更改为英语?

谢谢,

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-11-19 09:45:30

转到apache xampp\apache\error并打开HTTP_NOT_FOUND.html.var,,然后在文件中添加以下代码,保存它并重新启动->。

代码语言:javascript
复制
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--

希望这能解决你的问题。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27010903

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档