Merge a new apache.conf that supports fcgid
parent
48ad0b77fc
commit
c4d7703867
|
@ -1,8 +1,20 @@
|
||||||
Alias /zm /usr/share/zoneminder/www
|
Alias /zm /usr/share/zoneminder/www
|
||||||
|
|
||||||
<Directory /usr/share/zoneminder/www>
|
<IfModule mod_fcgid.c>
|
||||||
Options -Indexes +FollowSymLinks
|
<Directory /usr/share/zoneminder/www>
|
||||||
<IfModule mod_dir.c>
|
Options +ExecCGI
|
||||||
DirectoryIndex index.php
|
AllowOverride All
|
||||||
</IfModule>
|
AddHandler fcgid-script .php
|
||||||
</Directory>
|
FCGIWrapper /usr/bin/php5-cgi
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
</IfModule>
|
||||||
|
<IfModule mod_php5.c>
|
||||||
|
<Directory /usr/share/zoneminder/www>
|
||||||
|
Options Indexes FollowSymLinks
|
||||||
|
<IfModule mod_dir.c>
|
||||||
|
DirectoryIndex index.php
|
||||||
|
</IfModule>
|
||||||
|
</Directory>
|
||||||
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue