ScriptAlias /cgi-bin/ "/usr/share/awstats/wwwroot/cgi-bin/" SetEnv AWSTATS_CONFIG www.theopensourceway.org Options +ExecCGI AddHandler cgi-script .pl AllowOverride None Require all granted AuthType Basic AuthName "Authentication Required" AuthUserFile "/etc/httpd/htpasswd" require valid-user