That should be Apache is on 443. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Tremblay
Sent: December 28, 2005 12:52 PM
To: trac@lists.edgewall.com
Subject: RE: [Trac] Trac behind a SSL reverse proxy

I'm actually using Apache 2.0 as the frontend and lighttpd 1.4.8 as the
backend.  It's actually almost identical to a Rails app setup I've got
working.  So right now I don't know if the issue is with Trac or lighttpd.

My request and response look as follows:

GET /trac/myproject/ HTTP/1.1
Host: pansapien.com

HTTP/1.x 301 Moved Permanently
Location: http://localhost:9003/trac/myproject/

I've set the base_url config parameter in the [trac] section of the config
file to https://pansapien.com/trac/myproject/ but I still get the 301 to
localhost:9003 (apache is on 433, proxying /trac/myproject/ to lighttpd at
localhost:9003).

I don't see any outout on trac.log, but I've also never seen lighttpd issue
301's like this before (ie. In the aforementioned Rails app).  Could this be
in the python fast cgi handler?

Unfortunately there isn't a UseCanonicalName directive that I've been able
to find for lighttpd.

Anyway, that's what I've managed to figure out so far.  I'll keep looking
and try any suggestions people may have.

M.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of lars
Sent: December 28, 2005 2:24 AM
To: trac@lists.edgewall.com
Subject: Re: [Trac] Trac behind a SSL reverse proxy

> I'm currently experiencing the same issue that Bill Moseley described 
> a few weeks ago (http://www.gossamer-threads.com/lists/trac/users/13714).
> He informs me that he hasn't had any time to look into it further 
> since
then.
> 
> Has anyone successfully setup Trac behind an SSL reverse proxy?
It should work, if you have the following lines in your backend
configuration:
UseCanonicalName On
ServerName inside.machine
(these lines should get loaded quite early in your apache configuration)

At least this works behind a pound proxy.

Lars
_______________________________________________
Trac mailing list
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.7/214 - Release Date: 23/12/2005
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 27/12/2005
 

_______________________________________________
Trac mailing list
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 27/12/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 27/12/2005
 

_______________________________________________
Trac mailing list
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to