diff -r 75a06e057016 -r a09a3ae04dcf configs/apache.conf --- 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` - - - 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) - - Require all denied - - - 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 - - SetHandler once-handler - - - SetHandler none - - - - Require all granted - Allow from all - - - - Require all granted - Allow from all - Options ExecCGI FollowSymlinks - - - -Use ONCE /once /var/lib/once /usr/local/lib/once -UndefMacro ONCE