http://api.com/就是Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.4.17 Server at api.com Port 80 但 如果是http://api.com/demo01.php 直接访问文件就行 不知道为啥 ?老师在吗?有点不解
报你没有权限访问。直接访问不符合规则。