Fixed apache documentroot, and fixed permissions for "/"

This commit is contained in:
Josh Behrends 2017-01-11 19:49:29 -08:00
parent 132249e96d
commit 2104561eca
1 changed files with 5 additions and 3 deletions

View File

@ -1,12 +1,14 @@
<VirtualHost *:80> <VirtualHost *:80>
DocumentRoot /usr/local/share/zoneminder DocumentRoot /usr/local/share/zoneminder/www
DirectoryIndex index.php DirectoryIndex index.php
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory />
Require all granted
</Directory>
<Directory "/usr/lib/cgi-bin"> <Directory "/usr/lib/cgi-bin">
AllowOverride None AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
require all granted Require all granted
</Directory> </Directory>
</VirtualHost> </VirtualHost>