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

Last change on this file since 708 was 708, checked in by geofft, 14 years ago
Add rebecca to sudoers.
File size: 929 bytes
RevLine 
[623]1Alias /__scripts/heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat
[604]2Alias /__scripts /afs/athena.mit.edu/contrib/scripts/www
3
[603]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
[708]12
[603]13    RewriteCond %{HTTP_HOST} !:444$
[708]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$
[603]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
[605]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]
[603]26</Location>
Note: See TracBrowser for help on using the repository browser.