summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2018-12-14 17:09:56 +0200
committerPaul Buetow <paul@buetow.org>2018-12-14 17:09:56 +0200
commit6a6593805d71f6cab99f9aa1de64ddb43fd57e09 (patch)
tree31176e645c6fbf1d6bef3545a5627dfbedcb7dca
parenta99e4d337bee2ab064af909b43011951db310c9d (diff)
default config is xerl.con
-rwxr-xr-xindex.cgi2
-rwxr-xr-xindex.fcgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/index.cgi b/index.cgi
index 8441c3e..80db523 100755
--- a/index.cgi
+++ b/index.cgi
@@ -22,7 +22,7 @@ my $host = hostname();
my $config =
-e "xerldev.conf"
? "xerldev.conf"
- : ( -e "xerl-$host.conf" ? "xerl-$host.conf" : 'config.conf' );
+ : ( -e "xerl-$host.conf" ? "xerl-$host.conf" : 'xerl.conf' );
my $xerl = Xerl->new( config => $config );
$xerl->run();
diff --git a/index.fcgi b/index.fcgi
index d21ae1c..1f44938 100755
--- a/index.fcgi
+++ b/index.fcgi
@@ -23,7 +23,7 @@ my $host = hostname();
my $config =
-e "xerldev.conf"
? "xerldev.conf"
- : ( -e "xerl-$host.conf" ? "xerl-$host.conf" : 'config.conf' );
+ : ( -e "xerl-$host.conf" ? "xerl-$host.conf" : 'xerl.conf' );
while ( FCGI::accept >= 0 ) {
my $xerl = Xerl->new( config => $config );