[arch-commits] Commit in lighttpd/trunk (PKGBUILD lighttpd.conf)
Pierre Schmitz
pierre at archlinux.org
Sun Jan 15 16:02:16 UTC 2012
Date: Sunday, January 15, 2012 @ 11:02:16
Author: pierre
Revision: 146657
One should set a default mime type
Otherwise lighttpd wont sent a Last-Modified header.
See http://redmine.lighttpd.net/issues/1236
Modified:
lighttpd/trunk/PKGBUILD
lighttpd/trunk/lighttpd.conf
---------------+
PKGBUILD | 2 +-
lighttpd.conf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-15 15:32:27 UTC (rev 146656)
+++ PKGBUILD 2012-01-15 16:02:16 UTC (rev 146657)
@@ -23,7 +23,7 @@
'941ab747aeb97ca111fb670d21eefecdf745debc5e139bc5bd6881ee66b2742a'
'ceff3a88e876f6104c094379d507b89bc504777d0f98a0930406a70624fcf024'
'6c5892830e77731d27e3ebb64a0d87ab9139c68eb703aec6741c591814cef26f'
- '44267e8b670faaf5712ad0bc9fd84b8c52281ddd22ef2c22d4b474dbb1cf5d2a')
+ 'ee56422fe48f2683ccb5ca2e3dc6bad79ea8e1cbd043b21d2ea73b87018e35aa')
build() {
cd $srcdir/$pkgname-$pkgver
Modified: lighttpd.conf
===================================================================
--- lighttpd.conf 2012-01-15 15:32:27 UTC (rev 146656)
+++ lighttpd.conf 2012-01-15 16:02:16 UTC (rev 146657)
@@ -9,4 +9,4 @@
server.errorlog = "/var/log/lighttpd/error.log"
dir-listing.activate = "enable"
index-file.names = ( "index.html" )
-mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" )
+mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", "" => "application/octet-stream" )
More information about the arch-commits
mailing list