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