summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/lighttpd/PKGBUILD4
-rw-r--r--abs/core/lighttpd/lighttpd.conf6
-rwxr-xr-xabs/core/lighttpd/lighttpd.install3
3 files changed, 10 insertions, 3 deletions
diff --git a/abs/core/lighttpd/PKGBUILD b/abs/core/lighttpd/PKGBUILD
index d7405ab..4801dab 100644
--- a/abs/core/lighttpd/PKGBUILD
+++ b/abs/core/lighttpd/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=lighttpd
pkgver=1.4.45
-pkgrel=1
+pkgrel=2
pkgdesc='A secure, fast, compliant and very flexible web-server'
license=('custom')
arch=('i686' 'x86_64')
@@ -64,7 +64,7 @@ package() {
}
md5sums=('98b97852441fc6b1942dfa9cf5c0beba'
'42d106b101d21ffd76ed9f3f1621e164'
- '1ff60252037689b0419e4c11af34b1ef'
+ 'fd4afd737fd16a82ba99b9a99533d34b'
'62779511e3f1127c3cc9b94c49f99c29'
'ef64c496602b182a551416a8ba6b3d43'
'1aeda5526e2cf1ca99d6e1571a6d9cf5')
diff --git a/abs/core/lighttpd/lighttpd.conf b/abs/core/lighttpd/lighttpd.conf
index 4d84dba..9831c5d 100644
--- a/abs/core/lighttpd/lighttpd.conf
+++ b/abs/core/lighttpd/lighttpd.conf
@@ -42,10 +42,14 @@ server.document-root = "/data/srv/httpd/htdocs"
#### accesslog module
#accesslog.filename = "/var/log/lighttpd/access.log"
-#send errors to syslog
+##send errors to syslog
server.errorlog-use-syslog = "enable"
$HTTP["url"] !~ "\.(jpe?g|png|gif|css)" { accesslog.use-syslog = "enable" }
+## File uploads
+# Make sure this folder exists and is writable to server.username
+# Add /data/storage/disk0/media/tmp/ for large file downloads in MythWeb
+server.upload-dirs = ( "/var/tmp/", "/data/storage/disk0/media/tmp/" )
# files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
diff --git a/abs/core/lighttpd/lighttpd.install b/abs/core/lighttpd/lighttpd.install
index 3526b71..9bd0c3a 100755
--- a/abs/core/lighttpd/lighttpd.install
+++ b/abs/core/lighttpd/lighttpd.install
@@ -3,6 +3,9 @@ post_install() {
usr/bin/systemd-tmpfiles --create lighttpd.conf
fi
+ #adjust permissions of /data/storage/disk0/media/tmp/
+ chmod 1777 /data/storage/disk0/media/tmp/
+
echo "Generate lighttpd include..."
gen_light_include.py
echo "Forcing a re-read of lighttpd's configuration file..."