Apache在Windows下使用Mod_rewrite模块
来源:互联网 发布:东营华睿软件 编辑:程序博客网 时间:2024/05/12 01:25
很简单的配置,确花了我一些时间,把它贴出来,给大家参考
1 在Apache/conf/http.conf中,打开
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c (看程序版本)
Options Indexes FollowSymLinks
裡面會包著一行:
AllowOverride None
把它改成
AllowOverride All
Order allow,deny
Allow from all
重新启动Apache使修改生效。
2 使用DOS的Copy命令建立.htaccess文件,如下
RewriteEngine on
RewriteBase /itscms
RewriteRule cms/.*?/.html cms.php
- 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模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Lotus Cars
- [技术评论]龙芯电脑
- SQL Server 2005的100范例程序及数据库下载
- Lotus Cars
- Caucho Resin 开始支持 PHP
- Apache在Windows下使用Mod_rewrite模块
- Tempo研究之FDS
- Web2.0盈利模式已经找到?
- 微软推出SQL Server 2005 JDBC Driver 1.1
- Web2.0的舞台,每个人都是媒体
- 推荐一个基于Ajax的查询API网站
- 揭秘jbpm流程引擎内核设计思想及构架
- 微软宣布将推出XNA Game Studio
- 为 LaTeX 添加英文 TrueType 字体