mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-13 13:56:46 +00:00
587 B
587 B
title | layout | created | updated | toc | tags | ||||
---|---|---|---|---|---|---|---|---|---|
LightTPD | default | 2009-04-07 11:16:12 +0200 | 2009-04-07 11:16:12 +0200 | false |
|
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 {} \;"