apache 部署https报错

来源:互联网 发布:java timestamp 比较 编辑:程序博客网 时间:2024/06/05 05:39

问题一 无法访问项目

Forbidden

You don't have permission to access /test/ on this server.

原来是httpd.conf文件中的权限访问控制设置不对,在httpd.conf中加入以下这段:

<Directory /test>   AllowOverride None   #Order allow,deny   Allow from all</Directory>

这是针对目录/test的权限设置,如果要对所有目录设置权限,/test改为/即可