summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-08-21 23:23:54 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-08-21 23:23:54 (GMT)
commit9b15e2b2fe804f115c5f65ad510dc0daaaafd672 (patch)
tree4e06fc17c3c0862013d649602f4d53228f9ff2e8 /README
parent19356fb14eaa7d5b20a45fcc5cdce94d52a48ec6 (diff)
improved apache config
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 10 insertions, 14 deletions
diff --git a/README b/README
index 6faf316..7d34026 100644
--- a/README
+++ b/README
@@ -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"