wampserver apache 500 Internal Server Error
来源:互联网 发布:快递员免费发短信软件 编辑:程序博客网 时间:2024/06/06 17:20
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
排查:
1:打开apache的错误日志apache_error.log,如果出现Invalid command 'RewriteEngine', 那说明apache没有开启rewrite模式
解决:
1:打开Apache安装目录下httpd.conf,搜索“LoadModule rewrite_modulemodules/mod_rewrite.so”,找到这一行,去掉前面的“#”;
2:找到“AllowOverride None”改为“AllowOverride All” 有两个地方需要修改
3:新建.haccess文件,放在当前网站根目录下,在.haccess文件中写伪静态规则,比如:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
4:重启apache
- wampserver apache 500 Internal Server Error
- wampserver apache 500 Internal Server Error
- wampserver apache 500 Internal Server Error
- wampserver apache 500 Internal Server Error(常见问题的解决办法)
- Internal Server Error Apache
- Apache 解决500 Internal Server Error 问题
- ubuntu apache 500 Internal Server Error
- apache错误:internal server error 500原
- apache错误:Internal Server Error
- apache错误:Internal Server Error
- apache错误:Internal Server Error
- apache Mercurial HTTP Error 500: Internal Server Error问题解决方法
- 500 Internal Server Error
- 500 internal server error
- 500 Internal Server Error
- apache出现 internal server error 500错误常见原因
- 500 error Internal Server Error
- apache报错Internal Server Error解决
- vim常用命令简表
- MIPS体系结构的特点
- windows下修改mysql的root默认空密码,mysql添加密码,mysql修改密码
- php添加curl 的支持
- Error 1406. Setup cannot write the value DisableExceptionChainValidation to the registry key \SOFTWARE\Microsoft\Windows NT\Curr
- wampserver apache 500 Internal Server Error
- 使用Zend Studio9开发基于ThinkPHP框架的代码自动提示
- zend studio添加导入已经存在的项目,zend studio导入thinkphp项目
- apache服务器开启rewrite模式总结 解决404错误
- mysql修改密码后phpmyadmin 出现#1045 - Access denied for user 'root'@'localhost' (using password: NO)
- cpu内部结构图
- eclipse启动错误 Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see
- 华清远见cortex-a8中led跑马灯效果
- ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)