Xoops URL Rewrite 错误修正 + 加强 | 绿色学院 - Green Institute

类别:网站制作 点击:0 评论:0 推荐:
绿色学院 - Green Institute - 不听人间乐 - 想得到 - 做得到 - Xoops <VirtualHost *:88>
ServerAdmin [email protected]
DocumentRoot "I:/gi-2288"
ServerName gi.2288.org
ErrorLog "G:/Apache/dummy-gi.2288.org.88-error_log"
UseCanonicalName Off Alias /document "J:/Document/"
<Directory "J:/Document/">
Options FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all

</Directory>

Alias /forum "J:/forum/"
<Directory "J:/forum/">
Options FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>

Alias /color-scheme "J:/color-scheme/"
<Directory "J:/color-scheme/">
Options FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>

Alias /pro "J:/pro/"
<Directory "J:/pro">
Options FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>

 

Alias /t "J:/Test/"
<Directory "J:/Test/">
Options all
AllowOverride all
Order allow,deny
Allow from all
</Directory>

Alias /article "J:/article/"
<Directory "J:/article/">
Options all
AllowOverride all
Order allow,deny
Allow from all
</Directory>

RewriteEngine On

 

# --------------------News Modules
RewriteRule /modules/news/topic_(.*)\.htm$ /modules/news/index.php?storytopic=$1
# http://gi.2288.org:88/modules/news/topic_2.htm

RewriteRule /modules/news/article_(.*)\.htm$ /modules/news/article.php?storyid=$1
# http://gi.2288.org:88/modules/news/article_2.htm

RewriteRule /modules/news/topic(.*)-(.*)\.htm$ /modules/news/index.php?storytopic=$1&start=$2
# http://gi.2288.org:88/modules/news/topic2-2.htm

RewriteRule /modules/news/archive\.htm$ /modules/news/archive.php
# http://gi.2288.org:88/modules/news/archive.htm

RewriteRule /modules/news/index.htm$ /modules/news/index.php
# http://gi.2288.org:88/modules/news/index.htm

 

# --------------------Wfdownloads Modules
RewriteRule /modules/wfdownloads/topic_(.*)\.htm$ /modules/wfdownloads/viewcat.php?cid=$1
# http://gi.2288.org:88/modules/mydownloads/viewcat.php?cid=9
# http://gi.2288.org:88/modules/mydownloads/topic_9.htm

RewriteRule /modules/wfdownloads/topic_o_(.*)\.htm$ /modules/wfdownloads/viewcat.php?op=&cid=$1
# http://gi.2288.org:88/modules/mydownloads/topic_o_9.htm

RewriteRule /modules/wfdownloads/newlist\.htm$ /modules/wfdownloads/newlist.php
# http://gi.2288.org:88/modules/mydownloads/newlist.htm

RewriteRule /modules/wfdownloads/list_(.*)\.htm$ /modules/wfdownloads/topten.php?list=$1
# http://gi.2288.org:88/modules/mydownloads/list_hit.htm

RewriteRule /modules/wfdownloads/index.htm$ /modules/wfdownloads/index.php
# http://gi.2288.org:88/modules/mydownloads/index.htm

RewriteRule /modules/wfdownloads/down(.*)-(.*)\.htm$ /modules/wfdownloads/singlefile.php?cid=$1&lid=$2
# http://gi.2288.org:88/modules/mydownloads/down2-2.htm

RewriteRule /modules/wfdownloads/list_(.*)\.htm$ /modules/wfdownloads/viewcat.php?list=$1
# http://gi.2288.org:88/modules/mydownloads/list_2.htm

 

# --------------------Mydownloads Modules
RewriteRule /modules/mydownloads/index.htm$ /modules/mydownloads/index.php
# http://gi.2288.org:88/modules/mydownloads/index.htm

RewriteRule /modules/mydownloads/topic_(.*)\.htm$ /modules/mydownloads/viewcat.php?cid=$1
# http://gi.2288.org:88/modules/mydownloads/topic_2.htm

RewriteRule /modules/mydownloads/hit_(.*)\.htm$ /modules/mydownloads/topten.php?hit=$1
# http://gi.2288.org:88/modules/mydownloads/hit_hit.htm

RewriteRule /modules/mydownloads/rate_(.*)\.htm$ /modules/mydownloads/topten.php?rate=$1
# http://gi.2288.org:88/modules/mydownloads/rate_rate.htm

RewriteRule /modules/mydownloads/down(.*)-(.*)\.htm$ /modules/mydownloads/singlefile.php?cid=$1&lid=$2
# http://gi.2288.org:88/modules/mydownloads/down2-2.htm

 

# --------------------MyAlbum
RewriteRule /modules/myalbum/index.htm$ /modules/myalbum/index.php
# http://gi.2288.org:88/modules/myalbum/index.htm

RewriteRule /modules/myalbum/hit_(.*)\.htm$ /modules/myalbum/topten.php?hit=$1
# http://gi.2288.org:88/modules/myalbum/hit_1.htm

RewriteRule /modules/myalbum/photo_(.*)\.htm$ /modules/myalbum/photo.php?lid=$1
# http://gi.2288.org:88/modules/myalbum/photo.php?lid=1532
# http://gi.2288.org:88/modules/myalbum/photo_1532.htm

RewriteRule /modules/myalbum/topic_(.*)\.htm$ /modules/myalbum/viewcat.php?cid=$1
# http://gi.2288.org:88/modules/myalbum/viewcat.php?cid=48
# http://gi.2288.org:88/modules/myalbum/topic_48.htm

RewriteRule /modules/myalbum/view(.*)-(.*)\.htm$ /modules/myalbum/viewcat.php?num=$1&cid=$2
# http://gi.2288.org:88/modules/myalbum/view2-2.htm

RewriteRule /modules/myalbum/photo(.*)-(.*)\.htm$ /modules/myalbum/photo.php?lid=$1&cid=$2
# http://gi.2288.org:88/modules/myalbum/photo.php?lid=914&cid=34
# http://gi.2288.org:88/modules/myalbum/photo914-34.htm

 

# --------------------AMS
RewriteRule /modules/AMS/index.htm$ /modules/AMS/index.php
# http://gi.2288.org:88/modules/AMS/index.htm

RewriteRule /modules/AMS/archive.htm$ /modules/AMS/archive.php
# http://gi.2288.org:88/modules/AMS/archive.htm

RewriteRule /modules/AMS/article_(.*)\.htm$ /modules/AMS/article.php?storyid=$1
# http://gi.2288.org:88/modules/AMS/article.php?storyid=38
# http://gi.2288.org:88/modules/AMS/article_38.htm

RewriteRule /modules/AMS/topic_(.*)\.htm$ /modules/AMS/index.php?storytopic=$1
# http://gi.2288.org:88/modules/AMS/topic_2.htm

RewriteRule /modules/AMS/archive(.*)-(.*)\.htm$ /modules/AMS/archive.php?year=$1&month=$2
# http://gi.2288.org:88/modules/AMS/archive2-2.htm

 

 

# --------------------Booklist
RewriteRule /modules/booklists/index.htm$ /modules/booklists/index.php
# http://gi.2288.org:88/modules/booklists/index.htm

RewriteRule /modules/booklists/faq.htm$ /modules/booklists/faq.php
# http://gi.2288.org:88/modules/booklists/faq.htm

RewriteRule /modules/booklists/search.htm$ /modules/booklists/search.php
# http://gi.2288.org:88/modules/booklists/search.htm

RewriteRule /modules/booklists/hit_(.*)\.htm$ /modules/booklists/topten.php?hit=$1
# http://gi.2288.org:88/modules/booklists/hit_1.htm

RewriteRule /modules/booklists/rate_(.*)\.htm$ /modules/booklists/topten.php?rate=$1
# http://gi.2288.org:88/modules/booklists/rate_1.htm

RewriteRule /modules/booklists/view(.*)\.htm$ /modules/booklists/viewcat.php?cid=$1
# http://gi.2288.org:88/modules/booklists/view2.htm

RewriteRule /modules/booklists/book(.*)-(.*)\.htm$ /modules/booklists/singlelink.php?cid=$1&lid=$2
# http://gi.2288.org:88/modules/booklists/book2-2.htm

RewriteRule /modules/booklists/viewbook-(.*)\.htm$ /modules/booklists/singlelink.php?lid=$1
# http://gi.2288.org:88/modules/booklists/viewbook-2.htm

 

# --------------------Xphpbbi
RewriteRule /modules/xphpbbi/index.htm$ /modules/xphpbbi/index.php
# http://gi.2288.org:88/modules/xphpbbi/index.htm

RewriteRule /modules/xphpbbi/viewforum_(.*)\.htm$ /modules/xphpbbi/viewforum.php?f=$1
# http://gi.2288.org:88/modules/xphpbbi/viewforum_1.htm

RewriteRule /modules/xphpbbi/viewtopic_(.*)\.htm$ /modules/xphpbbi/viewtopic.php?t=$1
# http://gi.2288.org:88/modules/xphpbbi/viewtopic_1.htm

RewriteRule /modules/xphpbbi/viewtopic_post(.*)-(.*)-(.*)-(.*)-(.*)\.htm$ /modules/xphpbbi/viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5

RewriteRule /modules/xphpbbi/viewtopic_o(.*)\.htm#(.*)$ /modules/xphpbbi/viewtopic.php?p=$1#$1
# http://gi.2288.org:88/modules/xphpbbi/viewtopic_o2.htm

RewriteRule /modules/xphpbbi/n-(.*)\.htm$ /modules/xphpbbi/search.php?search_id=$1
#http://gi.2288.org:88/modules/xphpbbi/search.php?search_id=newposts

RewriteRule /modules/xphpbbi/ego-(.*)\.htm$ /modules/xphpbbi/search.php?search_id=$1
# http://gi.2288.org:88/modules/xphpbbi/search.php?search_id=egosearch
# http://gi.2288.org:88/modules/xphpbbi/ego-egosearch.htm

RewriteRule /modules/xphpbbi/u-(.*)\.htm$ /modules/xphpbbi/search.php?search_id=$1
# http://gi.2288.org:88/modules/xphpbbi/search.php?search_id=unanswered
# http://gi.2288.org:88/modules/xphpbbi/u-unanswered.htm

RewriteRule /modules/xphpbbi/index_(.*)\.htm$ /modules/xphpbbi/index.php?c=$1
# http://gi.2288.org:88/modules/xphpbbi/index.php?c=3
# http://gi.2288.org:88/modules/xphpbbi/index_3.htm

 

# --------------------NewBB
RewriteRule /modules/newbb/index.htm$ /modules/newbb/index.php
# http://gi.2288.org:88/modules/newbb/index.htm

RewriteRule /modules/newbb/viewall.htm$ /modules/newbb/viewall.php
# http://gi.2288.org:88/modules/newbb/viewall.php
# http://gi.2288.org:88/modules/newbb/viewall.htm

RewriteRule /modules/newbb/post.htm$ /modules/newbb/post.php
# http://gi.2288.org:88/modules/newbb/post.php
# http://gi.2288.org:88/modules/newbb/post.htm

RewriteRule /modules/newbb/search.htm$ /modules/newbb/search.php
# http://gi.2288.org:88/modules/newbb/search.php
# http://gi.2288.org:88/modules/newbb/search.htm

RewriteRule /modules/newbb/forum_(.*)\.htm$ /modules/newbb/viewforum.php?forum=$1
# http://gi.2288.org:88/modules/newbb/viewforum.php?forum=5
# http://gi.2288.org:88/modules/newbb/forum_5.htm

RewriteRule /modules/newbb/viewtopic_id(.*)-(.*)\.htm$ /modules/newbb/viewtopic.php?topic_id=$1&forum=$2
# http://gi.2288.org:88/modules/newbb/viewtopic.php?topic_id=111&forum=5
# http://gi.2288.org:88/modules/newbb/viewtopic_id111-5.htm

RewriteRule /modules/newbb/topic_mode_(.*)-(.*)-(.*)\.htm$ /modules/newbb/viewtopic.php?viewmode=$1&topic_id=$2&forum=$3
# http://gi.2288.org:88/modules/newbb/viewtopic.php?viewmode=flat&topic_id=111&forum=5
# http://gi.2288.org:88/modules/newbb/topic_mode_flat-111-5.htm

RewriteRule /modules/newbb/newtopic_(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.htm$ /modules/newbb/viewforum.php?start=$1&forum=$2&sortname=$3&sortorder=$4&sortsince=$5&type=$6
# http://gi.2288.org:88/modules/newbb/viewforum.php?start=0&forum=27&sortname=p.post_time&sortorder=DESC&sortsince=100&type=unread
# http://gi.2288.org:88/modules/newbb/newtopic_0-27-p.post_time-DESC-100-unread.htm

RewriteRule /modules/newbb/digest_(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.htm$ /modules/newbb/viewforum.php?start=$1&forum=$2&sortname=$3&sortorder=$4&sortsince=$5&type=$6
# http://gi.2288.org:88/modules/newbb/viewforum.php?start=0&forum=27&sortname=p.post_time&sortorder=DESC&sortsince=100&type=digest
# http://gi.2288.org:88/modules/newbb/digest_0-27-p.post_time-DESC-100-digest.htm

RewriteRule /modules/newbb/unreplied(.*)\.htm$ /modules/newbb/viewall.php?type=$1
# http://gi.2288.org:88/modules/newbb/viewall.php?type=unreplied
# http://gi.2288.org:88/modules/newbb/unrepliedunreplied.htm

RewriteRule /modules/newbb/topic_time_(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.htm$ /modules/newbb/viewtopic.php?viewmode=$1&order=$2&topic_id=$3&forum=$4&move=$5&topic_time=$6
# http://gi.2288.org:88/modules/newbb/viewtopic.php?viewmode=threaded&order=ASC&topic_id=111&forum=5&move=prev&topic_time=1105542643
# http://gi.2288.org:88/modules/newbb/topic_time_threaded-ASC-111-5-prev-1105542643.htm

RewriteRule /modules/newbb/forum-cat_(.*)\.htm$ /modules/newbb/index.php?cat=$1
# http://gi.2288.org:88/modules/newbb/index.php?cat=4
# http://gi.2288.org:88/modules/newbb/forum-cat_4.htm

RewriteRule /modules/newbb/newtopic_(.*)\.htm$ /modules/newbb/newtopic.php?forum=$1
# http://gi.2288.org:88/modules/newbb/newtopic.php?forum=5
# http://gi.2288.org:88/modules/newbb/newtopic_5.htm

RewriteRule /modules/newbb/view-newtopic_(.*)-(.*)\.htm$ /modules/newbb/viewtopic.php?topic_id=$1&start=$2
# http://gi.2288.org:88/viewtopic.php?topic_id=155&start=0
# http://gi.2288.org:88/modules/newbb/view-newtopic_155-0.htm

 

# --------------------Ipb
RewriteRule /modules/ipboard/index.htm$ /modules/ipboard/index.php
# http://gi.2288.org:88/modules/ipboard/index.htm

RewriteRule /modules/ipboard/showtopic_(.*)-(.*)\.htm$ /modules/ipboard/index.php?showtopic=$1&s=$2
# http://gi.2288.org:88/modules/ipboard/index.php?showtopic=23&s=8d88e79f2ec22ddc5c84d6414bf6c945
# http://gi.2288.org:88/modules/ipboard/showtopic_23-8d88e79f2ec22ddc5c84d6414bf6c945.htm

RewriteRule /modules/ipboard/showforum_(.*)-(.*)\.htm$ /modules/ipboard/index.php?showforum=$1&s=$2
# http://gi.2288.org:88/modules/ipboard/index.php?showforum=17&s=8d88e79f2ec22ddc5c84d6414bf6c945
# http://gi.2288.org:88/modules/ipboard/showforum_17-8d88e79f2ec22ddc5c84d6414bf6c945.htm

RewriteRule /modules/ipboard/showforum_(.*)\.htm$ /modules/ipboard/index.php?showforum=$1
# http://gi.2288.org:88/modules/ipboard/index.php?showforum=14
# http://gi.2288.org:88/modules/ipboard/showforum_14.htm

RewriteRule /modules/ipboard/showtopic_(.*)\.htm$ /modules/ipboard/index.php?showtopic=$1
# http://gi.2288.org:88/modules/ipboard/index.php?showtopic=17
# http://gi.2288.org:88/modules/ipboard/showtopic_17.htm

RewriteRule /modules/ipboard/act_(.*)-(.*)\.htm$ /modules/ipboard/index.php?act=$1&c=$2
# http://gi.2288.org:88/modules/ipboard/index.php?act=SC&c=4
# http://gi.2288.org:88/modules/ipboard/act_SC-4.htm

RewriteRule /modules/ipboard/act-i_(.*)\.htm$ /modules/ipboard/index.php?act=$1
# http://gi.2288.org:88/modules/ipboard/index.php?act=idx
# http://gi.2288.org:88/modules/ipboard/act-i_idx.htm

 

# --------------------Digest
RewriteRule /modules/digest/index.htm$ /modules/digest/index.php
# http://gi.2288.org:88/modules/digest/index.htm

RewriteRule /modules/digest/cid_(.*)\.htm$ /modules/digest/index.php?category_id=$1
# http://gi.2288.org:88/modules/digest/index.php?category_id=2
# http://gi.2288.org:88/modules/digest/cid_2.htm

RewriteRule /modules/digest/ud_(.*)-(.*)\.htm$ /modules/digest/index.php?op=$1&digest_id=$2
# http://gi.2288.org:88/modules/digest/index.php?op=update&digest_id=7
# http://gi.2288.org:88/modules/digest/ud_update-7.htm

RewriteRule /modules/digest/ctid_(.*)\.htm$ /modules/digest/custom.php?category_id=$1
# http://gi.2288.org:88/modules/digest/custom.php?category_id=2
# http://gi.2288.org:88/modules/digest/ctid_2.htm

RewriteRule /modules/digest/u-ccid_(.*)\.htm$ /modules/digest/index.php?digest_id=$1
# http://gi.2288.org:88/modules/digest/index.php?digest_id=10#10&
# http://gi.2288.org:88/modules/digest/u-ccid_10.htm#10&

RewriteRule /modules/digest/u-cid_(.*)-(.*)\.htm$ /modules/digest/index.php?op=$1&category_id=$2
# http://gi.2288.org:88/modules/digest/index.php?op=update&category_id=4
# http://gi.2288.org:88/modules/digest/u-cid_update-4.htm

 

# --------------------Wordbook
RewriteRule /modules/wordbook/index.htm$ /modules/wordbook/index.php
# http://gi.2288.org:88/modules/wordbook/index.htm

RewriteRule /modules/wordbook/letter.htm$ /modules/wordbook/letter.php
# http://gi.2288.org:88/modules/wordbook/letter.htm

RewriteRule /modules/wordbook/category.htm$ /modules/wordbook/category.php
# http://gi.2288.org:88/modules/wordbook/category.htm

RewriteRule /modules/wordbook/category_(.*)\.htm$ /modules/wordbook/category.php?categoryID=$1
# http://gi.2288.org:88/modules/wordbook/category.php?categoryID=1
# http://gi.2288.org:88/modules/wordbook/category_1.htm

RewriteRule /modules/wordbook/letter_(.*)\.htm$ /modules/wordbook/letter.php?init=$1
# http://gi.2288.org:88/modules/wordbook/letter.php?init=B
# http://gi.2288.org:88/modules/wordbook/letter_B.htm

RewriteRule /modules/wordbook/entry_(.*)\.htm$ /modules/wordbook/entry.php?entryID=$1
# http://gi.2288.org:88/modules/wordbook/entry.php?entryID=111
# http://gi.2288.org:88/modules/wordbook/entry_111.htm

# --------------------ghdb
RewriteRule /modules/ghdb/index.htm$ /modules/ghdb/index.php
# http://gi.2288.org:88/modules/ghdb/index.htm

RewriteRule /modules/ghdb/letter.htm$ /modules/ghdb/letter.php
# http://gi.2288.org:88/modules/ghdb/letter.htm

RewriteRule /modules/ghdb/category.htm$ /modules/ghdb/category.php
# http://gi.2288.org:88/modules/ghdb/category.htm

RewriteRule /modules/ghdb/category_(.*)\.htm$ /modules/ghdb/category.php?categoryID=$1
# http://gi.2288.org:88/modules/ghdb/category.php?categoryID=1
# http://gi.2288.org:88/modules/ghdb/category_1.htm

RewriteRule /modules/ghdb/letter_(.*)\.htm$ /modules/ghdb/letter.php?init=$1
# http://gi.2288.org:88/modules/ghdb/letter.php?init=B
# http://gi.2288.org:88/modules/ghdb/letter_B.htm

RewriteRule /modules/ghdb/entry_(.*)\.htm$ /modules/ghdb/entry.php?entryID=$1
# http://gi.2288.org:88/modules/ghdb/entry.php?entryID=111
# http://gi.2288.org:88/modules/ghdb/entry_111.htm

 

 

# --------------------Wordpress
RewriteRule /modules/wordpress/index.htm$ /modules/wordpress/index.php
# http://gi.2288.org:88/modules/wordpress/index.htm

RewriteRule /modules/wordpress/index_(.*)\.htm$ /modules/wordpress/index.php?p=$1
# http://gi.2288.org:88/modules/wordpress/index.php?p=9
# http://gi.2288.org:88/modules/wordpress/index_9.htm

RewriteRule /modules/wordpress/cat_(.*)\.htm$ /modules/wordpress/index.php?cat=$1
# http://gi.2288.org:88/modules/wordpress/index.php?cat=1
# http://gi.2288.org:88/modules/wordpress/cat_1.htm

RewriteRule /modules/wordpress/m_(.*)\.htm$ /modules/wordpress/index.php?m=$1
# http://gi.2288.org:88/modules/wordpress/index.php?m=200412
# http://gi.2288.org:88/modules/wordpress/m_200412.htm

RewriteRule /modules/wordpress/author_(.*)\.htm$ /modules/wordpress/index.php?author=$1
# http://gi.2288.org:88/modules/wordpress/index.php?author=1
# http://gi.2288.org:88/modules/wordpress/author_1.htm

 

# --------------------Flashgames
RewriteRule /modules/flashgames/index.htm$ /modules/flashgames/index.php
# http://gi.2288.org:88/modules/flashgames/index.htm

RewriteRule /modules/flashgames/highscores.htm$ /modules/flashgames/highscores.php
# http://gi.2288.org:88/modules/flashgames/highscores.htm

RewriteRule /modules/flashgames/hit_(.*)\.htm$ /modules/flashgames/topten.php?hit=$1
# http://gi.2288.org:88/modules/flashgames/topten.php?hit=1
# http://gi.2288.org:88/modules/flashgames/hit_1.htm

RewriteRule /modules/flashgames/rate_(.*)\.htm$ /modules/flashgames/topten.php?rate=$1
# http://gi.2288.org:88/modules/flashgames/topten.php?rate=1
# http://gi.2288.org:88/modules/flashgames/rate_1.htm

RewriteRule /modules/flashgames/cid_(.*)\.htm$ /modules/flashgames/viewcat.php?cid=$1
# http://gi.2288.org:88/modules/flashgames/viewcat.php?cid=5
# http://gi.2288.org:88/modules/flashgames/cid_5.htm

RewriteRule /modules/flashgames/lid_(.*)\.htm$ /modules/flashgames/game.php?lid=$1
# http://gi.2288.org:88/modules/flashgames/game.php?lid=15
# http://gi.2288.org:88/modules/flashgames/lid_15.htm

 

# --------------------Mylinks
RewriteRule /modules/mylinks/index.htm$ /modules/mylinks/index.php
# http://gi.2288.org:88/modules/mylinks/index.htm

RewriteRule /modules/mylinks/submit.htm$ /modules/mylinks/submit.php
# http://gi.2288.org:88/modules/mylinks/submit.htm

RewriteRule /modules/mylinks/hit_(.*)\.htm$ /modules/mylinks/topten.php?hit=$1
# http://gi.2288.org:88/modules/mylinks/topten.php?hit=1
# http://gi.2288.org:88/modules/mylinks/hit_1.htm

RewriteRule /modules/mylinks/rate_(.*)\.htm$ /modules/mylinks/topten.php?rate=$1
# http://gi.2288.org:88/modules/mylinks/topten.php?rate=1
# http://gi.2288.org:88/modules/mylinks/rate_1.htm

RewriteRule /modules/mylinks/cid_(.*)\.htm$ /modules/mylinks/viewcat.php?cid=$1
# http://gi.2288.org:88/modules/mylinks/viewcat.php?cid=5
# http://gi.2288.org:88/modules/mylinks/cid_5.htm

RewriteRule /modules/mylinks/visit_(.*)-(.*)\.htm$ /modules/mylinks/visit.php?cid=$1&lid=$2
# http://gi.2288.org:88/modules/mylinks/visit.php?cid=21&lid=14
# http://gi.2288.org:88/modules/mylinks/visit_21-14.htm

 

# --------------------XMLine
RewriteRule /modules/xmline/index.htm$ /modules/xmline/index.php
# http://gi.2288.org:88/modules/xmline/index.htm

RewriteRule /modules/xmline/cid_(.*)\.htm$ /modules/xmline/index.php?category_id=$1
# http://gi.2288.org:88/modules/xmline/index.php?category_id=2
# http://gi.2288.org:88/modules/xmline/cid_2.htm

RewriteRule /modules/xmline/o-item_(.*)\.htm$ /modules/xmline/item.php?digest_id=$1
# http://gi.2288.org:88/modules/xmline/item.php?digest_id=32
# http://gi.2288.org:88/modules/xmline/o-item_32.htm

RewriteRule /modules/xmline/d-(.*)-(.*)\.htm$ /modules/xmline/index.php?op=$1&digest_id=$2
# http://gi.2288.org:88/modules/xmline/index.php?op=update&digest_id=40
# http://gi.2288.org:88/modules/xmline/d-update-40.htm

RewriteRule /modules/xmline/c-cid_(.*)\.htm$ /modules/xmline/custom.php?category_id=$1
# http://gi.2288.org:88/modules/xmline/custom.php?category_id=7
# http://gi.2288.org:88/modules/xmline/c-cid_7.htm

RewriteRule /modules/xmline/u-ccid_(.*)\.htm$ /modules/xmline/index.php?digest_id=$1
# http://gi.2288.org:88/modules/xmline/index.php?digest_id=40#40&
# http://gi.2288.org:88/modules/xmline/u-ccid_40#40.htm

RewriteRule /modules/xmline/ua-cid_(.*)-(.*)\.htm$ /modules/xmline/index.php?op=$1&category_id=$2
# http://gi.2288.org:88/modules/xmline/ua-cid_update-4.htm

 

 

# --------------------lykos_syndication
RewriteRule /modules/lykos_syndication/index.htm$ /modules/lykos_syndication/index.php
# http://gi.2288.org:88/modules/lykos_syndication/index.htm

 

 

# --------------------Dictionary
RewriteRule /modules/dictionary/index.htm$ /modules/dictionary/index.php
# http://gi.2288.org:88/modules/dictionary/index.htm

RewriteRule /modules/dictionary/dictionary_(.*)\.htm$ /modules/dictionary/detail.php?id=$1
# http://gi.2288.org:88/modules/dictionary/detail.php?id=4
# http://gi.2288.org:88/modules/dictionary/dictionary_4.htm

RewriteRule /modules/dictionary/letter_(.*)\.htm$ /modules/dictionary/letter.php?letter=$1
# http://gi.2288.org:88/modules/dictionary/letter.php?letter=B
# http://gi.2288.org:88/modules/dictionary/letter_B.htm

# --------------------T-TechTools
RewriteRule /modules/T-TechTools/index.htm$ /modules/T-TechTools/index.php
# http://gi.2288.org:88/modules/T-TechTools/index.htm

RewriteRule /modules/T-TechTools/C_(.*)\.htm$ /modules/T-TechTools/index.php?opi=$1
# http://gi.2288.org:88/modules/T-TechTools/index.php?opi=HTMLJS
# http://gi.2288.org:88/modules/T-TechTools/C_HTMLJS.htm
# http://gi.2288.org:88/modules/T-TechTools/C_HTMLPHP.htm
# http://gi.2288.org:88/modules/T-TechTools/C_HTMLEDIT.htm
# http://gi.2288.org:88/modules/T-TechTools/C_HTMLPERL.htm
# http://gi.2288.org:88/modules/T-TechTools/C_Techpop.htm
# http://gi.2288.org:88/modules/T-TechTools/C_DeDupe.htm
# http://gi.2288.org:88/modules/T-TechTools/C_MTags.htm

 

# --------------------sitemap
RewriteRule /modules/sitemap/index.htm$ /modules/sitemap/index.php
# http://gi.2288.org:88/modules/sitemap/index.htm

 

# --------------------ASCIIArtist
RewriteRule /modules/ASCIIArtist/index.htm$ /modules/ASCIIArtist/index.php
# http://gi.2288.org:88/modules/ASCIIArtist/index.htm

 

# --------------------PageRank
RewriteRule /modules/PageRank/index.htm$ /modules/PageRank/index.php
# http://gi.2288.org:88/modules/PageRank/index.htm

# --------------------hzzpy
RewriteRule /modules/HZZPY/index.htm$ /modules/HZZPY/index.php
# http://gi.2288.org:88/modules/HZZPY/index.htm

 

# --------------------Liaise
RewriteRule /modules/liaise/index.htm$ /modules/liaise/index.php
# http://gi.2288.org:88/modules/liaise/index.htm

 

# --------------------GI-Tools
RewriteRule /modules/GI-Tools/index.htm$ /modules/GI-Tools/index.php
# http://gi.2288.org:88/modules/GI-Tools/index.htm

RewriteRule /modules/GI-Tools/GI-Tools_pagerank.htm$ /modules/GI-Tools/GI-Tools_pagerank.php
# http://gi.2288.org:88/modules/GI-Tools/GI-Tools_pagerank.htm

RewriteRule /modules/GI-Tools/GI-Tools_HZZPY.htm$ /modules/GI-Tools/GI-Tools_HZZPY.php
# http://gi.2288.org:88/modules/GI-Tools/GI-Tools_HZZPY.htm

RewriteRule /modules/GI-Tools/GI-Tools_ASCIIArtist.htm$ /modules/GI-Tools/GI-Tools_ASCIIArtist.php
# http://gi.2288.org:88/modules/GI-Tools/GI-Tools_ASCIIArtist.htm

 

# --------------------Other
RewriteRule /search.htm$ /search.php
# http://gi.2288.org:88/search.htm

#-------------------不要在根目录定义索引文件!!! - 比如 /index.htm ,这是错误的选择!!-------------------#

 

</VirtualHost>

Author: Emerald
WebSite: http://gi.2288.org:88
Sitename: 绿色学院 - Green Institute

2005-1-30

本文地址:http://com.8s8s.com/it/it30834.htm