Rev | Line | |
---|
[623] | 1 | Alias /__scripts/heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat |
---|
[2257] | 2 | Alias /__scripts/django/static/admin /usr/lib/python2.7/site-packages/django/contrib/admin/static/admin |
---|
[604] | 3 | Alias /__scripts /afs/athena.mit.edu/contrib/scripts/www |
---|
| 4 | |
---|
[603] | 5 | <Directory /afs/athena.mit.edu/contrib/scripts/www> |
---|
| 6 | <Files *> |
---|
| 7 | SetHandler none |
---|
| 8 | </Files> |
---|
| 9 | </Directory> |
---|
| 10 | |
---|
[2257] | 11 | <Directory /usr/lib/python2.7/site-packages/django/contrib/admin/static/admin> |
---|
[1039] | 12 | <Files *> |
---|
| 13 | SetHandler none |
---|
| 14 | </Files> |
---|
| 15 | </Directory> |
---|
| 16 | |
---|
[603] | 17 | <Location /__scripts/needcerts> |
---|
| 18 | RewriteEngine On |
---|
[708] | 19 | |
---|
[603] | 20 | RewriteCond %{HTTP_HOST} !:444$ |
---|
[708] | 21 | RewriteCond %{SERVER_NAME} ^(.*\.)?scripts$ |
---|
| 22 | RewriteCond %{THE_REQUEST} ^[^\ ]*\ (.*)\ .* |
---|
| 23 | RewriteRule ^ https://%{SERVER_NAME}.mit.edu:444%1 [L,R] |
---|
| 24 | |
---|
| 25 | RewriteCond %{HTTP_HOST} !:444$ |
---|
[603] | 26 | RewriteCond %{SERVER_NAME} !=scripts-cert.mit.edu |
---|
| 27 | RewriteCond %{SERVER_NAME} !=scripts-cert |
---|
| 28 | RewriteCond %{THE_REQUEST} ^[^\ ]*\ (.*)\ .* |
---|
| 29 | RewriteRule ^ https://%{SERVER_NAME}:444%1 [L,R] |
---|
| 30 | |
---|
[1483] | 31 | RewriteCond %{HTTP_USER_AGENT} Mac\ OS\ X.*AppleWebKit |
---|
[2119] | 32 | RewriteRule /afs/athena.mit.edu/contrib/scripts/www/needcerts(.*) /__scripts/certerror$1 [L] |
---|
[1483] | 33 | |
---|
[605] | 34 | RewriteRule /afs/athena.mit.edu/contrib/scripts/www/needcerts(.+) $1 [L] |
---|
| 35 | RewriteRule /afs/athena.mit.edu/contrib/scripts/www/needcerts /__scripts/unauthorized.html [L] |
---|
[603] | 36 | </Location> |
---|
[1483] | 37 | |
---|
[2591] | 38 | <IfModule ssl_module> |
---|
[2119] | 39 | <Location /__scripts/certerror> |
---|
[1483] | 40 | SSLVerifyClient require |
---|
[2119] | 41 | RewriteRule /afs/athena.mit.edu/contrib/scripts/www/certerror(.+) $1 [L] |
---|
| 42 | RewriteRule /afs/athena.mit.edu/contrib/scripts/www/certerror /__scripts/unauthorized.html [L] |
---|
[1483] | 43 | </Location> |
---|
[2591] | 44 | </IfModule> |
---|
Note: See
TracBrowser
for help on using the repository browser.