AMH 社区首页
AMH社区 - 开放自由有价值的社区| 
 | |
|---|---|
| livepu | 
		  livepu 发表于 2014-06-27 10:58:53
	 引用:我想用f.2slog.net,绑定子目录forum。结果就跳转到www.2slog.net/forum if ($host ~* (.*)\.2slog\.net) { set $variable $1; } if ($variable = "") { rewrite ^/(.*)$ http://www.2slog.net/$1 permanent; } if ($variable = "f") { rewrite ^/(.*)$ http://www.2slog.net/forum/$1; } location / { 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; } 怎样才能真正绑定啊? 
				2014-06-27 10:58:53 1
	 | 
| 
		amysql | 
		回复 
		2014-06-29 17:24:24 2
		 AMH面板 - 好用高效低占用、安全可靠极稳定 | 
| 
		livepu | 引用: 感谢大大,搞定了! 
		回复 
		2014-06-30 07:04:06 3
		 | 
 HTTP
 HTTP
 [求助帖]
		求教,怎样才能绑定指定的子目录呢?
 
			[求助帖]
		求教,怎样才能绑定指定的子目录呢? 
 
 
	 
    