#3207: tracd uses wrong URL scheme when behind https proxy
------------------------------+---------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  jonas
     Type:  defect            |      Status:  new  
 Priority:  normal            |   Milestone:       
Component:  general           |     Version:  0.9.5
 Severity:  normal            |    Keywords:       
------------------------------+---------------------------------------------
 I'm running tracd 0.95 (from Debian testing) on port 8080 and lighttpd
 serving https. Lighttpd is configured as a proxy for tracd - which
 works fine:

 https://trac.vistabella.de/annot/

 {{{
 proxy.debug = 0
 $HTTP["host"] =~ "(trac|svn).vistabella.de" {
        proxy.server = ("/" => (( "host" => "127.0.0.1", "port" => 8080)))
 }
 }}}

 However, I cannot login to become an authenticated user or do anyhting
 that provokes trac to issue a new URL:

 My browser complains:
 {{{
 Safari can't open the page "http://trac.vistabella.de/annot"; because
 it could not connect to the server "trac.vistabella.de".
 }}}

 This is correct, since it should connect using https. Is there a way to
 make trac aware of the fact that it is behind a https proxy?

 After reading tickets here and the code in web/api.py, I suspect this
 could be related to #2553. Tracd is started with the following parameters:

 {{{
 tracd -d -p 8080 --auth *,/etc/trac/passwd,vistabella -e /pub/trac
 }}}

 Is there any parameter in the tracd.ini that affects the choice of the URL
 scheme tracd uses?

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/3207>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to