wok-current rev 16333

busybox + lighttpd: remove /var/www/index.html and css
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 11 09:53:56 2014 +0200 (2014-04-11)
parents af1be39c0a6b
children fd7c7b825eb9
files busybox/stuff/httpd.conf busybox/stuff/www/index.html busybox/stuff/www/style.css lighttpd/receipt lighttpd/stuff/var/www/index.html lighttpd/stuff/var/www/style.css
line diff
     1.1 --- a/busybox/stuff/httpd.conf	Fri Apr 11 06:13:22 2014 +0000
     1.2 +++ b/busybox/stuff/httpd.conf	Fri Apr 11 09:53:56 2014 +0200
     1.3 @@ -21,6 +21,7 @@
     1.4  # CGI interpreter path.
     1.5  *.sh:/bin/sh
     1.6  *.cgi:/bin/sh
     1.7 +#*.py:/usr/bin/python
     1.8  #*.php:/usr/bin/php-cgi
     1.9  
    1.10  # MIME type.
     2.1 --- a/busybox/stuff/www/index.html	Fri Apr 11 06:13:22 2014 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,38 +0,0 @@
     2.4 -<!DOCTYPE html>
     2.5 -<html xmlns="http://www.w3.org/1999/xhtml">
     2.6 -<head>
     2.7 -	<title>SliTaz Web Server</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 Web 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 -	Welcome to the SliTaz Busybox HTTP web server. You can delete or modify this
    2.24 -	page to put your own xHTML pages, web sites, CGI or PHP scripts. The server
    2.25 -	configuration file is /etc/httpd.conf. CGI support is activated by default
    2.26 -	using the SHell interpreter for *.sh and *.cgi files. This page is located
    2.27 -	in the server root directory /var/www. The default configuration is to allow
    2.28 -	connections only from localhost so port 80 is not open for security
    2.29 -	reasons.
    2.30 -</p>
    2.31 -
    2.32 -<!-- End content -->
    2.33 -</div>
    2.34 -
    2.35 -<!-- Footer -->
    2.36 -<div id="footer">
    2.37 -    Copyright &copy; 2014 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    2.38 -</div>
    2.39 -
    2.40 -</body>
    2.41 -</html>
     3.1 --- a/busybox/stuff/www/style.css	Fri Apr 11 06:13:22 2014 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,138 +0,0 @@
     3.4 -/* CSS style for SliTaz Network (minimal version) */
     3.5 -
     3.6 -html { min-height: 102%; }
     3.7 -body { font: 88% sans-serif, vernada, arial; margin: 0; }
     3.8 -h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; }
     3.9 -h1 a { color: #fff; text-decoration: none; }
    3.10 -h2 { color: #444; } h3 { color: #666; font-size: 140%; }
    3.11 -a { text-decoration: underline; color: #215090; }
    3.12 -a:hover { text-decoration: none; }
    3.13 -img { border: 0pt none; vertical-align: middle; }
    3.14 -pre {
    3.15 -	overflow: auto;
    3.16 -	font-size: 98%;
    3.17 -}
    3.18 -
    3.19 -/* Header */
    3.20 -
    3.21 -#header {
    3.22 -	background: #222;
    3.23 -	height: 40px;
    3.24 -	border-bottom: 4px solid #afafaf;
    3.25 -}
    3.26 -
    3.27 -#header h1 {
    3.28 -	margin: 0;
    3.29 -	padding: 8px 0 0 4px;
    3.30 -	width: 250px;
    3.31 -}
    3.32 -
    3.33 -#header h1 a { 
    3.34 -	color: white; 
    3.35 -	text-decoration: none;
    3.36 -	font-size: 20px;
    3.37 -	font-style: italic;
    3.38 -}
    3.39 -
    3.40 -#header h1 a:hover { 
    3.41 -	color: #afafaf;
    3.42 -}
    3.43 -
    3.44 -/* Header links */
    3.45 -
    3.46 -#network { 
    3.47 -	float: right; 
    3.48 -	padding: 14px 5px 0; 
    3.49 -	font-size: 12px;
    3.50 -}
    3.51 -
    3.52 -#network a, #network span {
    3.53 -	padding: 0 4px;
    3.54 -	color: #fff; 
    3.55 -	font-weight: bold;
    3.56 -	text-decoration: none;
    3.57 -}
    3.58 -
    3.59 -#network a:hover, #network span { color: #afafaf; }
    3.60 -
    3.61 -/* Logo */
    3.62 -
    3.63 -#logo {
    3.64 -	background: url(images/logo.png) no-repeat left;
    3.65 -	position: absolute;
    3.66 -	float: left;
    3.67 -	left: 0px;
    3.68 -	top: 0px;
    3.69 -	width: 40px;
    3.70 -	height: 40px;
    3.71 -}
    3.72 -
    3.73 -/* Search */
    3.74 -
    3.75 -#search {
    3.76 -	position: absolute;
    3.77 -	right: 20px;
    3.78 -	top: 60px;
    3.79 -}
    3.80 -
    3.81 -#search input[type="text"] {
    3.82 -	width: 200px;
    3.83 -	
    3.84 -	padding: 4px;
    3.85 -	margin: 4px 0px;
    3.86 -	font-size: 14px;
    3.87 -	line-height: 1.2em;
    3.88 -	background: #fefefe;
    3.89 -	border: 2px solid #afafaf;
    3.90 -	-webkit-appearance: none;
    3.91 -	-webkit-padding-end: 12px;
    3.92 -	-webkit-padding-start: 6px;
    3.93 -}
    3.94 -
    3.95 -/* Content */
    3.96 -
    3.97 -#content {
    3.98 -	margin: 40px auto;
    3.99 -	padding: 0 20px;
   3.100 -	text-align: justify;
   3.101 -	max-width: 720px;
   3.102 -}
   3.103 -
   3.104 -.box {
   3.105 -	padding: 6px;
   3.106 -	margin: 4px 0px;
   3.107 -}
   3.108 -
   3.109 -pre, .box {
   3.110 -	background-color: #f8f8f8;
   3.111 -	border: 1px solid #ddd;
   3.112 -}
   3.113 -
   3.114 -pre {
   3.115 -	padding: 10px;
   3.116 -}
   3.117 -
   3.118 -pre img { margin: 4px 4px 4px 0px; }
   3.119 -
   3.120 -.error { color: red; }
   3.121 -.ok { color: green; }
   3.122 -.date { color: #666; font-size: 96%; }
   3.123 -
   3.124 -/* Round corner */
   3.125 -
   3.126 -pre, img, .box, input[type="text"] {
   3.127 -	-moz-border-radius: 4px;
   3.128 -	-webkit-border-radius: 4px;
   3.129 -	border-radius: 4px;
   3.130 -}
   3.131 -
   3.132 -/* Footer */
   3.133 -
   3.134 -#footer {
   3.135 -	text-align: center;
   3.136 -	padding: 20px;
   3.137 -	border-top: 1px solid #ddd;
   3.138 -	font-size: 90%;
   3.139 -}
   3.140 -
   3.141 -#footer a { padding: 0 2px; }
     4.1 --- a/lighttpd/receipt	Fri Apr 11 06:13:22 2014 +0000
     4.2 +++ b/lighttpd/receipt	Fri Apr 11 09:53:56 2014 +0200
     4.3 @@ -62,10 +62,8 @@
     4.4  		echo -n "Copying : mod_${module}.so" && status
     4.5  	done
     4.6  
     4.7 -	# Server root and config file.
     4.8 -	cp -a $stuff/var $fs
     4.9 +	# Config file.
    4.10  	cp -a $stuff/etc $fs
    4.11 -	chown -R 0.0 $fs/var/www
    4.12  	chown -R 0.0 $fs/etc
    4.13  
    4.14  	# Logs directory.
     5.1 --- a/lighttpd/stuff/var/www/index.html	Fri Apr 11 06:13:22 2014 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,70 +0,0 @@
     5.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     5.5 -    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     5.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
     5.7 -<head>
     5.8 -	<title>SliTaz Web Server</title>
     5.9 -	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    5.10 -	<meta name="author" content="Christophe Lincoln"/>
    5.11 -	<link rel="stylesheet" type="text/css" href="style.css" />
    5.12 -</head>
    5.13 -<body>
    5.14 -
    5.15 -<!-- Header -->
    5.16 -<div id="header">
    5.17 -	<div id="logo"></div>
    5.18 -	<div id="network">
    5.19 -		<a href="http://www.slitaz.org/">Website</a>
    5.20 -		<a href="http://scn.slitaz.org/">Community</a>
    5.21 -		<a href="http://doc.slitaz.org/">Doc</a>
    5.22 -		<a href="http://forum.slitaz.org/">Forum</a>
    5.23 -		<a href="http://labs.slitaz.org/issues">Bugs</a>
    5.24 -		<a href="http://hg.slitaz.org/">Hg</a>
    5.25 -	</div>
    5.26 -	<h1>SliTaz Web Server</h1>
    5.27 -</div>
    5.28 -
    5.29 -<!-- Block -->
    5.30 -<div id="block"></div>
    5.31 -
    5.32 -<!-- Content -->
    5.33 -<div id="content">
    5.34 -<h2>Index of /</h2>
    5.35 -
    5.36 -<p>
    5.37 -	[<strong>English</strong>] Welcome to free LightTPD web server index page,
    5.38 -	powered by SliTaz GNU/Linux operating system. You can delete or modify
    5.39 -	this page to put your own xHTML pages, web sites, CGI or PHP scripts.
    5.40 -	Configuration file can be found in /etc/lighttpd/lighttpd.conf and is
    5.41 -	autodocumemted. A page in the SliTaz <a 
    5.42 -	href="http://doc.slitaz.org/en:handbook:webserver">Handbook</a>
    5.43 -	is dedicated to the web server configuration.
    5.44 -</p>
    5.45 -
    5.46 -<p>
    5.47 -	[<strong>Français</strong>] Bienvenue sur la page d'index de ce serveur
    5.48 -	libre LightTPD, propulsé par un système d'exploitation SliTaz GNU/Linux.
    5.49 -	Vous pouvez supprimer cette page, la modifier, ou mettre vos propres 
    5.50 -	pages xHTML, sites et/ou scripts CGI ou PHP. Le fichier de configuration
    5.51 -	se trouve dans /etc/lighttpd/lighttpd.conf et il est autodocumenté. Une
    5.52 -	page du <a href="http://doc.slitaz.org/fr:handbook:webserver">Handbook</a>
    5.53 -	de SliTaz, en français, est dédiée à la configuration du serveur web.
    5.54 -</p>
    5.55 -
    5.56 -<!-- End content -->
    5.57 -</div>
    5.58 -
    5.59 -<!-- Footer -->
    5.60 -<div id="footer">
    5.61 -    Copyright &copy; 2011 <a href="http://www.slitaz.org/">SliTaz</a>
    5.62 -    <p>
    5.63 -    SliTaz @
    5.64 -		<a href="http://twitter.com/slitaz">Twitter</a>
    5.65 -		<a href="http://www.facebook.com/slitaz">Facebook</a>
    5.66 -		<a href="http://distrowatch.com/slitaz">Distrowatch</a>
    5.67 -		<a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
    5.68 -		<a href="http://flattr.com/profile/slitaz">Flattr</a>
    5.69 -	    </p>
    5.70 -</div>
    5.71 -
    5.72 -</body>
    5.73 -</html>
     6.1 --- a/lighttpd/stuff/var/www/style.css	Fri Apr 11 06:13:22 2014 +0000
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,77 +0,0 @@
     6.4 -/* CSS style for SliTaz GNU/Linux generic xHTML files. */
     6.5 -
     6.6 -html { min-height: 102%; }
     6.7 -
     6.8 -body {
     6.9 -	background: #ffffff;
    6.10 -	color: black;
    6.11 -	font: 13px sans-serif, vernada, arial;
    6.12 -	margin: 0;
    6.13 -	min-width: 640px;
    6.14 -}
    6.15 -
    6.16 -a { text-decoration: underline; color: #215090; }
    6.17 -a:hover { text-decoration: none; color: blue; }
    6.18 -img { border: 0pt none; vertical-align: middle; }
    6.19 -h2 { color: #444; }
    6.20 -h3 { color: #666; font-size: 140%; }
    6.21 -
    6.22 -#header { 
    6.23 -	height: 40px; 
    6.24 -	background: #351a0a;
    6.25 -}
    6.26 -
    6.27 -#header h1 {
    6.28 -	margin: 0;
    6.29 -	padding: 8px 0 0 8px;
    6.30 -	width: 250px;
    6.31 -	color: white;
    6.32 -	font-size: 20px;
    6.33 -	font-style: italic;
    6.34 -}
    6.35 -
    6.36 -#header h1 a { 
    6.37 -	color: white; 
    6.38 -	text-decoration: none;
    6.39 -	font-size: 20px;
    6.40 -	font-style: italic;
    6.41 -}
    6.42 -
    6.43 -#header h1 a:hover, #network a:hover { 
    6.44 -	color: #d66018;
    6.45 -}
    6.46 -
    6.47 -#network { 
    6.48 -	float: right; 
    6.49 -	padding: 12px 5px 0; 
    6.50 -	font-size: 12px;
    6.51 -}
    6.52 -
    6.53 -#network a { padding: 0 6px; }
    6.54 -
    6.55 -#network a { 
    6.56 -	color: #fff; 
    6.57 -	font-weight: bold;
    6.58 -	text-decoration: none;
    6.59 -}
    6.60 -
    6.61 -#block { 
    6.62 -	min-height: 8px; 
    6.63 -	background: #d66018; 
    6.64 -	padding: 0;
    6.65 -	border-bottom: 1px solid #f5f5f5;
    6.66 -}
    6.67 -
    6.68 -#content {
    6.69 -	padding: 30px 80px;
    6.70 -	text-align: justify;
    6.71 -}
    6.72 -
    6.73 -#footer {
    6.74 -	text-align: center;
    6.75 -	border-top: 1px solid #ddd;
    6.76 -	padding: 40px;
    6.77 -	color: #666;
    6.78 -}
    6.79 -
    6.80 -#footer a { color: #666; padding: 0 2px; }