slitaz-forge rev 199
vhosts.conf: add /static path (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 21 09:12:04 2012 +0100 (2012-03-21) |
parents | 90202a1d111b |
children | 1cc5b20bd68c |
files | mirror/files/etc/lighttpd/vhosts.conf |
line diff
1.1 --- a/mirror/files/etc/lighttpd/vhosts.conf Wed Mar 21 09:06:25 2012 +0100 1.2 +++ b/mirror/files/etc/lighttpd/vhosts.conf Wed Mar 21 09:12:04 2012 +0100 1.3 @@ -1,7 +1,6 @@ 1.4 # /etc/lighttpd/vhosts.conf : Virtual hosts configuration file. 1.5 # 1.6 1.7 -alias.url += ( "/static" => "/var/www/slitaz/mirror/static/" ) 1.8 1.9 # mirror.slitaz.org (Server canonical hostname) 1.10 # 1.11 @@ -88,6 +87,7 @@ 1.12 server.errorlog = "/var/log/lighttpd/pizza.slitaz.org-error.log" 1.13 accesslog.filename = "/var/log/lighttpd/pizza.slitaz.org-access.log" 1.14 include "awstats.conf" 1.15 + alias.url += ( "/static" => "/var/www/slitaz/mirror/static/" ) 1.16 index-file.names += ( "index.php" ) 1.17 } 1.18 1.19 @@ -188,6 +188,7 @@ 1.20 server.errorlog = "/var/log/lighttpd/demo.slitaz.org-error.log" 1.21 accesslog.filename = "/var/log/lighttpd/demo.slitaz.org-access.log" 1.22 include "awstats.conf" 1.23 + alias.url += ( "/static" => "/var/www/slitaz/mirror/static/" ) 1.24 index-file.names += ( "index.html" ) 1.25 #100% CPU? cgi.assign += ( ".sh" => "/bin/sh" ) 1.26 index-file.names += ( "index.sh" ) 1.27 @@ -200,6 +201,7 @@ 1.28 server.errorlog = "/var/log/lighttpd/floppy.slitaz.org-error.log" 1.29 accesslog.filename = "/var/log/lighttpd/floppy.slitaz.org-access.log" 1.30 include "awstats.conf" 1.31 + alias.url += ( "/static" => "/var/www/slitaz/mirror/static/" ) 1.32 index-file.names += ( "index.html" ) 1.33 } 1.34 1.35 @@ -210,6 +212,7 @@ 1.36 server.errorlog = "/var/log/lighttpd/usbkey.slitaz.org-error.log" 1.37 accesslog.filename = "/var/log/lighttpd/usbkey.slitaz.org-access.log" 1.38 include "awstats.conf" 1.39 + alias.url += ( "/static" => "/var/www/slitaz/mirror/static/" ) 1.40 index-file.names += ( "index.php" ) 1.41 } 1.42 1.43 @@ -220,6 +223,7 @@ 1.44 server.errorlog = "/var/log/lighttpd/dvd.slitaz.org-error.log" 1.45 accesslog.filename = "/var/log/lighttpd/dvd.slitaz.org-access.log" 1.46 include "awstats.conf" 1.47 + alias.url += ( "/static" => "/var/www/slitaz/mirror/static/" ) 1.48 index-file.names += ( "index.php" ) 1.49 } 1.50