View Single Post

  #3 (permalink)  
Old 03-16-2007, 01:58 AM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Have you created /var/www/logs/ directory? See if you get logs there

Personally I am using something as follows (simple and easy to follow)

Code:
$HTTP["host"] == "domain1.com" {
  server.document-root = "/var/www/domain1.com"
  server.errorlog = "/var/log/lighttpd/domain1.com/error.log"
  accesslog.filename = "/var/log/lighttpd/domain1.com/access.log"
}

$HTTP["host"] == "domain2.com" {
  server.document-root = "/var/www/domain2.com"
  server.errorlog = "/var/log/lighttpd/domain2.com/error.log"
  accesslog.filename = "/var/log/lighttpd/domain2.com/access.log"
}
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote