mod_rewrite windows下的开启办法
来源:互联网 发布:炒股短线软件 编辑:程序博客网 时间:2024/05/16 02:18
最近发现一个B2B系统,下载下来本地调试,结果发现伪静态不能用,知道自己是环境的问题,在官方论坛泡了好久没有找到答案,最后自己终于弄明白了,记录一下。
我的系统信息:
WINDOWS XP SP3
Apache/2.2.4
PHP/5.2.3
MySQL/5.0.45
WINDOWS下开启Mod_rewrite模块方法:
1、记事本打开apache/conf/httpd.conf
2、搜索 LoadModule rewrite_module modules/mod_rewrite.so (可能版本不一样这个不一样,不过Apache2都是这个),去掉前面的#
3、 搜索AllowOverride None 替换为 AllowOverride All
不只一个AllowOverride All ,找到和下面代码类似的那个替换掉
<Directory "D:/usr/local/Apache2/cgi-bin">
AllowOverride All
Opti***** None
Order allow,deny
Allow from all
</Directory>
4、 重启Apache
这样mod_rewrite 在 windows 下就顺利开启了!!!
- mod_rewrite windows下的开启办法
- Apache下开启mod_rewrite
- ubuntu下的apache2打开mod_rewrite及开启wordpress固定链接
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- 在网页中嵌入swf文件
- [转]35个强大的UI设计教程
- BCP
- 怎样判断子进程已经结束 process.waitFor();的问题
- Linux 的 Spinlock 在 MIPS 多核处理器中的设计与实现
- mod_rewrite windows下的开启办法
- php导入到Excel 的 utf8、gbk 编码
- TC_SRM471 Div2 500
- 网志20100703
- word里有关背景的高级应用
- GoodGoodStudy,DayDayUp
- typedef的四个用途和两个陷阱
- JavaScript js 兼容浏览器问题 兼容FireFox(FF)、IE的解决方法
- HTML 5视频标签全属性详解