diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 63 |
1 files changed, 63 insertions, 0 deletions
@@ -0,0 +1,63 @@ +LICENSE +======= + +# +# rhrdweb +# +# Copyright (C) 2016 Christian Pointner <equinox@helsinki.at> +# +# This file is part of rhrdweb. +# +# rhrdweb is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# any later version. +# +# rhrdweb is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with rhrdweb. If not, see <http://www.gnu.org/licenses/>. +# + +Installation +============ + +# sudo aptitude install apache2 libapache2-mpm-itk libapache2-mod-perl2 libjson-any-perl librhrd-perl libjs-jquery +# sudo a2enmod ssl perl +# sudo /etc/init.d/apache2 restart + +add the following to the virtualhost config: + +~~~snip~~~ + AssignUserID rduser rivendell + + Include /etc/apache2/conf-available/javascript-common.conf + + Alias /rh-bin/ /var/www/rhrdweb/rh-bin/ + <Directory /var/www/rhrdweb/rh-bin/> + SetHandler perl-script + PerlResponseHandler ModPerl::Registry + PerlOptions +ParseHeaders + Options +ExecCGI + + Require all granted + </Directory> + + ProxyPass "/ntp" "ws://localhost:3000/ntp" + + DocumentRoot /var/www/rhrdweb/www/ + <Directory /var/www/rhrdweb/> + Options -Indexes -FollowSymLinks + AllowOverride None + + Require all denied + </Directory> + <Directory /var/www/rhrdweb/www> + Require all granted + </Directory> + AliasMatch "^/(js|img|styles)(.*)" "/var/www/rhrdweb/www/$1$2" + AliasMatch "^(.*)" "/var/www/rhrdweb/www/index.html" +~~~/snip~~~ |