更新时间:2023-02-22 09:47:46
检查 mod_rewrite
模块是否已安装?如果不是在 httpd.conf
文件中友好地启用它。
Check the mod_rewrite
module is installed or not? if not kindly enable it in httpd.conf
file.
查找以下行并删除#
(表示取消注释)。
Find the following line and remove #
(means uncomment) in front of it.
LoadModule rewrite_module modules/mod_rewrite.so
也不要忘记使用以下命令重新启动apache http服务:
Also don't forget to restart apache http service using following command:
service httpd restart
从CPanel编辑http.conf文件的步骤:
Following are the steps to edit http.conf file from CPanel:
阅读更多: http://www.ehow.com/how_8696084_edit-httpdconf-cpanel.html#ixzz2YRDEgOMT
在IIS服务器阅读此链接以启用mod_rewrite