|
很多站长在本地安装pw时,准备安装,输入安装路径“域名/install.php ”就出现500错误!很多人都会莫名其妙,也不知道怎么解决。错误如下:
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.
经过深圳网络公司的仔细检查分析,其实原因在于apache中的rewrite模块没有打开,但是pw9默认使用的url方式需要rewrite打开。所以才出现了这样的异常 。
解决方法很简单.
找到httpd.conf文件中的
;LoadModule rewrite_module modules/mod_rewrite.so
去掉前面的 ; (分号注释)
保存之后重启apache一切就正常了,是不是很简单呢?
本文来源:http://www.gyd.cc/zhuanti/tech/9106.html
|
|