mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
c6c9e9b381
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
21 lines
785 B
Text
21 lines
785 B
Text
Some configurations notes for Apache web server
|
|
|
|
1. Modify your httpd.conf to allow access to HTML output like follow:
|
|
Alias /squidreport /var/www/squidreport
|
|
<Directory /var/www/squidreport>
|
|
Options -Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Order deny,allow
|
|
Deny from all
|
|
Allow from 127.0.0.1
|
|
</Directory>
|
|
2. If necessary, give additional host access to SquidAnalyzer in httpd.conf.
|
|
Restart and ensure that httpd is running.
|
|
3. Browse to http://my.host.dom/squidreport/ to ensure that things are working
|
|
properly.
|
|
4. Setup a cronjob to run squid-analyzer daily:
|
|
|
|
# SquidAnalyzer log reporting daily
|
|
0 2 * * * /usr/bin/squid-analyzer > /dev/null 2>&1
|
|
|
|
or run it manually.
|