--- a/configs/apache.conf Tue Oct 17 17:28:05 2017 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-# This file should be placed as
-# -> /etc/apache2/conf-available/once.conf
-# and then you may use `a2enconf once`
-
-<Macro ONCE $location $var $lib>
- SetEnv ONCE_VAR $var
- SetEnv ONCE_LIB $lib
-
- # The directory where the files are stored.
- # This directory needs to be r/w by the web server user
- # (wwwrun, www-data, who ever), but it must not be
- # accessible via HTTP(s)
- <Directory "$var">
- Require all denied
- </Directory>
-
- Action once-handler /once-handler/once virtual
- ScriptAlias /once-handler/ $lib/bin/
- Alias $location/static $lib/static
-
- # Order of location blocks matters!
- # We handle requests to our script, with the exception (see below)
- # for …/static/… requests. These should be answered from a simple
- # static directory for style sheets and similiar
- <Location "$location">
- SetHandler once-handler
- </Location>
- <Location "$location/static">
- SetHandler none
- </Location>
-
- <Directory "$lib/static">
- Require all granted
- Allow from all
- </Directory>
-
- <Directory "$lib">
- Require all granted
- Allow from all
- Options ExecCGI FollowSymlinks
- </Directory>
-</Macro>
-
-Use ONCE /once /var/lib/once /usr/local/lib/once
-UndefMacro ONCE