Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-16 Thread Matthew Saltzman
On Fri, 2009-05-15 at 07:05 -0700, Daniel B. Thurman wrote: Craig White wrote: On Thu, 2009-05-14 at 19:57 -0700, Daniel B. Thurman wrote: I think you had it with the redirect causing an error in svn. The change to https needs to be done at the request end (AFAIK) so if svn

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-15 Thread Daniel B. Thurman
Craig White wrote: On Thu, 2009-05-14 at 19:57 -0700, Daniel B. Thurman wrote: I think you had it with the redirect causing an error in svn. The change to https needs to be done at the request end (AFAIK) so if svn can't/won't do that properly you are better off failing it with a useful

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-14 Thread Daniel B. Thurman
Bill Davidsen wrote: Daniel B. Thurman wrote: Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT! TYPO! Should be: VirtualHost host.domain.com:80 ServerName host.domain.com CustomLog /svn/Admin/logs/access.log combined ErrorLog

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-14 Thread Craig White
On Thu, 2009-05-14 at 19:57 -0700, Daniel B. Thurman wrote: I think you had it with the redirect causing an error in svn. The change to https needs to be done at the request end (AFAIK) so if svn can't/won't do that properly you are better off failing it with a useful error than having

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-13 Thread Bill Davidsen
Daniel B. Thurman wrote: Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT! TYPO! Should be: VirtualHost host.domain.com:80 ServerName host.domain.com CustomLog /svn/Admin/logs/access.log combined ErrorLog /svn/Admin/logs/error.log

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-11 Thread Daniel B. Thurman
Craig White wrote: On Sun, 2009-05-10 at 15:57 -0700, Daniel B. Thurman wrote: I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do? Here is what I have in my subversion.conf file: ===

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-11 Thread Daniel B. Thurman
Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT! TYPO! Should be: VirtualHost host.domain.com:80 ServerName host.domain.com CustomLog /svn/Admin/logs/access.log combined ErrorLog /svn/Admin/logs/error.log SSLProxyEngine on ProxyPass /

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-11 Thread Daniel B. Thurman
Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT! TYPO! Should be: VirtualHost host.domain.com:80 ServerName host.domain.com CustomLog /svn/Admin/logs/access.log combined ErrorLog /svn/Admin/logs/error.log SSLProxyEngine on ProxyPass /

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-11 Thread Daniel B. Thurman
Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT! TYPO! Should be: VirtualHost host.domain.com:80 ServerName host.domain.com CustomLog /svn/Admin/logs/access.log combined ErrorLog /svn/Admin/logs/error.log SSLProxyEngine on ProxyPass /

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-11 Thread Mike Wright
Daniel B. Thurman wrote: I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do? Here's an idea. Create a one line file http://host.example.com/index.html meta http-equiv=refresh content=0;url=https://host.example.com/svn/svn1; /

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-11 Thread Daniel B. Thurman
Mike Wright wrote: Daniel B. Thurman wrote: I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do? Here's an idea. Create a one line file http://host.example.com/index.html meta http-equiv=refresh

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-11 Thread Craig White
On Mon, 2009-05-11 at 07:44 -0700, Daniel B. Thurman wrote: Craig White wrote: On Sun, 2009-05-10 at 15:57 -0700, Daniel B. Thurman wrote: I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do? Here is what I have in my

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-11 Thread Daniel B. Thurman
Craig White wrote: On Mon, 2009-05-11 at 07:44 -0700, Daniel B. Thurman wrote: Craig White wrote: On Sun, 2009-05-10 at 15:57 -0700, Daniel B. Thurman wrote: I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do?

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-11 Thread Patrick W. Barnes
On Monday 11 May 2009 11:18:53 Craig White wrote: On Mon, 2009-05-11 at 07:44 -0700, Daniel B. Thurman wrote: Craig White wrote: try... RedirectPermanent /svn/ https://host.domain.com/svn Craig Thanks, but it does not work: $ svn list

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-11 Thread Arthur Pemberton
On Mon, May 11, 2009 at 9:51 AM, Daniel B. Thurman d...@cdkkt.com wrote: Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT!  TYPO! Should be: VirtualHost host.domain.com:80   ServerName host.domain.com   CustomLog /svn/Admin/logs/access.log combined

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-11 Thread Daniel B. Thurman
Arthur Pemberton wrote: On Mon, May 11, 2009 at 9:51 AM, Daniel B. Thurman d...@cdkkt.com wrote: Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT! TYPO! Should be: VirtualHost host.domain.com:80 ServerName host.domain.com CustomLog

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-11 Thread Craig White
On Mon, 2009-05-11 at 10:25 -0700, Daniel B. Thurman wrote: Patrick W. Barnes wrote: On Monday 11 May 2009 11:18:53 Craig White wrote: On Mon, 2009-05-11 at 07:44 -0700, Daniel B. Thurman wrote: Craig White wrote: try... RedirectPermanent /svn/

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-11 Thread Daniel B. Thurman
Patrick W. Barnes wrote: On Monday 11 May 2009 11:18:53 Craig White wrote: On Mon, 2009-05-11 at 07:44 -0700, Daniel B. Thurman wrote: Craig White wrote: try... RedirectPermanent /svn/ https://host.domain.com/svn Craig Thanks, but it does not work: $ svn list

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-11 Thread Patrick W. Barnes
On Monday 11 May 2009 12:18:47 Daniel B. Thurman wrote: Then that would mean that my normal website for anonymous users would be forced use https when it is not required? As it is, I could just drop the VirtualHost host.domain.com:80 code block for subversion and who cares if subversion

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-11 Thread Arthur Pemberton
On Mon, May 11, 2009 at 12:18 PM, Daniel B. Thurman d...@cdkkt.com wrote: Arthur Pemberton wrote: On Mon, May 11, 2009 at 9:51 AM, Daniel B. Thurman d...@cdkkt.com wrote: Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT!  TYPO! Should be:

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-11 Thread Daniel B. Thurman
Arthur Pemberton wrote: On Mon, May 11, 2009 at 12:18 PM, Daniel B. Thurman d...@cdkkt.com wrote: Arthur Pemberton wrote: On Mon, May 11, 2009 at 9:51 AM, Daniel B. Thurman d...@cdkkt.com wrote: Patrick W. Barnes wrote: On Sunday 10 May 2009 19:26:51 Daniel B.

How to redirect http to https with Apache/SVN/SSL

2009-05-10 Thread Daniel B. Thurman
I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do? Here is what I have in my subversion.conf file: === VirtualHost host.domain.com:80 ServerName host.domain.com RequestHeader edit

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-10 Thread Patrick W. Barnes
On Sunday 10 May 2009 18:30:50 Patrick W. Barnes wrote: VirtualHost host.domain.com:80 ServerName host.domain.com ... RewriteEngine On RewriteRule ^/$ https://host.domain.com/ [R,L] RewriteRule ^/(.*) https://host.domain.com/$1 [R,L] /VirtualHost Forgot to mention...

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-10 Thread Daniel B. Thurman
Patrick W. Barnes wrote: On Sunday 10 May 2009 18:30:50 Patrick W. Barnes wrote: VirtualHost host.domain.com:80 ServerName host.domain.com ... RewriteEngine On RewriteRule ^/$ https://host.domain.com/ [R,L] RewriteRule ^/(.*) https://host.domain.com/$1 [R,L] /VirtualHost

Re: How to redirect http to https with Apache/SVN/SSL

2009-05-10 Thread Craig White
On Sun, 2009-05-10 at 15:57 -0700, Daniel B. Thurman wrote: I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do? Here is what I have in my subversion.conf file: === VirtualHost

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-10 Thread Daniel B. Thurman
Daniel B. Thurman wrote: I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do? Here is what I have in my subversion.conf file: === VirtualHost host.domain.com:80 ServerName host.domain.com

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-10 Thread Daniel B. Thurman
Daniel B. Thurman wrote: Daniel B. Thurman wrote: I am trying to solve one last problem with my Apache/SVN/SSL with http to http redirection. Is it possible to do? Here is what I have in my subversion.conf file: === VirtualHost host.domain.com:80

Re: How to redirect http to https with Apache/SVN/SSL [SOLVED]

2009-05-10 Thread Patrick W. Barnes
On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote: DRAT! TYPO! Should be: VirtualHost host.domain.com:80 ServerName host.domain.com CustomLog /svn/Admin/logs/access.log combined ErrorLog /svn/Admin/logs/error.log SSLProxyEngine on ProxyPass /