lighttpd: simplified config (disabled webdav, auth modules)
authorMarcin Juszkiewicz <hrw@openembedded.org>
Sat, 10 Feb 2007 10:39:09 +0000 (10:39 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Sat, 10 Feb 2007 10:39:09 +0000 (10:39 +0000)
packages/lighttpd/conf/etc/lighttpd.conf
packages/lighttpd/lighttpd_1.4.13.bb

index 1536083..5642e31 100644 (file)
 # - saves memory
 server.modules              = (
 #                               "mod_rewrite",
-                                "mod_redirect",
+#                               "mod_redirect",
 #                               "mod_alias",
                                 "mod_access",
 #                               "mod_cml",
 #                               "mod_trigger_b4_dl",
-                                "mod_auth",
+#                               "mod_auth",
 #                               "mod_status",
 #                               "mod_setenv",
 #                               "mod_fastcgi",
@@ -33,7 +33,7 @@ server.modules              = (
 #                               "mod_expire",
 #                               "mod_secdownload",
 #                               "mod_rrdtool",
-                               "mod_webdav",
+#                                                              "mod_webdav",
                                 "mod_accesslog" )
 
 ## a static document-root, for virtual-hosting take look at the
@@ -131,12 +131,6 @@ $HTTP["url"] =~ "\.pdf$" {
   server.range-requests = "disable"
 }
 
-$HTTP["url"] =~ "^/dav($|/)" {
-  webdav.activate = "enable"
-  webdav.is-readonly = "disable"
-  webdav.sqlite-db-name = "/www/var/lighttpd.webdav_lock.db"
-}
-
 ##
 # which extensions should not be handle via static-file transfer
 #
@@ -267,8 +261,6 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
 #url.rewrite                = ( "^/$"             => "/server-status" )
 #url.redirect               = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
 
-url.redirect                = ( "^/DAV($|/)" => "http://cmx270/dav" )
-
 #### both rewrite/redirect support back reference to regex conditional using %n
 #$HTTP["host"] =~ "^www\.(.*)" {
 #  url.redirect            = ( "^/(.*)" => "http://%1/$1" )
index d56132e..9cb3d26 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Web server"
 SECTION = "net"
 DEPENDS = "sqlite3 libpcre libxml2"
 LICENSE = "BSD"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://www.lighttpd.net/download/lighttpd-1.4.13.tar.gz \
           file://${PV}/configure.in.patch;patch=1;pnum=2 \