Fixed apache documentroot, and fixed permissions for "/"
This commit is contained in:
parent
132249e96d
commit
2104561eca
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue