LightTPD

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 {} \;"

 
know-how/software/lighttpd.txt · Last modified: 2009-04-07 11:16.12 by mbirth
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Contents powered by Club-Mate Contents powered by BassDrive.com Labelled with ICRA