Re: [gitorious] HTTP vs HTTPS trouble

2010-08-25 Thread Benjamin Podszun
On Wed, Aug 25, 2010 at 12:52 PM, Marius Mårnes Mathiesen marius.mathie...@gmail.com wrote: On Tue, Aug 24, 2010 at 12:34 PM, Benjamin Podszun benjamin.pods...@gmail.com wrote: Headers: bpods...@gitorious:/$ curl -k -I --anyauth -u domain\\benjamin.podszun https://10.10.10.67 Ah, a

Re: [gitorious] HTTP vs HTTPS trouble

2010-08-25 Thread Benjamin Podszun
ARGH! Is vendor/plugins/ssl_requirement/lib/ssl_requirement.rb private def ensure_proper_protocol return true if SslRequirement.disable_ssl_check? return true if ssl_allowed? if ssl_required? !request.ssl? redirect_to https://; + (ssl_host || request.host) +

Re: [gitorious] HTTP vs HTTPS trouble

2010-08-25 Thread Benjamin Podszun
Okay, I feel really embarrassed. SslRequirement.disable_ssl_check = true was not part of production environment. Last time I checked that, I grepped and didn't check the filename - it comes enabled in the development environment. So, for reference: If you don't use the setting above, the plugin

Re: [gitorious] HTTP vs HTTPS trouble

2010-08-23 Thread Marius Mårnes Mathiesen
On Mon, Aug 23, 2010 at 11:13 AM, Benjamin Podszun benjamin.pods...@gmail.com wrote: This sounds like a workaround (and I'm willing to go down that route, if necessary. Without a working HTTPS deployment this won't fly internally and a lot of my time would've been spent on proposing a

Re: [gitorious] HTTP vs HTTPS trouble

2010-08-23 Thread Benjamin Podszun
Hi Marius. On Mon, Aug 23, 2010 at 12:54 PM, Marius Mårnes Mathiesen marius.mathie...@gmail.com wrote: On Mon, Aug 23, 2010 at 11:13 AM, Benjamin Podszun benjamin.pods...@gmail.com wrote: This sounds like a workaround (and I'm willing to go down that route, if necessary. Without a working

RE: [gitorious] HTTP vs HTTPS trouble

2010-08-23 Thread Peter Kjellerstedt
: den 23 augusti 2010 13:14 To: gitorious@googlegroups.com Subject: Re: [gitorious] HTTP vs HTTPS trouble Hi Marius. On Mon, Aug 23, 2010 at 12:54 PM, Marius Mårnes Mathiesen marius.mathie...@gmail.commailto:marius.mathie...@gmail.com wrote: On Mon, Aug 23, 2010 at 11:13 AM, Benjamin Podszun

Re: [gitorious] HTTP vs HTTPS trouble

2010-08-23 Thread Benjamin Podszun
Hi. On Mon, Aug 23, 2010 at 2:10 PM, Peter Kjellerstedt peter.kjellerst...@axis.com wrote: Just to make sure, but you did restart Gitorious after changing the code (e.g., by touching tmp/restart.txt)? I know this has bitten people who are new to Ruby and Passenger before. I used apache

Re: [gitorious] HTTP vs HTTPS trouble

2010-08-23 Thread Maxim Filatov
On Aug 23, 2010, at 4:12 PM, Benjamin Podszun wrote: I used apache reload (and restart, after seeing no effect). Since passenger is an apache module I'd expect that to be (more than?) enough? Wrong? What is the problem in just touch $RAILS_ROOT/tmp/restart.txt ? --- Best regards, Maxim