source: trunk/locker/deploy/trac/trac/.htaccess.in @ 2173

Last change on this file since 2173 was 1527, checked in by andersk, 15 years ago
Import trac from production.
File size: 434 bytes
Line 
1AuthType SSLCert
2AuthSSLCertAuthoritative off
3AuthSSLCertVar SSL_CLIENT_S_DN_Email
4AuthSSLCertStripSuffix @MIT.EDU
5Require valid-user
6AuthOptional on
7
8RewriteEngine on
9
10RewriteCond %{HTTPS} =on
11RewriteRule ^logout http://%{SERVER_NAME}%{REQUEST_URI} [R,L]
12
13RewriteCond %{REQUEST_URI} !^/@ADDREND@/trac.fcgi
14RewriteRule ^(.*)$ /@ADDREND@/trac.fcgi/$1 [L]
15
16<Files login>
17AuthOptional off
18ErrorDocument 401 /__scripts/needcerts
19</Files>
Note: See TracBrowser for help on using the repository browser.