|  
 |  
 |  
 
  
 | 
													iis 7.5 DISCUZ URL Rewrite
						
						
																				
 RewriteEngine On 
 
下面是 discuz 偽靜態 
RewriteRule ^archiver/((fid|tid)-[\w\-]+\.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 ^space-(username|uid)-(.+)\.html$ space.php?$1=$2 
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1 
 
 
下面是 IIS7.5 圖片防外連(包括通過子域名) 
 
RewriteCond %{HTTP_REFERER} !^$ 
RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)\.?amigobbs.net [NC] 
RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L] 
																	  正在討論的話題: 
 
 | 
 |  
 
 |  
 |  
 |  
 
 
 
															
							
						 
													
								香港SVBBS ROLEX QQ群:426216117 
 							 
															
			 |