Last change
on this file since 604 was
604,
checked in by andersk, 17 years ago
|
Prevent vhost access controls from applying to /__scripts.
|
File size:
674 bytes
|
Line | |
---|
1 | Alias /__scripts /afs/athena.mit.edu/contrib/scripts/www |
---|
2 | |
---|
3 | <Directory /afs/athena.mit.edu/contrib/scripts/www> |
---|
4 | <Files *> |
---|
5 | SetHandler none |
---|
6 | </Files> |
---|
7 | </Directory> |
---|
8 | |
---|
9 | Alias /__scripts/unauthorized /afs/athena.mit.edu/contrib/scripts/www/unauthorized.html |
---|
10 | |
---|
11 | <Location /__scripts/needcerts> |
---|
12 | RewriteEngine On |
---|
13 | RewriteCond %{HTTP_HOST} !:444$ |
---|
14 | RewriteCond %{SERVER_NAME} !=scripts-cert.mit.edu |
---|
15 | RewriteCond %{SERVER_NAME} !=scripts-cert |
---|
16 | RewriteCond %{THE_REQUEST} ^[^\ ]*\ (.*)\ .* |
---|
17 | RewriteRule ^ https://%{SERVER_NAME}:444%1 [L,R] |
---|
18 | |
---|
19 | RewriteRule /__scripts/needcerts(.+) $1 [L] |
---|
20 | RewriteRule /__scripts/needcerts /__scripts/unauthorized [L] |
---|
21 | </Location> |
---|
Note: See
TracBrowser
for help on using the repository browser.