source: server/fedora/config/etc/httpd/conf.d/scripts-vhost.conf @ 417

Last change on this file since 417 was 417, checked in by quentin, 15 years ago
Enable munin apache graphing by turning on server-status
File size: 860 bytes
Line 
1DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
2SuExecUserGroup scripts users
3UserDir web_scripts
4# Comment the following line out to take the machine out of the LVS pool
5Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat
6Alias /src /afs/athena.mit.edu/contrib/scripts/src
7Redirect /sql https://scripts.mit.edu/~sql
8
9# quentin 2007/09/20
10<Location "/server-status">
11    AuthType Basic
12    AuthName "scripts status"
13    AuthBasicProvider file
14    AuthUserFile /etc/munin/apache-htpasswd
15    Require valid-user
16    SetHandler server-status
17</Location>
18
19<Location ~ "/(robots\.txt|favicon\.ico)">
20    RewriteEngine On
21    RewriteBase /~scripts
22    RewriteCond %{REQUEST_FILENAME} !-f
23    RewriteRule .*(favicon\.ico) $1 [L,NS]
24    RewriteCond %{REQUEST_FILENAME} !-f
25    RewriteRule .*(robots\.txt) $1 [L,NS]
26</Location>
Note: See TracBrowser for help on using the repository browser.