【发布时间】:2017-04-18 01:15:42
【问题描述】:
我尝试使用 Apache 2.4 在我的服务器 centos 7 中部署 Angular 2 Webpack starter,但是当我从笔记本电脑浏览器进入服务器域 ip 时,它会向我发送一条禁止消息。
Angular 2 webpack 安装在 /var/www/html/ 目录中,httpd.conf 文件中的文档根目录是 /var/www/html/src/ index.html Angular 2 在哪里,我有httpd.conf 文件中的以下配置
<Directory />
AllowOverride All
Require all granted
</Directory>
<Directory "/var/www">
AllowOverride All
Require all granted
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
请帮忙。
问候。
【问题讨论】: