summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-09-17 19:05:31 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-09-17 19:05:31 (GMT)
commit821cc0565b986dfc50ce5af75cdc2b2187321fd7 (patch)
treeaa74c42d31c995dd9eca79d0da6cb0aed7820513 /README
parentbe222e65e50b5583ee077520675cf7bf242f9392 (diff)
first test for mod_perl for authtoken
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 7 insertions, 2 deletions
diff --git a/README b/README
index 89d737b..8dddeca 100644
--- a/README
+++ b/README
@@ -1,8 +1,9 @@
Installation
============
-# sudo aptitude install apache2 libjs-jquery rivendell-server
-# sudo a2enmod ssl authnz_ldap
+# sudo aptitude install apache2 libapache2-mod-perl2 libjs-jquery rivendell-server
+# sudo a2enmod ssl authnz_ldap perl
+# sudo /etc/init.d/apache2 restart
add the following to /etc/apache2/mods-endabled/ldap.conf:
@@ -31,6 +32,10 @@ add the following to the virtualhost config:
Include /etc/rivendell/apache.conf
<Location /authtoken.json>
+ SetHandler perl-script
+ PerlResponseHandler ModPerl::Registry
+ PerlOptions +ParseHeaders
+ Options +ExecCGI
Order deny,allow
Deny from All
AuthName "Radio Helsinki - Automation Import"