本地wamp的Internal Server Error错误解决方法
2013-07-17 15:01
141 查看
一、本地wamp下调试url重写,加入htaccess文件后提示:500 Internal Server Error ...,而删除这个文件网站又可以正常访问,其实就是没有开启url重写的功能。开启一下就可以。
WAMP下htaccess出错的解决方法:
1. 打开wamp安装目录,搜一下 httpd.conf 这个文件,找到后打开;
2. 搜一下“LoadModule rewrite_module modules/mod_rewrite.so”,找到这一行,去掉前面的“#”;
3.查一下htaccess文件的规则语法是否有错误,本人在写404页面的时候就遇到这样的问题:
ErrorDocument 404 root_path/404.html 写成ErrorDocument 404 root_path/ 404.html 就出现500 Internal Server Error
4. 重启wamp。
二、本地wamp开启了url重写功能或者网站没有htaccess文件后,仍然出现500 Internal Server Error...,检查网站config配置文件的路径和参数是否正确。
WAMP下htaccess出错的解决方法:
1. 打开wamp安装目录,搜一下 httpd.conf 这个文件,找到后打开;
2. 搜一下“LoadModule rewrite_module modules/mod_rewrite.so”,找到这一行,去掉前面的“#”;
3.查一下htaccess文件的规则语法是否有错误,本人在写404页面的时候就遇到这样的问题:
ErrorDocument 404 root_path/404.html 写成ErrorDocument 404 root_path/ 404.html 就出现500 Internal Server Error
4. 重启wamp。
二、本地wamp开启了url重写功能或者网站没有htaccess文件后,仍然出现500 Internal Server Error...,检查网站config配置文件的路径和参数是否正确。
相关文章推荐
- 本地wamp的Internal Server Error错误解决方法
- 本地wamp的Internal Server Error错误解决方法
- 本地wamp的Internal Server Error错误解决方法
- 本地wamp的Internal Server Error错误解决方法
- 本地wamp的Internal Server Error错误解决方法
- 本地wamp的Internal Server Error错误解决方法
- 本地wamp的Internal Server Error错误解决方法
- wamp 的Internal Server Error错误解决方法
- HTTP 错误 500.19 - Internal Server Error 的解决方法
- HTTP 错误 500.24 - Internal Server Error的解决方法
- 配置nagios时,出现Internal Server Error错误解决方法
- HTTP 错误 500.19 Internal Server Error的解决方法
- HTTP 错误 500.24 - Internal Server Error的解决方法
- HTTP错误500.19 - Internal Server Error解决方法
- HTTP 错误 500.19 Internal Server Error的解决方法
- HTTP 错误 500.19- Internal Server Error 错误解决方法
- HTTP 错误 500.19 - Internal Server Error 错误解决方法 集锦iis7(在window7下)
- 【转】nginx提示:500 Internal Server Error错误的解决方法
- nginx提示:500 Internal Server Error错误的解决方法
- HTTP 错误 500.19- Internal Server Error 错误解决方法