I'm wondering if anyone knows how to bind this virtual host to a specified directory on the host, namely /ruby/, so the url to access the ruby vhost would be http://rolla.co.nr/ruby/.$HTTP["host"] == "rolla.co.nr" {
server.document-root = "/home/<user>/ruby-www/public/"
server.indexfiles = ( "index.html", "dispatch.fcgi" )
server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = (
".fcgi" => ((
"socket" => "/tmp/rails.sck",
"bin-path" => "/home/<user>/ruby-www/public/dispatch.fcgi",
"min-procs" => 1,
"max-procs" => 5
)
)
)
}
$HTTP["host"] != "rolla.co.nr" {
simple-vhost.server-root = "/var/www/servers/"
simple-vhost.default-host = "www.rolla.co.nr"
simple-vhost.document-root = "nonssl"
}
Thanks for reading.

