lighttpd/stdout.nl: Add authentication for /beef.
[matthijs/servers/drsnuggles.git] / etc / lighttpd / scripts / include-vhosts.pl
1 #!/usr/bin/perl -wl
2
3 # This script is based on /usr/share/lighttpd/include-conf-enabled.pl but
4 # changed to read the vhosts directory instead of the conf-enabled directory.
5
6 use strict;
7 use File::Glob ':glob';
8
9 my $confdir = "/etc/lighttpd/";
10 my $enabled = "vhosts/*";
11
12 chdir($confdir);
13 my @files = bsd_glob($enabled);
14
15 for my $file (@files)
16 {
17         print "include \"$file\"";
18 }