AMH 社区首页
AMH社区 - 开放自由有价值的社区| 
 | |
|---|---|
| livepu | 
		  hidemad 发表于 2014-04-18 18:05:32
	 
				回复  
				2014-05-19 21:39:38 11
	 | 
| 
		amysql | 
		回复 
		2014-05-21 20:03:40 12
		 AMH面板 - 好用高效低占用、安全可靠极稳定 | 
| 
		livepu |  本帖最后由 livepu 于 2014-6-6 15:01 编辑  我做了一个跳转非www.域名访问跳转到www.域名访问。 引用: location / { if ( $host != 'www.域名.net' ) { rewrite ^/(.*)$ http://www.域名.net/$1 permanent; } #内容静态 rewrite ^/(.*)content-([0-9]+)-([0-9]+)-([0-9]+).html$ /$1/index.php?m=content&c=index&a=show&catid=$2&id=$3&page=$4; rewrite ^/(.*)show-([0-9]+)-([0-9]+)-([0-9]+).html$ /$1/index.php?m=content&c=index&a=show&catid=$2&id=$3&page=$4; rewrite ^/(.*)list-([0-9]+)-([0-9]+).html$ /$1/index.php?m=content&c=index&a=lists&catid=$2&page=$3; rewrite ^/(.*)book-([0-9]+)-([0-9]+)-([0-9]+).html$ /$1/index.php?m=book&c=index&a=show&catid=$2&chapterid=$3&contentid=$4; } 貌似这样也成功。 但我还想绑定子域名 f.域名 到根目录的 /forum 不知道如何操作呢? 
		回复 
		2014-06-06 14:59:51 13
		 | 
| 
		amysql | if ( $host != 'www.域名.net' ) { rewrite ^/(.*)$ http://www.域名.net/$1 permanent; } 这个你都会了。f.域名也一样道理。 
		回复 
		2014-06-09 12:55:30 14
		 | 
 HTTP
 HTTP
 [求助帖]
		301重定向问题 搜遍了论坛也没找到解决方法
 
			[求助帖]
		301重定向问题 搜遍了论坛也没找到解决方法 
 

 
	 
    