我看网上有很多此类功能,当然asp.net自身很容易实现,但是其它的要实现会出现一点小问题,本人写了一个,经过测试没有任何问题,应该也支持apache。
代码如下:
RewriteRule ^(.*)/([\w\-]+)\?(.*)$ $1/$2\.asp\?$3 RewriteRule ^(.*)/([\w\-]+)$ $1/$2.asp
Powered By CMSDream Copyright © (2008-2010) All Rights Reserved. XHTML | CSS | Archiver
青锋幽灵 's blog - Design by CMSDream Skin from CMSDream 闽ICP备08007477号 QQ:183797117 Processed in 0.028770 second(s), 7 queries,