前段时间去一家公司试岗时,环境搭建完成运行项目时遇到“Internal Server Error”错误,来记录下解决办法,方便下次遇到同样的问题来解决。
报错信息如下:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.&n...
Windows环境从Apache2.2改成Apache2.4后httpd.conf中的设置异同。
1、权限设定方式变更
2.2使用Order Deny / Allow的方式,2.4改用Require
apache2.2:
Order deny,allow
Deny from all
apache2.4:
Require all denied
此处比较常用的有如下几种:Require all denied
Require all granted
Require host xxx.com
Require ip 192.168.1 192.168.2
Require local
注意:若有设定在htaccess文件中的也要修改
2...