# HG changeset patch # User Heiko Schlittermann # Date 1451428751 -3600 # Node ID 4aee8dec908daaf21023005c368bdb1829b065e4 # Parent 342819c7091867cb8efafa24454b6234e7f4be57 Enable once/public diff -r 342819c70918 -r 4aee8dec908d configs/apache.conf --- a/configs/apache.conf Tue Dec 29 22:59:42 2015 +0100 +++ b/configs/apache.conf Tue Dec 29 23:39:11 2015 +0100 @@ -1,25 +1,37 @@ # -> /etc/apache2/conf.d + # The directory where the files are stored, # it needs to be writable by the web server user (wwwrun, www-data, # who ever) # SentEnv may go into the ... SetEnv ONCE_VAR /var/lib/once/ + + # Action may go into ... -Action once-handler /once-handler/once.pl virtual +Action once-handler /once-handler/once.cgi virtual # Order of location blocks matters! SetHandler once-handler + + SetHandler none + # # SetHandler once-download-handler # Action once-download-handler /once-handler/download.pl virtual # +Alias /once/public /usr/local/lib/once/public + + Require all granted + Allow from all + + + ScriptAlias /once-handler/ /usr/local/lib/once/ - Require all granted Allow from all