.htaccess 

##################### 뱣Ϊ .htaccess #####################
#  RewriteEngine ģʽ
Options -Indexes
RewriteEngine On
# ޸е /up ΪԴĿ¼ַڸĿ¼У뽫 /up ޸Ϊ /
RewriteBase /up
# еphp׺ļ α̬Ϊhtml׺
RewriteRule ^([a-z]+[a-z0-9_]*)\.html$ $1\.php
# Rewrite ϵͳ޸
RewriteRule ^play/([0-9]+)\.html$ play.php?id=$1
RewriteRule ^list-([0-9]+)\.html$ list.php?page=$1
RewriteRule ^v/(.*)$ file/vd.php/$1
RewriteRule ^b/(.*)$ file/bd.php/$1
##################### 뱣Ϊ .htaccess #####################


httpd.ini
@@@@@@@@@@@@@@@@@@@@@ 뱣Ϊ httpd.ini @@@@@@@@@@@@@@@@@@@@@
[ISAPI_Rewrite]
RepeatLimit 32
RewriteRule /([a-zA-Z0-9]*)\.html /$1\.php
RewriteRule /play/([0-9]+)\.html /play\.php\?id=$1
RewriteRule /list-([0-9]+)\.html /list\.php\?page=$1
RewriteRule /v\/(.*)$ /file/vd.php/$1
RewriteRule /b\/(.*)$ /file/bd.php/$1
RewriteRule /rss\.xml$ /rss.php
@@@@@@@@@@@@@@@@@@@@@ 뱣Ϊ httpd.ini @@@@@@@@@@@@@@@@@@@@@

Ĵ 浽Ŀ¼
Ȼ  Ĵʽ ޸ play.phpҳ index.phpҳ  list.phpҳ

play.php?id=xxxx ȫĳ play/xxxx.html
list.php?page=xx ȫĳ list-xxxx.html
ķŪ
