![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2006
Beans: 10
|
Svn HTTPS and the 502 bad gateway error
The situation:
SVN has been setup using svn_dav with ssl enabled default site file Code:
<VirtualHost ***.**.**.130:443>
<Directory /var/www/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<IfModule mod_ssl.c>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA;+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /var/ssl/crt/svn.crt
SSLCertificateKeyFile /var/ssl/key/svn.key
</IfModule>
</VirtualHost>
Code:
<VirtualHost ***.***.***.130:443>
ServerName ***************
ServerAdmin ***************
DocumentRoot /var/www/null
<Location "/">
<IfModule mod_ssl.c>
SSLRequireSSL
</IfModule>
DAV svn
SVNPath /var/svn/
AuthType Basic
AuthName "svn@********.***"
AuthUserFile /var/svn/conf/dav.passwd
AuthzSVNAccessFile /var/svn/conf/authz
Require valid-user
</Location>
ErrorLog /var/log/svn.error.log
CustomLog /var/log/svn.access.log combined
</VirtualHost>
Sorry for the ***********'s but Id rather no post that info all over the place. ^_^ The symptoms: Evey thing pretty much works. I can check out and commit and generally do most svn like things. However the COPY command DOES NOT work. It keeps giveing me a 502 bad gateway error. Background: Here are some things that I think may describe the error im havening. http://svn.haxx.se/users/archive-2006-03/0549.shtml http://www.science.uva.nl/research/a...n502BadGateway http://www.devnetwork.net/forums/viewtopic.php?p=331381 (Dont relly think this one helps at all) http://blog.torh.net/2007/07/25/subv...ay-workaround/ The problem: Thoes sites seem to do a FANTASTIC job figuring out what the error is but none of them ever get around to providing a clear way of fixing it. What I have tried: mod_gnutls - Too unstable, keeps segfaulting... Diffrent IPs - No change mod_rewrite - Attempted to figure it out but I think I messed it up. Too complex, however I think the fix may be with this. What I was trying to do with the mod_rewrite Transform the https://svn.mysite/path/to/file into http://svn.mysite/path/to/file But I could never get it to work. Here is the rules I used for it. #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteCond %{HTTPS} !=on # RewriteRule ^/svn.mysite/(.*) http://svn.mysite/$1 #</IfModule> There was no change if I used the rules either. ^/svn.mysite/(.*)$ http://svn.mysite/$1 ^/svn.mysite/(.*) https://svn.mysite/$1 ^/svn.mysite/(.*)$ https://svn.mysite/$1 Also placeing [L] at the end had no effect. However as I said I think those rules are wrong. Other fix options: Not able to do: Switching to http or svnserv the connection must be encrypted. svn+ssh is also out because I require browser support. Possible: I am ok doing code edits are recompiling apache to work if someone can point me near the code that is messing up. Using another web server is fine as long as it supports ssl/tls, virtual hosts, php, python, ruby, and of course svn.
__________________
If there is a will there is a dependency. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|