记录-----出现Internal Server Error错误

本文介绍了如何解决服务器内部错误(InternalServerError),通常这种情况由入口文件未找到、.htaccess文件配置错误或Apache重写功能未启用引起。文章提供了具体的解决方案,包括修改Apache配置文件httpd.conf的相关设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Internal Server Error 
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, add.com@phpstudy and inform them of the time the error occurred, and anything you might have done that may have caused the error 
出现这种错误的原因可能有三种 
1.入口文件未找到 
2.hataccess文件出错 
3.apache里重写未开启 
在apache配置文件httpd.conf中搜索 
AllowOverride None 
然后改为AllowOverride All 
然后在找到 
LoadModule rewrite_module modules/mod_rewrite.so 
把这个前面的“#”号去掉,就是去掉注释,然后重启apache.搞定!

转载于:https://my.oschina.net/JKOPERA/blog/1865718

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值