JarekMk

sg-vhost

Mar 21st, 2011
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. GNU nano 2.2.4 File: /etc/lighttpd/vhost.cnf/safegroup.pl.conf
  2.  
  3. #$HTTP["host"] =~ "safegroup\.pl" {
  4. # server.document-root = "/srv/www/safegroup.pl"
  5. # errorlog.filename = "/var/log/lighttpd/safegroup.pl.error.log"
  6. #}
  7.  
  8.  
  9. $HTTP["host"] =~ "(^|\.)safegroup\.pl$" {
  10. server.document-root = "/srv/www/safegroup.pl"
  11. server.errorlog = "/var/log/lighttpd/sg.portal.error.log"
  12. accesslog.filename = "/var/log/lighttpd/sg.portal.access.log"
  13. server.error-handler-404 = "/index.php"
  14. }
Advertisement
Add Comment
Please, Sign In to add comment