I. Notes:
1. This function has special requirements on the server environment. Independent host users need to add corresponding Rewrite rules to the Web server. Therefore, they need server permissions for use. For VM users, you need to consult your space service provider: whether the space supports Rewrite and whether the site directory is supported. the file parsing of htaccess takes effect only when the two conditions are met.
2. After the URL is static, if your server environment does not support or is not configured, the "webpage cannot be displayed" error message will appear when you access these links, and HDwiki will not be accessible normally. If the website cannot be accessed, go to the management background and disable the URL static function to restore the website to normal.
Ii. IIS Environment Settings
The URL static function is restricted by the server environment where HDwiki is located. Before enabling this function, select the environment configuration method based on your Web server environment. Incorrect settings may cause the server to fail to start or the function to be invalid.
IIS Web Server (ISAPI rewrite 3.0) (standalone host user) download ISAPI rewrite 3.0 (here download http://www.jb51.net/softs/41171.html) to install.
3. The following rules should be written to the iis configuration file httpd. ini, for example:
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32
RewriteRule ^/(. *) \. (htm | html | shtml | tpl | asp | jsp | php | do) $/index \. php \? $1
Where hdwiki is the root directory:
All enabled rules are as follows:
RewriteRule ^/(. *) \. (htm | html | shtml | tpl | asp | jsp | php | do) $/index \. php \? $1
Enable the rewrite rule with "http: // mydomain/wiki/entry name" as follows:
RewriteRule ^/javaske/wiki/(. *) $/javaske/index \. php \? Doc-innerlink-$1
When hdwiki is a subdirectory:
For example, hdwiki is in the directory named "Ke ".
All enabled rules are as follows:
RewriteRule ^/javaske/(. *) \. (htm | html | shtml | tpl | asp | jsp | php | do) $/javaske/index \. php \? $1
Enable the rewrite rule with "http: // mydomain/wiki/entry name" as follows:
RewriteRule ^/javaske/wiki/(. *) $/javaske/index \. php \? Doc-innerlink-$1
Set the backend as follows:
Iis rewrite Rules in HDwiki