--- 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
--- 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
</Directory>
- 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!