Last change
on this file since 1267 was
811,
checked in by quentin, 16 years ago
|
Add localhost to the list of scripts names
|
File size:
1000 bytes
|
Line | |
---|
1 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home |
---|
2 | SuExecUserGroup scripts users |
---|
3 | UserDir web_scripts |
---|
4 | # Comment the following line out to take the machine out of the LVS pool |
---|
5 | # You'll also need to prevent it from listening on 443 or 444 |
---|
6 | Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat |
---|
7 | Alias /src /afs/athena.mit.edu/contrib/scripts/src |
---|
8 | Redirect /sql https://scripts.mit.edu/~sql |
---|
9 | |
---|
10 | <IfModule mod_status.c> |
---|
11 | <Location "/server-status"> |
---|
12 | AuthType Basic |
---|
13 | AuthName "scripts status" |
---|
14 | AuthBasicProvider file |
---|
15 | AuthUserFile /etc/munin/apache-htpasswd |
---|
16 | Require valid-user |
---|
17 | SetHandler server-status |
---|
18 | PermitStatusHandler on |
---|
19 | </Location> |
---|
20 | </IfModule> |
---|
21 | |
---|
22 | <Location ~ "/(robots\.txt|favicon\.ico)"> |
---|
23 | RewriteEngine On |
---|
24 | RewriteBase /~scripts |
---|
25 | RewriteCond %{REQUEST_FILENAME} !-f |
---|
26 | RewriteRule .*(favicon\.ico) $1 [L,NS] |
---|
27 | RewriteCond %{REQUEST_FILENAME} !-f |
---|
28 | RewriteRule .*(robots\.txt) $1 [L,NS] |
---|
29 | </Location> |
---|
Note: See
TracBrowser
for help on using the repository browser.