VirtualHost + Name + Port + Alias ​​+ Rewrite

xiaoxiao2021-03-06  41

Listen 80

Listen 88

Listen 99

Listen 89

Usecanonicalname OFF

Namevirtualhost 192.168.1.2:80 Namevirtualhost 192.168.1.2:88 Namevirtualhost 192.168.1.2:99 Namevirtualhost 192.168.1.2:89

serveradmin btbtd@yahoo.com.cn documentroot "i: / gi-2288" Servername Gi.2288.org errorlog "g: /apache/dummy-gi.2288.org.88- Error_log" UsecanonicalName OFF

Alias ​​/ Article "L: / Article /" Options Followsymlinks Allowoverride All ORDER ALLOW, DENY Allow from all

Alias ​​/ Document "L: / Document /" Options Followsymlinks Allowoverride All ORDER ALLOW, DENY Allow from All

Alias ​​/ forum "l: / forum /" Options FollowSymlinks Allowoverride All ORDER ALLOW, DENY Allow from All

Alias ​​/ color-scheme "l: / color-scheme /" Options Followsymlinks allowOverride All ORDER ALLOW, DENY Allow from all

Alias ​​/ PHP "I: / PHP /" Options FileInfo Order, Deny Allow from all

Alias ​​/ Pro "L: / Pro /" Options Followsymlinks Allowoverride All ORDER ALLOW, DENY Allow from All

Alias ​​/ E "i: / e /" Options FollowSymlinks Allowoverride All ORDER ALLOW, DENY Allow from all

Alias ​​/ a "i: / a /" options Followsymlinks Allowoverride All ORDER ALLOW, DENY Allow from All

Alias ​​/ C "i: / c /" Options Followsymlinks Allowoverride All ORDER ALLOW, DENY Allow from all alias / n "i: / n /" Options Followsymlinks Allowoverride All ORDER ALOW, DENY Allow from All

Alias ​​/ test "l: / test /" Options all allowoverride all Order allow, deny allow from all RewriteEngine ON

# -------------------- News Modules RewriteUle /Modules/news/topic_( )/.htm @ /modules/news/index.php?storytopic= $$ [L] REWRITERULE /MODULES/NEWS/Article_ ([0-9] ).htm full /Modules/news/Article.php?storyid= $ 1 REWRITERULE /MODULES/NEWS/topic(.*)-(.* )/ .htm $ /Modules/news/index.php?storytopic= $ 1&Start= $ 2 REWRITERULE /MODULES/NEWS/Archive/.htm full /Modules/news/archive.php Rewriterule /Modules/news/index.htm full / modules / News / index.php

# -------------------- Wfdownloads Modules Rewriterule /Modules/wfdownloads/topic_( (. )/.htm @ /modules/wfdownloads/viewcat.php?cid= $ 1 [L] RewriteRule /modules/wfdownloads/topic_o_(. )/.htm$ /modules/wfdownloads/viewcat.php?op=&cid=$1 [L] RewriteRule /modules/wfdownloads/newlist/.htm$ / modules / wfdownloads /newlist.php RewriteRule /modules/wfdownloads/hit_/.htm$ /modules/wfdownloads/topten.php?list=hit RewriteRule /modules/wfdownloads/rate/.htm$ /modules/wfdownloads/topten.php?list=rate RewriteRule /modules/wfdownloads/index.htm$ /modules/wfdownloads/index.php RewriteRule /modules/wfdownloads/down(.*)-(.*)/.htm$ /modules/wfdownloads/singlefile.php?cid=$1 & Lid = $ 2 Rewriterule /Modules/wfdownloads/list(.* )/.htm @ /modules/wfdownloads/viewcat.php?list= $ 1

# -------------------- MyDownloads Modules ReWriterule /Modules/Mydownloads/index.htm! (. ) /. htm $ /Modules/mydownloads/viewcat.php?cid= $ 1 [l] Rewriteerule /Modules/myDownloads/hit_(. )/.htm @ /modules/mydownloads/topten.php?hit=1 [l ] REWRITERULE / MODULES /MYDOWNLOADS/Rate_ (. )/.htm full of /modules/mydownloads/topten.php?rate= $ 1 [l] riterule /modules/mydownloads/down (.* )-(.* )/.htm $ /Modules/mydownloads/singlefile.php?cid= $ 1&lid= $ 2 # ------------------ Myalb Rewriterule /Modules/myalbum/index.htm / / modules /myalbum/index.php shutriterule /modules/myalbum/hit_(. /.htm full / typ hit=1 shutriterule /modules/myalbum/photo_(. )/.htm full of / modules / MODULES /myalbum/photo.php?lid= $1 [l] riterule /modules/myalbum/topic_(. )/.htm full /modules/myalbum/viewcat.php?cid= $1 [l] Rewriterule / Modules / Myalbum / View (. *) - (. *) /. htm $ /Modules/myalbum/viewcat.php?num= $ 1&cid= $2 rebriteerule /modules/myalbum/photo(.htm full of / modules / myalbu m /photo.php? LID = $ 1 & CID = $ 2

# -------------------- Ams Rewriterule /Modules/ams/index.htm $ /Modules/ams/index.php riterule /modules/AMS/Archive.htm /modules/ams/archive.php shutriterule /modules/ams/Article_( (. )/.htm full of /modules/ams/Article.php?storyId=1 shutriteerule /modules/ams/topic_(. )/.htm $ /modules/ams/index.php?storytopic= - 1 REWRITERULE /MODULES/AMS/Archive (.* )-(.* )/.htm full / tydules/ams/archive.php?year= $ 1&month= $ 2

# ------------------ Booklist Rewriterule /Modules/bookLists/index.htm full / tydules/bookLists/index.php rewriterule /Modules/bookLists/hit_( HTM $ /Modules/bookLists/topten.php?hit=1 shutriterule /modules/bookLists/rate_(. )/.htm full /Modules/bookLists/topten.php?rate= $ 1 REWRITERULE / MODULES / BOOKLISTS / View (. *) /. htm $ /modules/booklists/viewcat.php?cid= $ 1# ------------------- xphpbbi Rewriterule / Modules / XPHPBBI / INDEX .htm $ /Modules/xphpbbi/index.php shutriteerule /modules/xphpbbi/viewforum_( (.* )/.htm full of /modules/xphpbbi/viewforum.php?f= * xphpbbi/Viewtopic_(.*) .htm $ /Modules/xphpbbbi/viewtopic.php?t= * $ rle / t p p p p p /Modules/xphpbbi/viewtopic.php?t=1&start= $ 2&postdays= $ 3&postorder= $ 4&highlight= $ 5 REWRITERULE /MODULES/Xphpbbi/viewtopic_o(.*)/ Modules / XPHPBI / ViewTopic .php? p = $ 1 # $ 1

# -------------------- Newbb Rewriterule /Modules/newbb/index.htm full / tydules/newbbb/index.php

Rewriterule /Modules/newbbb/viewall.htm ownel@ otp # http://gi.2288.org:88/modules/newb/viewall.php # http://gi.2288.org:88 /Modules/newbb/viewall.htm

Rewriterule /Modules/newbbb/search.htm ownel@ /modules/newbb/search.php # http://gi.2288.org:88/modules/newb/search.php # http://gi.2288.org:88 / tydules/newbb/search.htm

Rewriterule /Modules/newbb/forum_( (.* )/.htm full of /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&sterum= $ 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.htmrewriterule / modules / newbbb / topic_mode _ (. *) - (. *) - ( *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/newbbb/topic_mode_flat-111-5.htm

Rewriteerule /Modules/newb/newtopic_( (. )-( )-(.* )-(.* )-( )/.htm full / tydules/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/newbbb/digest_0-27-p.post_time-desc-100-digest.htm

Rewriterule /Modules/newb/unreplied(.* )/.htm ownel /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

Rewriteerule /Modules/newbbbb/topic_time_( (. )-( )-(.* )-(.* )-( )/.htm full of /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/newbbbbb/topic_time_threaded-asc-111-5-prev-1105542643.htm# ------------------ - IPB REWRITERULE /MODULES/IPboard/index.htm @ /modules/ipboard/index.php

Rewriteerule /modules/ipboard/showtopic_( (.* )-(.htm full of /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 full /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 full /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

Rewriteerule /Modules/ipboard/act_(.* )-(.* )/.htm full /Modules/ipboard/index.php?act= $ 1&c= or all # http://gi.2288.org:88/modules/ IPBOARD / INDEX.PHP? ACT = SC & C = 4 # http://gi.2288.org:88/modules/ipboard/act_sc-4.htmrewriterule /Modules/ipboard/Act-i_ (.* )/.htm full 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

Rewriterule /Modules/digest/cid_(.* )/.htm full /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 full / tydules/digest/index.php?op= $ 1&digest_id= $ 200 # 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 full /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

# -------------------- Wordbook Rewriteerule /Modules/Wordbook/index.htm !/Modules/LetBook/index.php riterule /modules/wordbook/letter.htm $ /modules/wordbook/letter.php RewriteRule /modules/wordbook/category.htm$ /modules/wordbook/category.php RewriteRule /modules/wordbook/category_(.*)/.htm$ /modules/wordbook/category.php? CategoryId = $ 1 REWRITERULE /MODULES/Wordbook/letter_(.* )/.htm full /modules/Wordbook/Letter.php?init= $1 REWRITERULE / MODULES/WordBook/Entry_(.* )/.htm full of modules / Wordbook / Entry.php? entryid = $ 1

# -------------------- WordPress Rewriterule /Modules/wordpress/index.htm full /modules/indpress/index.phprewriterule /modules/wordpress/index_ (.*) /.htm full of /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

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

Reworderule /Modules/WordPress/m_ (.* )/.htm full /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

Reworderule /Modules/WordPress/author_( (.* )/.htm full /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

Rewriterule /Modules/flashgames/hightscores.htm full /Modules/flashgames/hightcores.php

Rewriterule /Modules/flashgames/hit_(.* )/.htm full / tydules/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 full / tydules/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 full /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 full /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

Rewriterule /Modules/mylinks/submit.htm !/modules/mylinks/submit.php

Rewriterule /Modules/mylinks/submit.htm !/modules/mylinks/submit.php

Rewriterule /Modules/mylinks/hit_( (.* )/.htm full /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 ownel / typp?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 full / tycules/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 full / tydules/mylinks/visit.php?cid= $ 1&lid= $2 # http://gi.2288.org:88/modules/ MYLINKS / VIT.PHP? CID = 21 & lid = 14 # http://gi.2288.org:88/modules/mylinks/visit_21-14.htm

# -------------------- XMline Rewriterule /Modules/xmline/index.htm full / tydules/xmline/index.php

Rewriterule /Modules/xmline/cid_(.* )/.htm full / typ/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.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# ------------------ lykos_syndication riterule / modules /lykos_syndication/index.htm full / tydules/lykos_syndication/index.php

# -------------------- Liaise Rewriterule /Modules/liaise/index.htm @ /modules/liaise/index.php

# -------------------- Other shutriterule /index.html $ /index.php

serveradmin btbtd@yahoo.com.cn documentroot "i: / gi-2288-89 /" servername gi.2288.org errorlog "g: /apache/dummy-gi.2288.org.89-error_log "

ServerAdmin btbtd@yahoo.com.cn documentroot "i: / gi-2288-99 /" servername gi.2288.org ErrorLog "g: /apache/dummy-gi.2288.org.99-error_log "

serveradmin btbtd@yahoo.com.cn documentroot "i: / gi-2288" Servername Gi.2288.org ErrorLog "g: /apache/dummy-gi.2288.org.80-error_log"

转载请注明原文地址:https://www.9cbs.com/read-69161.html

New Post(0)