欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Simple Virtual Hosting
来自开放百科 - 灰狐
(版本间的差异)
第1行: | 第1行: | ||
− | |||
− | |||
− | + | server.document-root = "/var/www/servers/" | |
− | server.document-root = "/var/www/servers | + | |
− | + | ||
− | $HTTP["host"] == " | + | $HTTP["host"] == "wiki.yourname.com" { |
− | server.document-root = "/var/www/servers/bbs.yourname.com/" | + | server.document-root = "/var/www/servers/wiki.yourname.com/" |
− | } | + | } |
+ | |||
+ | $HTTP["host"] == "bbs.yourname.com" { | ||
+ | server.document-root = "/var/www/servers/bbs.yourname.com/" | ||
+ | } |
2006年7月29日 (六) 12:59的版本
server.document-root = "/var/www/servers/"
$HTTP["host"] == "wiki.yourname.com" { server.document-root = "/var/www/servers/wiki.yourname.com/" }
$HTTP["host"] == "bbs.yourname.com" { server.document-root = "/var/www/servers/bbs.yourname.com/" }
分享您的观点