Last change
on this file since 425 was
417,
checked in by quentin, 17 years ago
|
Enable munin apache graphing by turning on server-status
|
File size:
860 bytes
|
Rev | Line | |
---|
[330] | 1 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home |
---|
| 2 | SuExecUserGroup scripts users |
---|
| 3 | UserDir web_scripts |
---|
[417] | 4 | # Comment the following line out to take the machine out of the LVS pool |
---|
[330] | 5 | Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat |
---|
| 6 | Alias /src /afs/athena.mit.edu/contrib/scripts/src |
---|
| 7 | Redirect /sql https://scripts.mit.edu/~sql |
---|
| 8 | |
---|
[417] | 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 | |
---|
[330] | 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.