1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-09-20 06:33:24 +01:00
wiki.mbirth.de/know-how/software/_posts/2009-04-07-lighttpd.md

670 B

created layout layout_old redirect_to tags title toc updated
2009-04-07 11:16:12 +0200 redirect default https://blog.mbirth.de/archives/2009/04/07/lighttpd.html
know-how
software
http
lighttpd
LightTPD false 2009-04-07 11:16:12 +0200

Include wildcard configuration files

Lighty doesn't allow wildcarded inclusions of configuration files, but you can do a little trick using the include_shell command:

include_shell "cat /etc/lighttpd/conf.d/*conf"

# more elegant
include_shell "find /etc/lighttpd/conf.d -maxdepth 1 -name '*.conf' -exec cat {} \;"