daily pastebin goal
86%
SHARE
TWEET

Untitled

a guest Apr 27th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <IfModule mod_ssl.c>
  2. # Remember to enable cgi mod (i.e. "a2enmod cgi").
  3. ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
  4. <Directory "/usr/lib/zoneminder/cgi-bin">
  5.     Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  6.     AllowOverride All
  7.     Require all granted
  8. </Directory>
  9.  
  10. Alias /zm /usr/share/zoneminder/www
  11. <Directory /usr/share/zoneminder/www>
  12.   Options -Indexes +FollowSymLinks
  13.   <IfModule mod_dir.c>
  14.     DirectoryIndex index.php
  15.   </IfModule>
  16.   AuthType Basic
  17.                      AuthName "Restricted Content"
  18.                      AuthUserFile /etc/apache2/auth/passwords
  19.                      Require valid-user
  20.  
  21. </Directory>
  22.  
  23. <Directory /usr/share/zoneminder/www/api>
  24.     AllowOverride All
  25. </Directory>
  26. </IfModule>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Pastebin PRO 'AUTUMN SPECIAL'!
Get 60% OFF Pastebin PRO accounts!
 
Top