AMH 社区首页
AMH社区 - 开放自由有价值的社区
	
		
    	 | 
	|
|---|---|
| 
	
	 1100043  | 
	
	 
		  1100043 发表于 2014-02-22 20:34:58
	 
	location / { 
		rewrite ^/search.asp?searchword=(.*)$ /vod-search-wd-$1-p-1.html permanent; rewrite ^/list/?(.*).html$ /vod-show-id-$1-p-1.html permanent; #前面两句是301跳转,后面是伪静态规则 rewrite ^/vod-(.*)$ /index.php?s=/Home-vod-$1 last; rewrite ^/content/detail_(.*)$ /index.php?s=/Home-vod-read-id-$1 last; rewrite ^/player/play_(.*)-(.*)-(.*)$ /index.php?s=/Home-vod-play-id-$1-sid-$2-pid-$3 last; rewrite ^/special-(.*)$ /index.php?s=/Home-special-$1 last; rewrite ^/gb-(.*)$ /index.php?s=/Home-gb-show-$1 last; rewrite ^/site/(.*)$ /index.php?s=/Home-my-show-id-$1 last; rewrite ^/news-(.*)$ /index.php?s=/Home-news-$1 last; rewrite ^/tag-(.*)$ /index.php?s=/Home-tag-$1 last; rewrite ^/cm-(.*)$ /index.php?s=/Home-cm-$1 last; rewrite ^/map-(.*)$ /index.php?s=/Home-map-$1 last; rewrite ^/tpl/(.*)/home/(.*).html$ /index.php last; rewrite ^/plus/(.*).php$ /index.php last; rewrite ^/Column/list_(.*)-(.*)$ /index.php?s=/Home-vod-show-id-$1-p-$2 last; rewrite ^/Content/detail_(.*)$ /index.php?s=/Home-vod-read-id-$1 last; rewrite ^/Player/play_(.*)-(.*)-(.*)$ /index.php?s=/Home-vod-play-id-$1-sid-$2-pid-$3 last; } 
				2014-02-22 20:34:58 1
	 
		
	 | 
	
| 
		
		 
		1100043  | 
		 无法实现跳转,全是404
				 
		
		
		回复 
		2014-02-22 20:35:34 2
		 
				
		 | 
		
| 
		
		 
		vica  | 
		  支持发个url看看?
				 
		
		
		回复 
		2014-02-27 11:28:29 3
		 
				
		 | 
		
| 
		
		 
		Kvm  | 
		  支持 支持
				 
		
		
		回复 
		2014-02-27 15:18:56 4
		 
				
		 | 
		
 HTTPS
 
			[求助帖]
		301永久重定向老是不成功,谁帮忙看看