Created
September 4, 2014 14:34
-
-
Save vicendominguez/ba0bb1ce52232fca1eae to your computer and use it in GitHub Desktop.
Minimal collectd-web configure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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