slitaz-forge rev 191

Add a place holder for server root
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 20 23:24:20 2012 +0100 (2012-03-20)
parents 86c15c0f56df
children e88d7c1eccf0
files tank/files/etc/lighttpd/vhosts.conf tank/files/var/www/index.html tank/files/var/www/style.css
line diff
     1.1 --- a/tank/files/etc/lighttpd/vhosts.conf	Tue Mar 20 23:04:53 2012 +0100
     1.2 +++ b/tank/files/etc/lighttpd/vhosts.conf	Tue Mar 20 23:24:20 2012 +0100
     1.3 @@ -17,7 +17,6 @@
     1.4    server.document-root = "/home/slitaz/www/pro"
     1.5    server.errorlog = "/var/log/lighttpd/pro.slitaz.org-error.log"
     1.6    accesslog.filename = "/var/log/lighttpd/pro.slitaz.org-access.log"
     1.7 -  include "awstats.conf"
     1.8    cgi.assign = (
     1.9      ".cgi" => "/bin/sh"
    1.10    )
    1.11 @@ -29,7 +28,6 @@
    1.12    server.document-root = "/home/slitaz/www/boot"
    1.13    server.errorlog = "/var/log/lighttpd/boot.slitaz.org-error.log"
    1.14    accesslog.filename = "/var/log/lighttpd/boot.slitaz.org-access.log"
    1.15 -  include "awstats.conf"
    1.16    cgi.assign = (
    1.17      ".cgi" => "/bin/sh"
    1.18    )
    1.19 @@ -43,7 +41,6 @@
    1.20    server.document-root = "/home/slitaz/www/people"
    1.21    server.errorlog = "/var/log/lighttpd/people.slitaz.org-erro.log"
    1.22    accesslog.filename = "/var/log/lighttpd/people.slitaz.org-access.log"
    1.23 -  include "awstats.conf"
    1.24  }
    1.25  
    1.26  # pkgs.slitaz.org
    1.27 @@ -69,6 +66,14 @@
    1.28    index-file.names = ( "cooker.cgi" )
    1.29  }
    1.30  
    1.31 +# slitaz.me
    1.32 +#
    1.33 +$HTTP["host"] =~ "slitaz\.me$" {
    1.34 +  server.document-root = "/home/slitaz/www/me"
    1.35 +  server.errorlog = "/var/log/lighttpd/slitaz.me-error.log"
    1.36 +  accesslog.filename = "/var/log/lighttpd/slitaz.me-access.log"
    1.37 +}
    1.38 +
    1.39  # ssfs.slitaz.org
    1.40  #
    1.41  $HTTP["host"] =~ "ssfs\.slitaz\.org$" {
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tank/files/var/www/index.html	Tue Mar 20 23:24:20 2012 +0100
     2.3 @@ -0,0 +1,36 @@
     2.4 +<!DOCTYPE html>
     2.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     2.6 +<head>
     2.7 +	<title>SliTaz Tank</title>
     2.8 +	<meta charset="utf-8" />
     2.9 +	<link rel="stylesheet" type="text/css" href="style.css" />
    2.10 +</head>
    2.11 +<body>
    2.12 +
    2.13 +<!-- Header -->
    2.14 +<div id="header">
    2.15 +	<h1>SliTaz Tank Server</h1>
    2.16 +</div>
    2.17 +
    2.18 +<!-- Content -->
    2.19 +<div id="content">
    2.20 +<h2>Index of /</h2>
    2.21 +
    2.22 +<p>
    2.23 +	Did you use Tank IP or do you was expecting an other page ? Please
    2.24 +	report any error to the SliTaz project.
    2.25 +</p>
    2.26 +<p>
    2.27 +	<a href="http://tank.slitaz.org/">tank.slitaz.org</a>
    2.28 +</p>
    2.29 +
    2.30 +<!-- End content -->
    2.31 +</div>
    2.32 +
    2.33 +<!-- Footer -->
    2.34 +<div id="footer">
    2.35 +    Copyright &copy; 2012 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    2.36 +</div>
    2.37 +
    2.38 +</body>
    2.39 +</html>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/tank/files/var/www/style.css	Tue Mar 20 23:24:20 2012 +0100
     3.3 @@ -0,0 +1,44 @@
     3.4 +/* CSS style for SliTaz GNU/Linux. */
     3.5 +
     3.6 +html { min-height: 102%; }
     3.7 +
     3.8 +body {
     3.9 +	background: #ffffff;
    3.10 +	color: black;
    3.11 +	font: 13px sans-serif, vernada, arial;
    3.12 +	margin: 0;
    3.13 +	min-width: 640px;
    3.14 +}
    3.15 +
    3.16 +a { text-decoration: underline; color: #215090; }
    3.17 +a:hover { text-decoration: none; color: blue; }
    3.18 +img { border: 0pt none; vertical-align: middle; }
    3.19 +h2 { color: #444; }
    3.20 +h3 { color: #666; font-size: 140%; }
    3.21 +
    3.22 +#header {
    3.23 +	height: 40px;
    3.24 +	background: #351a0a;
    3.25 +	border-bottom: 8px solid #d66018;
    3.26 +}
    3.27 +
    3.28 +#header h1 {
    3.29 +	margin: 0;
    3.30 +	padding: 8px 0 0 8px;
    3.31 +	color: white;
    3.32 +	font-size: 20px;
    3.33 +}
    3.34 +
    3.35 +#content {
    3.36 +	padding: 30px 80px;
    3.37 +	text-align: justify;
    3.38 +}
    3.39 +
    3.40 +#footer {
    3.41 +	text-align: center;
    3.42 +	border-top: 1px solid #ddd;
    3.43 +	padding: 40px;
    3.44 +	color: #666;
    3.45 +}
    3.46 +
    3.47 +#footer a { color: #666; padding: 0 2px; }