Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster. Error 403
localhost
11/03/10 14:17:57
Apache/2.2.9 (APMServ) PHP/5.2.6

解决方案 »

  1.   

    Apache的配置不正确你应该给需要访问的目录设置访问权限,在httpd.conf文件中加入类似下面的配置:
    <Directory 目录名>
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Allow from all
    </Directory>
      

  2.   

    对于PHP初学者,想配置好一个环境确实有点困难,下个集成环境吧,如WAMP,简单易操作