SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
WebDAV
Apache needs to be configured and compiled with the --enable-dav
option.
Uncomment the WebDAV config file in /usr/local/apache2/conf/httpd.conf
:
# Include conf/extra/httpd-dav.conf
The WebDAV config file, /usr/local/apache2/conf/extra/httpd-dav.conf
, has the DavLockDB file location as /usr/local/apache2/var/DavLock
so we'll need to create the directory for that, assuming it doesn't already exist:
cd /usr/local/apache2
mkdir var
chmod -R 755 var/
chown -R nobody:nobody var/
Also, edit the config file, /usr/local/apache2/conf/extra/httpd-dav.conf
, and comment out the Directory section for /usr/local/apache2/uploads
as that doesn't exist and we probably aren't going to use it anyways.
Create a WebDAV test directory:
cd /usr/local/apache2/htdocs
mkdir DAVtest
chmod -R 755 DAVtest/
chown -R nobody:nobody DAVtest/
Edit /usr/local/apache2/conf/extra/httpd-dav.conf
and add a directive for our test directory:
<Directory "/usr/local/apache2/htdocs/DAVtest">
Dav On
Order Allow,Deny
Allow from all
AuthType Basic
AuthName DAV-test
# You can use the htpass program to create the password database:
# htpasswd -c "/usr/local/apache2/conf/webdav.passwd" admin
AuthUserFile "/usr/local/apache2/conf/webdav.passwd"
# Allow universal read-access, but writes are restricted
# to the admin user.
<LimitExcept GET OPTIONS>
require user admin
</LimitExcept>
</Directory>
Create the htpasswd file for the webDAV directory with an admin user:
/usr/local/apache2/bin/htpasswd -c /usr/local/apache2/conf/webdav.passwd admin
- Log in to post comments