Last change
on this file since 390 was
330,
checked in by andersk, 17 years ago
|
Modularize scripts.mit.edu main vhost, and fix favicon.ico and
robots.txt 500 errors on other vhosts.
|
File size:
553 bytes
|
Line | |
---|
1 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home |
---|
2 | SuExecUserGroup scripts users |
---|
3 | UserDir web_scripts |
---|
4 | Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat |
---|
5 | Alias /src /afs/athena.mit.edu/contrib/scripts/src |
---|
6 | Redirect /sql https://scripts.mit.edu/~sql |
---|
7 | |
---|
8 | <Location ~ "/(robots\.txt|favicon\.ico)"> |
---|
9 | RewriteEngine On |
---|
10 | RewriteBase /~scripts |
---|
11 | RewriteCond %{REQUEST_FILENAME} !-f |
---|
12 | RewriteRule .*(favicon\.ico) $1 [L,NS] |
---|
13 | RewriteCond %{REQUEST_FILENAME} !-f |
---|
14 | RewriteRule .*(robots\.txt) $1 [L,NS] |
---|
15 | </Location> |
---|
Note: See
TracBrowser
for help on using the repository browser.