Line | |
---|
1 | Alias /__scripts/heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat |
---|
2 | Alias /__scripts /afs/athena.mit.edu/contrib/scripts/www |
---|
3 | |
---|
4 | <Directory /afs/athena.mit.edu/contrib/scripts/www> |
---|
5 | <Files *> |
---|
6 | SetHandler none |
---|
7 | </Files> |
---|
8 | </Directory> |
---|
9 | |
---|
10 | <Location /__scripts/needcerts> |
---|
11 | RewriteEngine On |
---|
12 | |
---|
13 | RewriteCond %{HTTP_HOST} !:444$ |
---|
14 | RewriteCond %{SERVER_NAME} ^(.*\.)?scripts$ |
---|
15 | RewriteCond %{THE_REQUEST} ^[^\ ]*\ (.*)\ .* |
---|
16 | RewriteRule ^ https://%{SERVER_NAME}.mit.edu:444%1 [L,R] |
---|
17 | |
---|
18 | RewriteCond %{HTTP_HOST} !:444$ |
---|
19 | RewriteCond %{SERVER_NAME} !=scripts-cert.mit.edu |
---|
20 | RewriteCond %{SERVER_NAME} !=scripts-cert |
---|
21 | RewriteCond %{THE_REQUEST} ^[^\ ]*\ (.*)\ .* |
---|
22 | RewriteRule ^ https://%{SERVER_NAME}:444%1 [L,R] |
---|
23 | |
---|
24 | RewriteRule /afs/athena.mit.edu/contrib/scripts/www/needcerts(.+) $1 [L] |
---|
25 | RewriteRule /afs/athena.mit.edu/contrib/scripts/www/needcerts /__scripts/unauthorized.html [L] |
---|
26 | </Location> |
---|
Note: See
TracBrowser
for help on using the repository browser.