slitaz-forge rev 390

tank: update vhosts.conf
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 07 18:18:03 2014 +0100 (2014-01-07)
parents 5fa1b3698015
children 7bceca2e749f
files tank/README tank/files/etc/lighttpd/vhosts.conf tank/files/etc/slitaz/tazdev.conf tank/web/index.php
line diff
     1.1 --- a/tank/README	Tue Jan 07 17:41:55 2014 +0100
     1.2 +++ b/tank/README	Tue Jan 07 18:18:03 2014 +0100
     1.3 @@ -10,9 +10,9 @@
     1.4  
     1.5  IP's
     1.6  ----
     1.7 -Tank:         213.3.10.214
     1.8 -Mirror:       94.23.209.91 (mirror,pizza,archives,ajaxterm)
     1.9 -Forum & labs: 94.23.34.123
    1.10 +Tank:         37.187.4.13
    1.11 +Mirror:       46.105.127.17
    1.12 +Forum:        212.83.135.187
    1.13  
    1.14  Check /home/slitaz/www for Tank vhosts.
    1.15  
     2.1 --- a/tank/files/etc/lighttpd/vhosts.conf	Tue Jan 07 17:41:55 2014 +0100
     2.2 +++ b/tank/files/etc/lighttpd/vhosts.conf	Tue Jan 07 18:18:03 2014 +0100
     2.3 @@ -121,12 +121,28 @@
     2.4    #index-file.names = ( "index.cgi" )
     2.5  }
     2.6  
     2.7 -# cloud.slitaz.me
     2.8 +# scn.slitaz.org
     2.9  #
    2.10 -$HTTP["host"] =~ "cloud\.slitaz\.me$" {
    2.11 -  server.document-root = "/home/slitaz/www/cloud"
    2.12 -  server.errorlog = "/var/log/lighttpd/cloud.slitaz.me-error.log"
    2.13 -  accesslog.filename = "/var/log/lighttpd/cloud.slitaz.me-access.log"
    2.14 +$HTTP["host"] =~ "^scn\.slitaz\.org$" {
    2.15 +  server.document-root = "/home/slitaz/www/scn"
    2.16 +  server.errorlog = "/var/log/lighttpd/scn.slitaz.org-error.log"
    2.17 +  accesslog.filename = "/var/log/lighttpd/scn.slitaz.org-access.log"
    2.18 +  index-file.names = ( "index.cgi" )
    2.19 +  cgi.assign = (
    2.20 +    ".cgi" => "/bin/sh"
    2.21 +  )
    2.22 +}
    2.23 +
    2.24 +# codex.slitaz.org
    2.25 +#
    2.26 +$HTTP["host"] =~ "^codex\.slitaz\.org$" {
    2.27 +  server.document-root = "/home/slitaz/www/codex"
    2.28 +  server.errorlog = "/var/log/lighttpd/codex.slitaz.org-error.log"
    2.29 +  accesslog.filename = "/var/log/lighttpd/codex.slitaz.org-access.log"
    2.30 +  index-file.names = ( "index.cgi" )
    2.31 +  cgi.assign = (
    2.32 +    ".cgi" => "/bin/sh"
    2.33 +  )
    2.34  }
    2.35  
    2.36  # ssfs.slitaz.org
    2.37 @@ -147,29 +163,3 @@
    2.38      )
    2.39    )
    2.40  }
    2.41 -
    2.42 -# These hosts are personnal website for me and my family, pankso.
    2.43 -
    2.44 -# pankso.com
    2.45 -#
    2.46 -$HTTP["host"] =~ "(^|\.)pankso\.com$" {
    2.47 -  server.document-root = "/home/pankso/vhosts/pankso"
    2.48 -  server.errorlog = "/var/log/lighttpd/pankso.error.log"
    2.49 -  accesslog.filename = "/var/log/lighttpd/pankso.access.log"
    2.50 -}
    2.51 -
    2.52 -# foretgeorgy.(ch|org)
    2.53 -#
    2.54 -$HTTP["host"] =~ "(^|\.)foretgeorgy\.(ch|org)$" {
    2.55 -  server.document-root = "/home/pankso/vhosts/foretgeorgy"
    2.56 -  server.errorlog = "/var/log/lighttpd/foretgeorgy.error.log"
    2.57 -  accesslog.filename = "/var/log/lighttpd/foretgeorgy.access.log"
    2.58 -}
    2.59 -
    2.60 -# lincolm.ch
    2.61 -#
    2.62 -$HTTP["host"] =~ "(^|\.)lincolm\.ch$" {
    2.63 -  server.document-root = "/home/pankso/vhosts/lincolm"
    2.64 -  server.errorlog = "/var/log/lighttpd/lincolm.error.log"
    2.65 -  accesslog.filename = "/var/log/lighttpd/lincolm.access.log"
    2.66 -}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/tank/files/etc/slitaz/tazdev.conf	Tue Jan 07 18:18:03 2014 +0100
     3.3 @@ -0,0 +1,19 @@
     3.4 +# tazdev.conf: SliTaz Developers tool configuration file.
     3.5 +#
     3.6 +
     3.7 +# We may use main slitaz.conf in time.
     3.8 +SLITAZ_HOME="/home/slitaz"
     3.9 +
    3.10 +# Path to all own and copy projects.
    3.11 +PROJECTS="$SLITAZ_HOME/repos"
    3.12 +
    3.13 +# Path to archive
    3.14 +SOURCE=$SLITAZ_HOME/src
    3.15 +
    3.16 +# Packages to generate a minimal chroot.
    3.17 +CHROOT_PKGS="slitaz-base-files busybox cookutils tazpkg lzma"
    3.18 +
    3.19 +# Main mirror to push and download (ISO, rootfs. etc).
    3.20 +MIRROR="mirror.slitaz.org"
    3.21 +MIRROR_PKGS="/var/www/slitaz/mirror/packages"
    3.22 +MIRROR_SOURCES="/var/www/slitaz/mirror/sources"
     4.1 --- a/tank/web/index.php	Tue Jan 07 17:41:55 2014 +0100
     4.2 +++ b/tank/web/index.php	Tue Jan 07 18:18:03 2014 +0100
     4.3 @@ -104,7 +104,7 @@
     4.4  
     4.5  <pre>
     4.6  <?php
     4.7 -system("cat /var/log/tank.log | head -40");
     4.8 +system("tac /var/log/tank.log | head -40");
     4.9  ?>
    4.10  </pre>
    4.11