DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
SuExecUserGroup scripts users
UserDir enabled
UserDir web_scripts
# Comment the following line out to take the machine out of the LVS pool
# You'll also need to prevent it from listening on 443 or 444
Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat
Alias /src /afs/athena.mit.edu/contrib/scripts/src
Redirect /sql https://scripts.mit.edu/~sql
AuthType Basic
AuthName "scripts status"
AuthBasicProvider file
AuthUserFile /etc/munin/apache-htpasswd
Require valid-user
SetHandler server-status
PermitStatusHandler on
RewriteEngine On
RewriteBase /~scripts
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .*(favicon\.ico) $1 [L,NS]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .*(robots\.txt) $1 [L,NS]