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