windows下安装apache默认是没有开启mod_rewrite模块的,启用也很简单,修改apache配置文件httpd.conf,查找rewrite_module,
找到这行:#LoadModule rewrite_module modules/mod_rewrite.so这一行前面的#号去掉,改为LoadModule rewrite_module modules/mod_rewrite.so
时间: 2024-10-05 05:42:03
windows下安装apache默认是没有开启mod_rewrite模块的,启用也很简单,修改apache配置文件httpd.conf,查找rewrite_module,
找到这行:#LoadModule rewrite_module modules/mod_rewrite.so这一行前面的#号去掉,改为LoadModule rewrite_module modules/mod_rewrite.so