ttpd-vhosts.conf,在这里开启目录浏览功能Options Indexes FollowSymLinks。如果你没有开启目录浏览功能,然后网站下面有没有index.php等入口文件的话,会提示403错误。
以前的Allow from All 对应 Require all granted
Deny from All 对应 Require all denied
如果发生错误没头绪,可以在httpd.conf中设置LogLevel debug,这样在Apache2\logs下有localhost_error.log的日志文件,会有错误信息。