# HG changeset patch # User Christophe Lincoln # Date 1397202836 -7200 # Node ID 2b6001f6ed50d8092fcd41292b6e2a6f24ad258f # Parent af1be39c0a6b37a227247de40a137e6f9c6f8250 busybox + lighttpd: remove /var/www/index.html and css diff -r af1be39c0a6b -r 2b6001f6ed50 busybox/stuff/httpd.conf --- a/busybox/stuff/httpd.conf Fri Apr 11 06:13:22 2014 +0000 +++ b/busybox/stuff/httpd.conf Fri Apr 11 09:53:56 2014 +0200 @@ -21,6 +21,7 @@ # CGI interpreter path. *.sh:/bin/sh *.cgi:/bin/sh +#*.py:/usr/bin/python #*.php:/usr/bin/php-cgi # MIME type. diff -r af1be39c0a6b -r 2b6001f6ed50 busybox/stuff/www/index.html --- a/busybox/stuff/www/index.html Fri Apr 11 06:13:22 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ - - - - SliTaz Web Server - - - - - - - - - -
-

Index of /

- -

- Welcome to the SliTaz Busybox HTTP web server. You can delete or modify this - page to put your own xHTML pages, web sites, CGI or PHP scripts. The server - configuration file is /etc/httpd.conf. CGI support is activated by default - using the SHell interpreter for *.sh and *.cgi files. This page is located - in the server root directory /var/www. The default configuration is to allow - connections only from localhost so port 80 is not open for security - reasons. -

- - -
- - - - - - diff -r af1be39c0a6b -r 2b6001f6ed50 busybox/stuff/www/style.css --- a/busybox/stuff/www/style.css Fri Apr 11 06:13:22 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,138 +0,0 @@ -/* CSS style for SliTaz Network (minimal version) */ - -html { min-height: 102%; } -body { font: 88% sans-serif, vernada, arial; margin: 0; } -h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; } -h1 a { color: #fff; text-decoration: none; } -h2 { color: #444; } h3 { color: #666; font-size: 140%; } -a { text-decoration: underline; color: #215090; } -a:hover { text-decoration: none; } -img { border: 0pt none; vertical-align: middle; } -pre { - overflow: auto; - font-size: 98%; -} - -/* Header */ - -#header { - background: #222; - height: 40px; - border-bottom: 4px solid #afafaf; -} - -#header h1 { - margin: 0; - padding: 8px 0 0 4px; - width: 250px; -} - -#header h1 a { - color: white; - text-decoration: none; - font-size: 20px; - font-style: italic; -} - -#header h1 a:hover { - color: #afafaf; -} - -/* Header links */ - -#network { - float: right; - padding: 14px 5px 0; - font-size: 12px; -} - -#network a, #network span { - padding: 0 4px; - color: #fff; - font-weight: bold; - text-decoration: none; -} - -#network a:hover, #network span { color: #afafaf; } - -/* Logo */ - -#logo { - background: url(images/logo.png) no-repeat left; - position: absolute; - float: left; - left: 0px; - top: 0px; - width: 40px; - height: 40px; -} - -/* Search */ - -#search { - position: absolute; - right: 20px; - top: 60px; -} - -#search input[type="text"] { - width: 200px; - - padding: 4px; - margin: 4px 0px; - font-size: 14px; - line-height: 1.2em; - background: #fefefe; - border: 2px solid #afafaf; - -webkit-appearance: none; - -webkit-padding-end: 12px; - -webkit-padding-start: 6px; -} - -/* Content */ - -#content { - margin: 40px auto; - padding: 0 20px; - text-align: justify; - max-width: 720px; -} - -.box { - padding: 6px; - margin: 4px 0px; -} - -pre, .box { - background-color: #f8f8f8; - border: 1px solid #ddd; -} - -pre { - padding: 10px; -} - -pre img { margin: 4px 4px 4px 0px; } - -.error { color: red; } -.ok { color: green; } -.date { color: #666; font-size: 96%; } - -/* Round corner */ - -pre, img, .box, input[type="text"] { - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -/* Footer */ - -#footer { - text-align: center; - padding: 20px; - border-top: 1px solid #ddd; - font-size: 90%; -} - -#footer a { padding: 0 2px; } diff -r af1be39c0a6b -r 2b6001f6ed50 lighttpd/receipt --- a/lighttpd/receipt Fri Apr 11 06:13:22 2014 +0000 +++ b/lighttpd/receipt Fri Apr 11 09:53:56 2014 +0200 @@ -62,10 +62,8 @@ echo -n "Copying : mod_${module}.so" && status done - # Server root and config file. - cp -a $stuff/var $fs + # Config file. cp -a $stuff/etc $fs - chown -R 0.0 $fs/var/www chown -R 0.0 $fs/etc # Logs directory. diff -r af1be39c0a6b -r 2b6001f6ed50 lighttpd/stuff/var/www/index.html --- a/lighttpd/stuff/var/www/index.html Fri Apr 11 06:13:22 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ - - - - SliTaz Web Server - - - - - - - - - - -
- - -
-

Index of /

- -

- [English] Welcome to free LightTPD web server index page, - powered by SliTaz GNU/Linux operating system. You can delete or modify - this page to put your own xHTML pages, web sites, CGI or PHP scripts. - Configuration file can be found in /etc/lighttpd/lighttpd.conf and is - autodocumemted. A page in the SliTaz Handbook - is dedicated to the web server configuration. -

- -

- [Français] Bienvenue sur la page d'index de ce serveur - libre LightTPD, propulsé par un système d'exploitation SliTaz GNU/Linux. - Vous pouvez supprimer cette page, la modifier, ou mettre vos propres - pages xHTML, sites et/ou scripts CGI ou PHP. Le fichier de configuration - se trouve dans /etc/lighttpd/lighttpd.conf et il est autodocumenté. Une - page du Handbook - de SliTaz, en français, est dédiée à la configuration du serveur web. -

- - -
- - - - - - diff -r af1be39c0a6b -r 2b6001f6ed50 lighttpd/stuff/var/www/style.css --- a/lighttpd/stuff/var/www/style.css Fri Apr 11 06:13:22 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ -/* CSS style for SliTaz GNU/Linux generic xHTML files. */ - -html { min-height: 102%; } - -body { - background: #ffffff; - color: black; - font: 13px sans-serif, vernada, arial; - margin: 0; - min-width: 640px; -} - -a { text-decoration: underline; color: #215090; } -a:hover { text-decoration: none; color: blue; } -img { border: 0pt none; vertical-align: middle; } -h2 { color: #444; } -h3 { color: #666; font-size: 140%; } - -#header { - height: 40px; - background: #351a0a; -} - -#header h1 { - margin: 0; - padding: 8px 0 0 8px; - width: 250px; - color: white; - font-size: 20px; - font-style: italic; -} - -#header h1 a { - color: white; - text-decoration: none; - font-size: 20px; - font-style: italic; -} - -#header h1 a:hover, #network a:hover { - color: #d66018; -} - -#network { - float: right; - padding: 12px 5px 0; - font-size: 12px; -} - -#network a { padding: 0 6px; } - -#network a { - color: #fff; - font-weight: bold; - text-decoration: none; -} - -#block { - min-height: 8px; - background: #d66018; - padding: 0; - border-bottom: 1px solid #f5f5f5; -} - -#content { - padding: 30px 80px; - text-align: justify; -} - -#footer { - text-align: center; - border-top: 1px solid #ddd; - padding: 40px; - color: #666; -} - -#footer a { color: #666; padding: 0 2px; }