source: server/fedora/config/etc/httpd/conf.d/scripts-special.conf @ 605

Last change on this file since 605 was 605, checked in by andersk, 17 years ago
blah blah APACHE HAS NO GODDAMN ABSTRACTION BARRIERS blah blah blah.
File size: 648 bytes
Line 
1Alias /__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<Location /__scripts/needcerts>
10    RewriteEngine On
11    RewriteCond %{HTTP_HOST} !:444$
12    RewriteCond %{SERVER_NAME} !=scripts-cert.mit.edu
13    RewriteCond %{SERVER_NAME} !=scripts-cert
14    RewriteCond %{THE_REQUEST} ^[^\ ]*\ (.*)\ .*
15    RewriteRule ^ https://%{SERVER_NAME}:444%1 [L,R]
16
17    RewriteRule /afs/athena.mit.edu/contrib/scripts/www/needcerts(.+) $1 [L]
18    RewriteRule /afs/athena.mit.edu/contrib/scripts/www/needcerts /__scripts/unauthorized.html [L]
19</Location>
Note: See TracBrowser for help on using the repository browser.