Home  >  Article  >  Backend Development  >  htaccess伪静态规则

htaccess伪静态规则

WBOY
WBOYOriginal
2016-06-13 11:45:10989browse

求助htaccess伪静态规则
求助htaccess伪静态规则,转IIS的httpd.ini伪静态规则
测试网站:http://www.fphs5.com/date/ 它后面的动态的参数:?date=2014-1-10
我想用伪静态实现为直接以日期显示的地址如:2014110 这样的格式!
htaccess伪静态规则为:

rewrite ^/date/$ index_date.php last;
rewrite ^/date/(.*)/$ index_date.php?date=$1 last;

请问各位高手如何转换啊,或者帮忙给写一段也可以!谢谢各位了,辛苦了!!!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn