fix options, to remove indexes

This commit is contained in:
Isaac Connor 2017-05-23 15:01:22 -04:00
parent 94ce60aa1b
commit 242c8fc0ab
1 changed files with 2 additions and 2 deletions

View File

@ -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>