Skip to content

Instantly share code, notes, and snippets.

@vicendominguez
Created September 4, 2014 14:34
Show Gist options
  • Save vicendominguez/ba0bb1ce52232fca1eae to your computer and use it in GitHub Desktop.
Save vicendominguez/ba0bb1ce52232fca1eae to your computer and use it in GitHub Desktop.
Minimal collectd-web configure
# Configuration for collectd-web
ScriptAlias /stats/cgi-bin/ /var/www/collectd-web-master/cgi-bin/
Alias /stats/ /var/www/collectd-web-master/
DirectoryIndex index.html
<Directory "/var/www/collectd-web-master/">
AllowOverride All
AuthType Basic
AuthName "Restringido"
AuthBasicProvider file
AuthUserFile "/var/www/.htpasswd"
Require valid-user
Options None
Order allow,deny
Allow from all
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment