lighttpd: bump to 1.4.40, drop x86_gcc2, add x86 secondary arch. (#721)

* Configure with more options: --with-libxml --with-ldap --with-lua
  --with-sqlite --with-uuid --with-webdav-locks
* Create a read-only copy of system/settings/lighttpd/ in
  system/data/lighttpd/template-settings/.
* Rename index.shtml to index.lighttpd.shtml to make it easier to
  share the same document-root with other web servers.
* Add quickstart.txt in $docDir with some useful information.
This commit is contained in:
fbrosson
2016-07-24 21:23:36 +00:00
committed by waddlesplash
parent f5f4c5a641
commit efdc75f1b9
6 changed files with 153 additions and 84 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/sh
mkdir -p var/www/htdocs
if [ ! -e var/www/htdocs/index.lighttpd.shtml ]; then
ln -s /system/data/lighttpd/www/htdocs/index.lighttpd.shtml var/www/htdocs
fi
if [ ! -e var/www/htdocs/index.lighttpd.html ]; then
ln -s /system/data/lighttpd/www/htdocs/index.lighttpd.html var/www/htdocs
fi
mkdir -p var/log/lighttpd var/lib/lighttpd var/cache/lighttpd var/tmp/lighttpd

View File

@@ -1,13 +0,0 @@
#!/bin/sh
mkdir -p var/www/htdocs
if [ ! -e var/www/htdocs/index.shtml ]; then
ln -s /system/data/lighttpd/www/htdocs/index.shtml var/www/htdocs
fi
if [ ! -e var/www/htdocs/index.lighttpd.html ]; then
ln -s /system/data/lighttpd/www/htdocs/index.lighttpd.html var/www/htdocs
fi
mkdir -p var/log/lighttpd var/lib/lighttpd var/cache/lighttpd

View File

@@ -0,0 +1,11 @@
The configuration lives in /system/settings/lighttpd/ and is not overwritten if already present when lighttpd is installed or upgraded.
Template read-only configuration files are in /system/data/lighttpd/template-settings/ and correspond to the default configuration for the version of lighttpd being installed.
The default document root is /system/data/www/htdocs/.
It can be easily changed to an alternate directory, e.g. /var/www/htdocs/.
With the default configuration, access.log and error.log live in /var/log/lighttpd/.
lighttpd can be started with:
lighttpd -f /system/settings/lighttpd/lighttpd.conf
and stopped with:
kill $(cat /var/lighttpd.pid)