ASP伪静态的问题
来源:百度知道 编辑:UC知道 时间:2024/05/26 07:58:39
channel.asp?ChannelID=1 有什么办法实现伪静态?
httpd.ini 怎么写?
httpd.ini 怎么写?
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]
RewriteRule /(所在目录,以根目录起)/channel/(\d+)\.html /(所在目录,以根目录起)/channel.asp\?ChannelID=$1
RewriteRule /channel_(\d+)\.htm /channel\.asp\?ChannelID=$1
试试