我用的是Yosemite和Apache 2.4
/private/etc/apache2/httpd.conf
ServerName 127.0.0.1:80
DocumentRoot "/Library/WebServer/Documents/"
<Directory "/Library/WebServer/Documents">
Options Multiviews FollowSymLinks
MultiviewsMatch Any
AllowOverride All
Order allow,deny
A
本质上,我试图在本地编写我的google地图项目,但我只是得到了这些错误。
Google has disabled use of the Maps API for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps Javascript API v3 on this site....
似乎其他答案是为google API的另一个版本编写的,因为我已经尝试了建议的修复,并列出了以下白名单:
*humboldt.edu/*
*lo