apache index.html 翻译( Ubuntu Default Page)

这里写图片描述

Ubuntu Default Page

Ubuntu默认页面

This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.

这是用于在Ubuntu系统上正确安装Apache2后,测试服务器正常运行的默认欢迎页面。它基于Debian上的等效页面,从中可以获得Ubuntu Apache包装。如果您可以阅读此页面,这意味着安装在此站点的Apache HTTP服务器正常工作。在继续操作HTTP服务器之前,应该替换此文件(位于/var/www/html/index.html)

If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.

Configuration Overview
如果你是这个网站的正常用户,不知道这个页面是什么,这可能意味着该网站由于维护目前不可用。如果问题仍然存在,请与网站管理员联系。

Ubuntu's Apache2 default configuration is different from the upstream default configuration, and split into several files optimized for interaction with Ubuntu tools. The configuration system is fully documented in /usr/share/doc/apache2/README.Debian.gz. Refer to this for the full documentation. Documentation for the web server itself can be found by accessing the manual if the apache2-doc package was installed on this server.

Ubuntu的Apache2默认配置不同于上游默认配置,并分为几个文件,优化用于与Ubuntu工具交互。配置系统完整记录在/usr/share/doc/apache2/README.Debian.gz中。有关完整文档,请参阅此处。如果在此服务器上安装了apache2-doc软件包,则可以通过访问手册找到Web服务器本身的文档。

The configuration layout for an Apache2 web server installation on Ubuntu systems is as follows:

Ubuntu系统上Apache2 Web服务器安装的配置布局如下:

/etc/apache2/
| – apache2.conf
| – ports.conf
|– mods-enabled
| – *.load
| -- *.conf
|-- conf-enabled
|
– *.conf
|– sites-enabled
| `– *.conf

apache2.conf is the main configuration file. It puts the pieces together by including all remaining configuration files when starting up the web server.
ports.conf is always included from the main configuration file. It is used to determine the listening ports for incoming connections, and this file can be customized anytime.

apache2.conf是主配置文件。在启动Web服务器时,将包含其他的配置文件。类似C语言中的main函数
ports.conf始终包含在主配置文件中。它用于确定传入连接的监听端口,并且此文件可以随时自定义。

Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/ directories contain particular configuration snippets which manage modules, global configuration fragments, or virtual host configurations, respectively.
They are activated by symlinking available configuration files from their respective *-available/ counterparts. These should be managed by using our helpers a2enmod, a2dismod, a2ensite, a2dissite, and a2enconf, a2disconf . See their respective man pages for detailed information.
The binary is called apache2. Due to the use of environment variables, in the default configuration, apache2 needs to be started/stopped with /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not work with the default configuration.

*mods/conf-enabled/ 和 sites-enabled/ 目录中的各文件分别是可以管理模块,配置全局或配置虚拟主机配置。
它们通过从其各自的* - 可用/对应方符号链接可用的配置文件来激活。这些应该通过使用我们的助手a2enmod,a2dismod,a2ensite,a2dissite和a2enconf,a2disconf管理。有关详细信息,请参阅其各自的手册页。
二进制文件称为apache2。由于使用环境变量,在默认配置中,apache2需要使用/etc/init.d/apache2或apache2ctl启动/停止。调用/usr/bin/apache2将不能使用默认配置
Document Roots

By default, Ubuntu does not allow access through the web browser to any file apart of those located in /var/www, public_html directories (when enabled) and /usr/share (for web applications). If your site is using a web document root located elsewhere (such as in /srv) you may need to whitelist your document root directory in /etc/apache2/apache2.conf.

默认情况下,Ubuntu不允许通过Web浏览器访问位于/ var / www,public_html目录(启用时)和/ usr / share(对于Web应用程序)的任何文件。如果您的网站使用位于其他位置的Web文档根目录(例如/ srv),您可能需要将/etc/apache2/apache2.conf中的文档根目录列入白名单。

The default Ubuntu document root is /var/www/html. You can make your own virtual hosts under /var/www. This is different to previous releases which provides better security out of the box.

默认的Ubuntu根目录是/var/www/html。您可以在/var/www下创建自己的虚拟主机。这与以前的版本不同,它提供了更好的开箱即用的安全性。

Reporting Problems
Please use the ubuntu-bug tool to report bugs in the Apache2 package with Ubuntu. However, check existing bug reports before reporting a new bug.

Please report bugs specific to modules (such as PHP and others) to respective packages, not to the we

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值