apache alias 配置容易出错的地方

Alias /haha "/html/hha"
<Directory "/html/hha">
OPtions Indexes  FollowSymLinks
AllowOVerride None
Allow from all
Require all granted
</Directory>

“/html/hha”

有可能这个字符串多了空格,比如这样
"/html/hha "

可能前面的/ 没写
“html/hha”

这都是有可能的错误 而且不会有语法错误,很难找到问题
o(╥﹏╥)o

猜你喜欢

转载自blog.csdn.net/jonathan_joestar/article/details/113077445