http://dingo.dundre.net:8080 works fine /home/user/public_html
http://dingo.dundre.net goes to /var/www/html the orginal apache folder.
any idea?
This is my running config now
| Code: |
server.document-root = "/var/www/html"
server.port = 80
server.username = "lighttpd"
server.groupname = "lighttpd"
#server.bind = "75.126.240.194"
server.tag ="lighttpd"
server.errorlog = "/var/log/lighttpd/error.log"
accesslog.filename = "/var/log/lighttpd/access.log"
server.modules = (
"mod_rewrite",
"mod_alias",
"mod_access",
"mod_auth",
"mod_status",
"mod_fastcgi",
"mod_proxy",
"mod_accesslog",
"mod_magnet" )
$HTTP["host"] =~ "dingo\.dundre\.net" {
$HTTP["url"] =~ "^.*(html|php|cgi|/|\?|\?.*)$" {
proxy.server = ("" => ( (
"host" => "127.0.0.1",
"port" => 8080 ) ) )
}
}
|
Post edited by: chrda, at: 2007/05/25 01:25
Post edited by: chrda, at: 2007/05/25 01:27