Difference between revisions of "Talk:Zoneminder(HOW TO)"

From SME Server
Jump to navigationJump to search
m
m
Line 1: Line 1:
Apache config:
+
=Apache config:=
  
 
  Alias /zm "/usr/share/zoneminder/www"
 
  Alias /zm "/usr/share/zoneminder/www"

Revision as of 09:52, 26 October 2016

Apache config:

Alias /zm "/usr/share/zoneminder/www"
<Directory "/usr/share/zoneminder/www">
   SSLRequireSSL
   Options -Indexes MultiViews FollowSymLinks
   AllowOverride All
   Order allow,deny
   AddType application/x-httpd-php .php
   AuthBasicProvider external
   Allow from all
</Directory>

ScriptAlias /zm/cgi-bin /usr/libexec/zoneminder/cgi-bin
<Directory "/usr/libexec/zoneminder/cgi-bin">
   SSLRequireSSL
   AddHandler cgi-script cgi pl
   AllowOverride All
   Options ExecCGI FollowSymLinks
   Order allow,deny
   Allow from all
</Directory>