From 86c2d3093686c4f945086c90af9b8a7900925b6b Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Mon, 6 Dec 2021 05:33:30 -0500 Subject: [multiple] remove long-deprecated modules x-ref: https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated --- doc/config/conf.d/Makefile.am | 4 --- doc/config/conf.d/cml.conf | 27 -------------- doc/config/conf.d/geoip.conf | 28 --------------- doc/config/conf.d/mysql_vhost.conf | 47 ------------------------ doc/config/conf.d/trigger_b4_dl.conf | 70 ------------------------------------ doc/config/modules.conf | 18 ---------- 6 files changed, 194 deletions(-) delete mode 100644 doc/config/conf.d/cml.conf delete mode 100644 doc/config/conf.d/geoip.conf delete mode 100644 doc/config/conf.d/mysql_vhost.conf delete mode 100644 doc/config/conf.d/trigger_b4_dl.conf (limited to 'doc/config') diff --git a/doc/config/conf.d/Makefile.am b/doc/config/conf.d/Makefile.am index 5616473c..7c976afe 100644 --- a/doc/config/conf.d/Makefile.am +++ b/doc/config/conf.d/Makefile.am @@ -1,18 +1,15 @@ EXTRA_DIST=access_log.conf \ auth.conf \ cgi.conf \ - cml.conf \ debug.conf \ deflate.conf \ dirlisting.conf \ evhost.conf \ expire.conf \ fastcgi.conf \ - geoip.conf \ magnet.conf \ mime.conf \ mod.template \ - mysql_vhost.conf \ proxy.conf \ rrdtool.conf \ scgi.conf \ @@ -20,6 +17,5 @@ EXTRA_DIST=access_log.conf \ simple_vhost.conf \ ssi.conf \ status.conf \ - trigger_b4_dl.conf \ userdir.conf \ webdav.conf diff --git a/doc/config/conf.d/cml.conf b/doc/config/conf.d/cml.conf deleted file mode 100644 index 6c539794..00000000 --- a/doc/config/conf.d/cml.conf +++ /dev/null @@ -1,27 +0,0 @@ -####################################################################### -## -## CML Module -## --------------- -## -## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModCML -## -server.modules += ( "mod_cml" ) -index-file.names += ( "index.cml" ) - -## -## The file extension that is bound to the cml-module. -## -cml.extension = ".cml" - -## -## Memcached hosts used for memcache* functions. -## -#cml.memcache-hosts = ( "127.0.0.1:11211" ) - -## -## A cml file that is executed for each request. -## -#cml.power-magnet = server_root + "/htdocs/powermagnet.cml" - -## -####################################################################### diff --git a/doc/config/conf.d/geoip.conf b/doc/config/conf.d/geoip.conf deleted file mode 100644 index d0da3067..00000000 --- a/doc/config/conf.d/geoip.conf +++ /dev/null @@ -1,28 +0,0 @@ -####################################################################### -## -## GeoIP Module -## --------------- -## -## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip -## -## mod_geoip is a module for fast ip/location lookups. It uses MaxMind -## GeoIP / GeoCity databases. If the ip was found in the database the -## module sets the appropriate environments variables to the request, -## thus making other modules/fcgi be informed. -## -server.modules += ( "mod_geoip" ) - -## -## mod_geoip will determine the database type automatically so if you -## enter GeoCity databse path it will load GeoCity Env. -## -#geoip.db-filename = "/path/to/GeoLiteCity.dat" - -## -## If enabled, mod_geoip will load the database binary file to memory -## for very fast lookups. The only penalty is memory usage. -## -#geoip.memory-cache = "disable" - -## -####################################################################### diff --git a/doc/config/conf.d/mysql_vhost.conf b/doc/config/conf.d/mysql_vhost.conf deleted file mode 100644 index cb63083d..00000000 --- a/doc/config/conf.d/mysql_vhost.conf +++ /dev/null @@ -1,47 +0,0 @@ -####################################################################### -## -## Virtual hosting with MySQL -## ---------------------------- -## -## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModMySQLVhost -## -server.modules += ( "mod_mysql_vhost" ) - -## -## Either set the the socket or host (and port) -## -## Local path to the mysql socket -## -#mysql-vhost.sock = "/var/lib/mysql/mysql.sock" - -## -## Host of the MySQL server. -## -#mysql-vhost.hostname = "localhost" - -## -## Optional: port to use. -## -#mysql-vhost.port = 3306 - -## -## Name of the database -## -mysql-vhost.db = "lighttpd" - -## -## SQL User/Password for the connection -## -mysql-vhost.user = "lighttpd" -mysql-vhost.pass = "secret" - -## -## The query to get the needed informations from the database. -## -## It doesnt matter how you name the fields the first field is always used -## as the document root. -## -mysql-vhost.sql = "SELECT docroot FROM domains WHERE domain='?'" - -## -####################################################################### diff --git a/doc/config/conf.d/trigger_b4_dl.conf b/doc/config/conf.d/trigger_b4_dl.conf deleted file mode 100644 index 9cf48354..00000000 --- a/doc/config/conf.d/trigger_b4_dl.conf +++ /dev/null @@ -1,70 +0,0 @@ -####################################################################### -## -## Trigger before download -## --------------- -## -## - if user requests ''download-url'' directly, the request is denied -## and he is redirected to ''deny-url' -## - if user visits ''trigger-url'' before requesting ''download-url'', -## access is granted -## - if user visits ''download-url'' again after ''trigger-timeout'' has -## elapsed, the request is denied and he is redirected to ''deny-url'' -## -## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModTriggerBeforeDownload -## -server.modules += ( "mod_mod_trigger_b4_dl" ) - -## -## To store the trigger state you can either use a local GDBM -## file or memcached(s). -## - -## -## Path to the local GDBM file. -## -trigger-before-download.gdbm-filename = home_dir + "/trigger.db" - -## -## List of memcached servers. -## -#trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" ) - -## -## URL prefix a visitor has to visit before downloading is allowed -## -trigger-before-download.trigger-url = "^/trigger/" - -## -## URL Prefix of the proteced area. -## -trigger-before-download.download-url = "^/download/" - -## -## -## The deny url. -## -trigger-before-download.deny-url = "http://www.example.com/index.html" - -## -## How long the "ticket" of the user will be valid. -## -## Value in seconds. -## -trigger-before-download.trigger-timeout = 10 - -## -## Normally the memcached key will be the remote ip of the request -## If you store other data in the memcached aswell and want to avoid -## key collisions you can configure a memcache-namespace. -## -## The key for the request will be memcache-namespace + remote_ip than. -## -#trigger-before-download.memcache-namespace = "t4bdl_" - -## -## If set to 1, the module will log some debug informations. -## -#trigger-before-download.debug = 0 - -## -####################################################################### diff --git a/doc/config/modules.conf b/doc/config/modules.conf index 609b71e2..f1a3e864 100644 --- a/doc/config/modules.conf +++ b/doc/config/modules.conf @@ -21,11 +21,8 @@ ## - mod_deflate -> conf.d/deflate.conf ## - mod_status -> conf.d/status.conf ## - mod_webdav -> conf.d/webdav.conf -## - mod_cml -> conf.d/cml.conf ## - mod_evhost -> conf.d/evhost.conf ## - mod_simple_vhost -> conf.d/simple_vhost.conf -## - mod_mysql_vhost -> conf.d/mysql_vhost.conf -## - mod_trigger_b4_dl -> conf.d/trigger_b4_dl.conf ## - mod_userdir -> conf.d/userdir.conf ## - mod_rrdtool -> conf.d/rrdtool.conf ## - mod_ssi -> conf.d/ssi.conf @@ -82,11 +79,6 @@ server.modules = ( ## #include conf_dir + "/conf.d/magnet.conf" -## -## mod_geoip -## -#include conf_dir + "/conf.d/geoip.conf" - ## ## mod_ssi ## @@ -107,11 +99,6 @@ server.modules = ( ## #include conf_dir + "/conf.d/userdir.conf" -## -## mod_cml -## -#include conf_dir + "/conf.d/cml.conf" - ## ## mod_rrdtool ## @@ -177,10 +164,5 @@ server.modules = ( ## #include conf_dir + "/conf.d/simple_vhost.conf" -## -## mod_mysql_vhost -## -#include conf_dir + "/conf.d/mysql_vhost.conf" - ## ####################################################################### -- cgit v1.2.1