diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-08-21 23:23:54 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-08-21 23:23:54 (GMT) |
commit | 9b15e2b2fe804f115c5f65ad510dc0daaaafd672 (patch) | |
tree | 4e06fc17c3c0862013d649602f4d53228f9ff2e8 | |
parent | 19356fb14eaa7d5b20a45fcc5cdce94d52a48ec6 (diff) |
improved apache config
-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" |