seb diff examples/initfs-scratch/etc/httpd.conf @ rev 3

Add examples folder with initfs-scratch (like in 2007 scratchbook)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 06 16:31:59 2017 +0100 (2017-03-06)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/initfs-scratch/etc/httpd.conf	Mon Mar 06 16:31:59 2017 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# /etc/httpd.conf: Seb-OS Busybox HTTP web server configuration file.
     1.5 +
     1.6 +# Server root.
     1.7 +H:/var/www
     1.8 +
     1.9 +# Allow address.
    1.10 +A:192.168.
    1.11 +
    1.12 +# File to open by default.
    1.13 +I:index.html
    1.14 +
    1.15 +# Path to the 404 error page.
    1.16 +E404:/var/www/404.html
    1.17 +
    1.18 +# Require user root on urls starting with /adm/. use passwd system db
    1.19 +/adm:root:*
    1.20 +
    1.21 +# Reverse proxy.
    1.22 +#P:/url:[http://]hostname[:port]/new/path
    1.23 +
    1.24 +# CGI interpreter path.
    1.25 +*.sh:/bin/sh
    1.26 +*.cgi:/bin/sh
    1.27 +#*.py:/usr/bin/python
    1.28 +#*.php:/usr/bin/php-cgi
    1.29 +
    1.30 +# MIME type.
    1.31 +.txt:text/plain
    1.32 +.css:text/css
    1.33 +.xml:text/xml
    1.34 +.png:image/png
    1.35 +.jpg:image/jpeg
    1.36 +.tgz:application/x-tgz
    1.37 +.tar.gz:application/x-tgz
    1.38 +.tazpkg:application/x-tazpkg
    1.39 +.sup:application/x-sup