mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
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:
13
www-servers/lighttpd/additional-files/create-lighttpd-directories.sh
Executable file
13
www-servers/lighttpd/additional-files/create-lighttpd-directories.sh
Executable 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
|
||||
@@ -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
|
||||
11
www-servers/lighttpd/additional-files/quickstart.txt
Normal file
11
www-servers/lighttpd/additional-files/quickstart.txt
Normal 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)
|
||||
Reference in New Issue
Block a user