Web site Construction Technology is constantly changing, early learning to build stations are used in dynamic pages, and later the popular generation of static effects. However, if due to the large amount of information on the site, after the creation of static site volume will be particularly large, if we want to modify the template, generating a static estimate of the total station is hard enough. At present, the more popular way is pseudo static. Some time ago a friend helped me to make a website directory program, I also add to the blog level two directory.
Program with the dynamic page, today I try to modify pseudo static, in fact, is also very simple, with a few conditions can be achieved.
First, if you are using a virtual host, verify that rewrite pseudo static httpd.ini files are supported
Second, we need to change the dynamic page link in the program to a pseudo static effect, such as showurl.asp?id=123 need to replace showurl-123.html
Third, add the Httpd.ini file
[Isapi_rewrite]
# 3600 = 1 hour
cacheclockrate 3600 repeatlimit-Rewriterule ^/daquan/showurl-
(d+). html$/daquan/ Showurl.asp?id=$1
Four, put the Httpd.ini file into the site root directory. Open the site to try the effect.
If the win host site requires pseudo static, we can follow the above method settings.
Original address: http://www.itbulu.com/blog/891.html