不能让本地主机在WAMP与谷歌驱动器上工作

我知道这已经被问了10K次,但其他地方的解决scheme似乎并没有为我工作。

我使用Apache 2.4.2运行WAMP 2.2,并试图将DocumentRoot设置为不同于默认文件夹的文件夹

http:// localhost / phpmyadmin /工作得很好,但我无法加载localhost并不断得到:

在这里输入图像说明

如果我尝试localhost:8080我得到:

在这里输入图像说明

httpd.conf文件

 ServerName localhost # Deny access to the entirety of your server's filesystem. You must # explicitly permit access to web content directories in other # <Directory> blocks below. # <Directory /> Options Indexes FollowSymLinks MultiViews AllowOverride all Require all denied </Directory> .... DocumentRoot "C:/Users/wesley.smith/Google Drive/" <Directory "C:/Users/wesley.smith/Google Drive/"> Options Indexes FollowSymLinks AllowOverride All # onlineoffline tag - do not remove Require all granted </Directory> 

在我的主机文件中,我取消了下面的注释:

 # localhost name resolution is handled within DNS itself. 127.0.0.1 localhost ::1 localhost 

我已经安装了使用端口80的Skype,所以我去了Tools -> Options -> Advanced -> Connections并取消选中“使用端口80和443替代”框。 然后,我只是为了好的措施才把Skype关掉

如果我运行Apache-> Service-> test port 80我得到:

在这里输入图像说明

我也可以从命令行使用PHP就好了: 在这里输入图像说明

我已经尝试了我在网上find的一切无济于事,还有什么可能是错的?

尝试通过这个改变文档根块

 <Directory /> Options Indexes FollowSymLinks MultiViews AllowOverride all Require all granted </Directory> 

并做一个Apache重启。