# HG changeset patch # User Heiko Schlittermann # Date 1508254085 -7200 # Node ID 75a06e057016ad903ad265e7267008fb089763cc # Parent 689be4f785ef51159946b768b5c6830c6e11d6b6 Fix apache config diff -r 689be4f785ef -r 75a06e057016 bin/once --- a/bin/once Sat Jan 09 15:01:37 2016 +0100 +++ b/bin/once Tue Oct 17 17:28:05 2017 +0200 @@ -1,4 +1,5 @@ #! /usr/bin/perl -T +#line 2 # FIXME: UPDATE {{ # Example .htaccess # | Options -Indexes @@ -50,6 +51,9 @@ use Template; use experimental qw(smartmatch lexical_topic); +use lib "$Bin/../lib" =~ /(.*)/; +use Once; + my $DIST = basename $0, '.pl'; sub humanize; # convert numbers to human readable format diff -r 689be4f785ef -r 75a06e057016 configs/apache.conf --- a/configs/apache.conf Sat Jan 09 15:01:37 2016 +0100 +++ b/configs/apache.conf Tue Oct 17 17:28:05 2017 +0200 @@ -14,8 +14,8 @@ Require all denied - Action once-handler /once-handler/once.cgi virtual - ScriptAlias /once-handler/ $lib/ + Action once-handler /once-handler/once virtual + ScriptAlias /once-handler/ $lib/bin/ Alias $location/static $lib/static # Order of location blocks matters!