fix options, to remove indexes
This commit is contained in:
parent
94ce60aa1b
commit
242c8fc0ab
|
@ -2,7 +2,7 @@ Alias /zm /usr/share/zoneminder/www
|
||||||
|
|
||||||
<IfModule mod_fcgid.c>
|
<IfModule mod_fcgid.c>
|
||||||
<Directory /usr/share/zoneminder/www>
|
<Directory /usr/share/zoneminder/www>
|
||||||
Options +ExecCGI
|
Options -Indexes +ExecCGI
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
AddHandler fcgid-script .php
|
AddHandler fcgid-script .php
|
||||||
FCGIWrapper /usr/bin/php5-cgi
|
FCGIWrapper /usr/bin/php5-cgi
|
||||||
|
@ -12,7 +12,7 @@ Alias /zm /usr/share/zoneminder/www
|
||||||
</IfModule>
|
</IfModule>
|
||||||
<IfModule mod_php5.c>
|
<IfModule mod_php5.c>
|
||||||
<Directory /usr/share/zoneminder/www>
|
<Directory /usr/share/zoneminder/www>
|
||||||
Options Indexes FollowSymLinks
|
Options -Indexes +FollowSymLinks
|
||||||
<IfModule mod_dir.c>
|
<IfModule mod_dir.c>
|
||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue