Created
July 25, 2011 07:28
-
-
Save leihog/1103702 to your computer and use it in GitHub Desktop.
Lighttpd include all vhosts in path in to lighttpd.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Use this to include all vhost files in to lighttpd.conf | |
# In lighttpd.conf add the line: include_shell "/etc/lighttpd/vhosts.sh" | |
# | |
VHOST_PATH="/etc/lighttpd/vhosts/*" | |
for f in $VHOST_PATH | |
do | |
cat $f | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment