Changes between Initial Version and Version 1 of Ticket #2371
- Timestamp:
- Nov 17, 2005, 7:50:26 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2371 – Description
initial v1 4 4 5 5 apache2 -v output: 6 {{{ 6 7 Server version: Apache/2.0.54 7 8 Server built: Sep 5 2005 11:11:08 9 }}} 8 10 9 11 Trac-admin output: … … 15 17 Apache2 config part which creates the odd situation: 16 18 19 {{{ 17 20 <IfModule mod_negotiation.c> 18 21 <IfModule mod_include.c> … … 50 53 </IfModule> 51 54 </IfModule> 55 }}} 52 56 53 57 I use this apache virtual host config for trac: 54 58 {{{ 55 59 <VirtualHost *:443> 56 60 ServerName sub.domain.com … … 63 67 64 68 SSLOptions +StdEnvVars 65 66 67 69 68 70 Alias /trac /usr/share/trac/htdocs/ … … 91 93 92 94 </VirtualHost> 93 95 }}} 94 96 95 97 When I have it like this Trac issues this error when I want to login: 98 {{{ 96 99 No handler matched request to /error/HTTP_UNAUTHORIZED.html.var 100 }}} 97 101 98 102 When I comment out this line in the apache config part: 103 {{{ 99 104 ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var 105 }}} 100 106 101 107 It works OK. 102 108 103 109 A workaround which I got is adding this line in my virtualhost: 110 {{{ 104 111 ErrorDocument 401 default 112 }}} 105 113 106 114 Then things will work Ok. 107 115 108 116 Hope someone can research this. 109 110