Update document root for the Vagrant VM.

This commit is contained in:
Gunnar Beutner 2013-10-11 10:23:32 +02:00
parent 07cb895724
commit 1ad59806dd
1 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,13 @@ i2enfeature command
sed -i 's/^SELINUX=.*/SELINUX=permissive/' /etc/sysconfig/selinux
setenforce Permissive
cat > /etc/httpd/conf.d/doc-redirect.conf <<HTML
Alias /icinga2-doc "/usr/share/doc/icinga2"
RewriteEngine On
RewriteRule ^/$ /icinga2-doc/#vagrant [NE,L,R=301]
HTML
/etc/init.d/httpd start
/etc/init.d/icinga2 start