File squidguardmgr.http of Package squidguardmgr

Alias /squidguardmgr /srv/www/squidguardmgr

<Directory /srv/www/squidguardmgr>

    Options +ExecCGI -Includes
    AddHandler cgi-script .cgi
    DirectoryIndex squidguardmgr.cgi
    AllowOverride None

    <IfModule mod_authz_core.c>
      # Apache 2.4
      Require local
      # Require host .your.domain	# this must change to domain which sould have access
    </IfModule>
    <IfModule !mod_authz_core.c>
      # Apache 2.2
      Order deny,allow
      Deny from all
      Allow from 127.0.0.1
    </IfModule>

</Directory>
openSUSE Build Service is sponsored by