Php pseudo-static IIS. Some Windows hosts do not support IIS. the htaccess file, which is not locally used by the apmserv server. htaccess file, which is not supported by IIS on the win host that can be configured with pseudo-static in the apmserv server environment. the htaccess file, which is not locally used by the apmserv server. for the htaccess file, use the apmserv server environment to configure pseudo-static data, you can refer to the php pseudo-static (url rewrite mod_rewrite rewrite) article, which describes in detail.
Here, we will mainly explain httpd. ini ~
Example: www.jb51.net/index.php
We want him to use www.jb51.net/index.html for direct access.
Www.jb51.net/newxx.php? = 10 [newxx. php is a detailed page of news]
We converted the pseudo-static form into www.jb51.net/new-10.html
The implementation process is as follows: httpd. ini source file
[ISAPI_Rewrite]
#3600 = 1 hour
# CacheClockRate 3600
RepeatLimit 32
# Protect httpd. ini and httpd. parse. errors files
# From accessing through HTTP
RewriteRule ^/httpd (? : \. Ini | \. parse \. errors). * [F, I, O]
RewriteRule/index.html/index. php
RewriteRule/new-(%0-9%%%%%.html $/newxx \. php \? Uid = $1 the above example shows that RewriteRule/index.html/index. php converts index. php to index.html
RewriteRule/new-(%0-9%%%%%.html $/newxx \. php \? Uid = $1 to new-101_which is the value of id1_number. html
It's easy. This pseudo-static mode is generally supported by The Space Merchants of win hosts!
Examples. htaccess file. if it is not a local file, you can use the. htaccess file on the apmserv server, and use the apmserv server environment to configure pseudo static files...