diff options
-rw-r--r-- | README | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -50,28 +50,24 @@ add the following to the virtualhost config: Include /etc/apache2/conf-available/javascript-common.conf Alias /rh-bin/ /var/www/rhwebimport/rh-bin/ - <Location /rh-bin/> + <Directory /var/www/rhwebimport/rh-bin/> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Require all granted - </Location> - <Location /rh-bin/authtoken.json> - SetHandler perl-script - PerlResponseHandler ModPerl::Registry - PerlOptions +ParseHeaders - Options +ExecCGI - AuthName "Radio Helsinki - Automation Import" - AuthType Basic - AuthBasicProvider ldap - AuthLDAPUrl ldap://ldap.helsinki.at/ou=People,dc=helsinki,dc=at?uid TLS + <Files authtoken.json> + AuthName "Radio Helsinki - Automation Import" + AuthType Basic + AuthBasicProvider ldap + AuthLDAPUrl ldap://ldap.helsinki.at/ou=People,dc=helsinki,dc=at?uid TLS - Require all denied - Require valid-user - </Location> + Require all denied + Require valid-user + </Files> + </Directory> ProxyPass "/ntp" "ws://localhost:3000/ntp" |