Line | |
---|
1 | AuthType SSLCert |
---|
2 | AuthSSLCertAuthoritative off |
---|
3 | AuthSSLCertVar SSL_CLIENT_S_DN_Email |
---|
4 | AuthSSLCertStripSuffix @MIT.EDU |
---|
5 | Require valid-user |
---|
6 | AuthOptional on |
---|
7 | |
---|
8 | RewriteEngine on |
---|
9 | |
---|
10 | RewriteCond %{HTTPS} =on |
---|
11 | RewriteRule ^logout http://%{SERVER_NAME}%{REQUEST_URI} [R,L] |
---|
12 | |
---|
13 | RewriteCond %{REQUEST_URI} !^/@ADDREND@/trac.fcgi |
---|
14 | RewriteRule ^(.*)$ /@ADDREND@/trac.fcgi/$1 [L] |
---|
15 | |
---|
16 | <Files login> |
---|
17 | AuthOptional off |
---|
18 | ErrorDocument 401 /__scripts/needcerts |
---|
19 | </Files> |
---|
Note: See
TracBrowser
for help on using the repository browser.