wamp环境,现在是phpwind解压后把upload文件夹放入www目录,upload不能在浏览器显示,怀疑是upload中的.htaccess文件的关系,但不知道怎么改?文件都没有修改过。
以下是.htaccess内容
RewriteEngine OnRewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(js|ico|gif|jpe?g|bmp|png|css)$ /index.php [NC,L]

解决方案 »

  1.   

    补充下
    我前面把文件移到出文件夹就可以显示了,但不知道安装后会不会有问题
    我的wamp路径
    D:\wamp\www\phpwind9
      

  2.   

    把 upload 目录中的内容复制到你的网站目录中(不含 upload 目录)
    .htaccess 的作用是将他所在的目录变成网站的根(当然是需要启用 url 重写的)
      

  3.   

    我把upload里的文件放www目录下,就是下面提示,.htaccess还存在的话就出现下面提示了。。拿掉又好了
    Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.More information about this error may be available in the server error log.
      

  4.   

    程序有错误,打开错误提示功能看看。php.ini 中令 display_errors = On ,重启下Apache再试。