Apache

来自阿尔派 Linux

Apache HTTP 服务器项目致力于为包括 UNIX 和 Windows 在内的现代操作系统开发和维护开源 HTTP 服务器。

简单设置

添加 apache2 软件包

# apk add apache2

启动服务

# rc-service apache2 start

在浏览器中导航到机器的地址;您应该看到默认的 “It works” 页面。

在启动时启用 apache (如果需要)

# rc-update add apache2

编辑 /etc/apache2/ 中的配置并运行

# rc-service apache2 restart

以启用您的更改

其他指南

参见