::NoName Magazine 无名杂志 » 留言非语 » 关于这个论坛的一些技术问题...
本主题共有 1 条回复 | 回到顶部
#1 - 2006-12-12 21:55
Sai
桂林
CODE:
RewriteEngine on
RewriteBase /bbs
RewriteRule ^archiver/([a-z0-9\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^profile-(username|uid)-(.*)\.html$ viewpro.php?$1=$2
RewriteRule ^music-([0-9]+)-([a-z0-9\-]+)\.html$ music.php?tid=$1&sv=$2
RewriteRule ^u-(.*)\.html$ viewpro.php?uid=$1
RewriteRule ^u/(.*)$ viewpro.php?uid=$1
RewriteRule ^thread/([0-9]+)/([0-9]+)/([0-9]+)$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^forum/([0-9]+)/([0-9]+)$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^u/(username|uid)/(.*)$ viewpro.php?$1=$2
RewriteRule ^forum/([0-9]+)/([0-9]+)$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^newthread-([0-9]+)-([0-9]+)\.html$ post.php?action=newthread&fid=$1&extra=page%3D$2
RewriteRule ^reply-([0-9]+)-([0-9]+)-([0-9]+)\.html$ post.php?action=reply&fid=$1&tid=$2&extra=page%3D$3
RewriteRule ^redirect-([0-9]+)\.html$ redirect.php?tid=$1&goto=lastpost#lastpost
RewriteRule ^next-([0-9]+)-([0-9]+)\.html$ redirect.php?fid=$1&tid=$2&goto=nextoldset
RewriteRule ^pre-([0-9]+)-([0-9]+)\.html$ redirect.php?fid=$1&tid=$2&goto=nextnewset
RewriteRule ^fav-([0-9]+)\.html$ memcp.php?action=favorites&favadd=$1
RewriteRule ^cat-([0-9]+)\.html$ index.php?gid=$1
RewriteRule ^blog-([0-9]+)\.html$ blog.php?uid=$1
RewriteRule ^mytopic-([0-9]+)\.html$ search.php?srchuid=$1&mytopics=yes&searchsubmit=yes
RewriteRule ^fresh-([0-9]+)\.html$ search.php?srchfrom=$1&searchsubmit=yes
RewriteRule ^online.html$ member.php?action=online
RewriteRule ^member.html$ member.php?action=list
RewriteRule ^new_features.html$ new_features.php
RewriteRule ^passwd.nnm$ member.php?action=lostpasswd
RewriteRule ^login.nnm$ logging.php?action=login
RewriteRule ^signup.nnm$ register.php
RewriteRule ^digest.nnm$ digest.php
RewriteRule ^logout.nnm$ logging.php?action=logout
RewriteRule ^memcp.nnm$ memcp.php
RewriteRule ^pm.nnm$ pm.php
RewriteRule ^search.nnm$ search.php
RewriteRule ^favorite.nnm$ memcp.php?action=favorites
RewriteRule ^mark.nnm$ member.php?action=markread
RewriteRule ^rules.nnm$ faq.php?page=custom#0
RewriteRule ^terms.nnm$ faq.php?page=custom#0
RewriteBase /bbs
RewriteRule ^archiver/([a-z0-9\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^profile-(username|uid)-(.*)\.html$ viewpro.php?$1=$2
RewriteRule ^music-([0-9]+)-([a-z0-9\-]+)\.html$ music.php?tid=$1&sv=$2
RewriteRule ^u-(.*)\.html$ viewpro.php?uid=$1
RewriteRule ^u/(.*)$ viewpro.php?uid=$1
RewriteRule ^thread/([0-9]+)/([0-9]+)/([0-9]+)$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^forum/([0-9]+)/([0-9]+)$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^u/(username|uid)/(.*)$ viewpro.php?$1=$2
RewriteRule ^forum/([0-9]+)/([0-9]+)$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^newthread-([0-9]+)-([0-9]+)\.html$ post.php?action=newthread&fid=$1&extra=page%3D$2
RewriteRule ^reply-([0-9]+)-([0-9]+)-([0-9]+)\.html$ post.php?action=reply&fid=$1&tid=$2&extra=page%3D$3
RewriteRule ^redirect-([0-9]+)\.html$ redirect.php?tid=$1&goto=lastpost#lastpost
RewriteRule ^next-([0-9]+)-([0-9]+)\.html$ redirect.php?fid=$1&tid=$2&goto=nextoldset
RewriteRule ^pre-([0-9]+)-([0-9]+)\.html$ redirect.php?fid=$1&tid=$2&goto=nextnewset
RewriteRule ^fav-([0-9]+)\.html$ memcp.php?action=favorites&favadd=$1
RewriteRule ^cat-([0-9]+)\.html$ index.php?gid=$1
RewriteRule ^blog-([0-9]+)\.html$ blog.php?uid=$1
RewriteRule ^mytopic-([0-9]+)\.html$ search.php?srchuid=$1&mytopics=yes&searchsubmit=yes
RewriteRule ^fresh-([0-9]+)\.html$ search.php?srchfrom=$1&searchsubmit=yes
RewriteRule ^online.html$ member.php?action=online
RewriteRule ^member.html$ member.php?action=list
RewriteRule ^new_features.html$ new_features.php
RewriteRule ^passwd.nnm$ member.php?action=lostpasswd
RewriteRule ^login.nnm$ logging.php?action=login
RewriteRule ^signup.nnm$ register.php
RewriteRule ^digest.nnm$ digest.php
RewriteRule ^logout.nnm$ logging.php?action=logout
RewriteRule ^memcp.nnm$ memcp.php
RewriteRule ^pm.nnm$ pm.php
RewriteRule ^search.nnm$ search.php
RewriteRule ^favorite.nnm$ memcp.php?action=favorites
RewriteRule ^mark.nnm$ member.php?action=markread
RewriteRule ^rules.nnm$ faq.php?page=custom#0
RewriteRule ^terms.nnm$ faq.php?page=custom#0