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]
以下是.htaccess内容
RewriteEngine OnRewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(js|ico|gif|jpe?g|bmp|png|css)$ /index.php [NC,L]
我前面把文件移到出文件夹就可以显示了,但不知道安装后会不会有问题
我的wamp路径
D:\wamp\www\phpwind9
.htaccess 的作用是将他所在的目录变成网站的根(当然是需要启用 url 重写的)
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.