Subversion over HTTP

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
JagoHarry
New here
Posts: 7
Joined: Tue Dec 04, 2007 6:16 pm

Subversion over HTTP

Post by JagoHarry » Sat Dec 08, 2007 8:27 pm

Hi,

I've managed to install subversion using ipkg. How do you get it working over Apache?

Thanks
Dan
QNAP-209 Pro with 2x 500GB

ApacheSwiss
Know my way around
Posts: 179
Joined: Fri Jan 18, 2008 7:53 pm

Re: Subversion over HTTP

Post by ApacheSwiss » Wed Jan 23, 2008 4:06 pm

JagoHarry wrote:Hi,

I've managed to install subversion using ipkg. How do you get it working over Apache?

Thanks
Dan



You must to have 4 things before it work's over HTTP...

- APACHE VERSION 2 (won't work with 1.3.X)
- module mod_dav (comme with apache2)
- mod_dav_svn (comme with svn)
- mod_authz_svn (comme with svn)

after you have to configure all...
take a look at the svn documentation..or tortoisesvn documentation... all are in it...
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup.html#tsvn-serversetup-apache

good luck... I didn't recive my TS109 yet... but as soon as I have it.. I will try to do this.
SETUP:
- QNAP TS-119 Version 4.1 RC

User avatar
Zeiti
Starting out
Posts: 17
Joined: Sat Feb 02, 2008 3:33 am
Location: Germany

Re: Subversion over HTTP

Post by Zeiti » Mon Feb 04, 2008 5:52 am

Why do you want to communicate with subversion over http:?
The svn: protocol also works over the internet and is about 2 times faster than with http and apache (2.0) .
All the web frontends (websvn, viewcvs) are terrible slow to.
TS231P, 3TB
TS-109pro 2.0.1 0324T, 1TB, DDNS, WEB, FTP, NFS, 100GB/s, MTU 1500
Optware/Ipkg, SVN, Mantis

ApacheSwiss
Know my way around
Posts: 179
Joined: Fri Jan 18, 2008 7:53 pm

Re: Subversion over HTTP

Post by ApacheSwiss » Wed Feb 13, 2008 8:23 am

Zeiti wrote:Why do you want to communicate with subversion over http:?
The svn: protocol also works over the internet and is about 2 times faster than with http and apache (2.0) .
All the web frontends (websvn, viewcvs) are terrible slow to.


maybe because the computer from where we want to access svn server is behind a firewall where only port 80 who is open...
SETUP:
- QNAP TS-119 Version 4.1 RC

User avatar
Epstein
Easy as a breeze
Posts: 294
Joined: Mon Sep 03, 2007 1:43 am
Location: Copenhagen, Denmark

Re: Subversion over HTTP

Post by Epstein » Wed Feb 13, 2008 3:22 pm

ApacheSwiss wrote:
Zeiti wrote:Why do you want to communicate with subversion over http:?
The svn: protocol also works over the internet and is about 2 times faster than with http and apache (2.0) .
All the web frontends (websvn, viewcvs) are terrible slow to.


maybe because the computer from where we want to access svn server is behind a firewall where only port 80 who is open...


You could just run svn on port 80 then. Unless of course you are using it already... SVN over HTTP is a really bad solution, and should really be avoided if at all possible...
* TS-209PII 2.1.0 Build 0904T with: IPKG, Mail, Twonky, FTP
* TS-209 2.1.0 Build 0904T with: IPKG, Mail, Samba 3.0.28, Subversion, Twonky, FTP
* PS3 EU 60 GB XMB 2.43, YDL 6.0

ApacheSwiss
Know my way around
Posts: 179
Joined: Fri Jan 18, 2008 7:53 pm

Re: Subversion over HTTP

Post by ApacheSwiss » Wed Feb 20, 2008 11:36 pm

then....
I installed:
- apache2 (ipkg)
- php (ipkg)
- svn (ipkg)
Configured all.

And now svn works over http port 80.

I just have to configure SSL and after only https connection will be granted for svn.
SETUP:
- QNAP TS-119 Version 4.1 RC

User avatar
Epstein
Easy as a breeze
Posts: 294
Joined: Mon Sep 03, 2007 1:43 am
Location: Copenhagen, Denmark

Re: Subversion over HTTP

Post by Epstein » Thu Feb 21, 2008 1:29 am

ApacheSwiss wrote:then....
I installed:
- apache2 (ipkg)
- php (ipkg)
- svn (ipkg)
Configured all.

And now svn works over http port 80.

I just have to configure SSL and after only https connection will be granted for svn.


Why not use svn on port 80, instead of svn over http... The svn protocol is much faster for filetransfers.
* TS-209PII 2.1.0 Build 0904T with: IPKG, Mail, Twonky, FTP
* TS-209 2.1.0 Build 0904T with: IPKG, Mail, Samba 3.0.28, Subversion, Twonky, FTP
* PS3 EU 60 GB XMB 2.43, YDL 6.0

ApacheSwiss
Know my way around
Posts: 179
Joined: Fri Jan 18, 2008 7:53 pm

Re: Subversion over HTTP

Post by ApacheSwiss » Thu Feb 21, 2008 5:05 pm

Epstein wrote:
ApacheSwiss wrote:then....
I installed:
- apache2 (ipkg)
- php (ipkg)
- svn (ipkg)
Configured all.

And now svn works over http port 80.

I just have to configure SSL and after only https connection will be granted for svn.


Why not use svn on port 80, instead of svn over http... The svn protocol is much faster for filetransfers.



Because I need to have access on my repos from my work.. and the only port I have open is 80. and I need it (on my nas)
for the webserver... then...

User avatar
Epstein
Easy as a breeze
Posts: 294
Joined: Mon Sep 03, 2007 1:43 am
Location: Copenhagen, Denmark

Re: Subversion over HTTP

Post by Epstein » Thu Feb 21, 2008 5:31 pm

Then I would recommend you only to use the SVN over HTTP when you're at work, just for you own sake.
* TS-209PII 2.1.0 Build 0904T with: IPKG, Mail, Twonky, FTP
* TS-209 2.1.0 Build 0904T with: IPKG, Mail, Samba 3.0.28, Subversion, Twonky, FTP
* PS3 EU 60 GB XMB 2.43, YDL 6.0

ben_skywalker
Starting out
Posts: 11
Joined: Tue Jul 06, 2010 9:48 pm

Re: Subversion over HTTP

Post by ben_skywalker » Thu Sep 09, 2010 11:59 pm

ApacheSwiss wrote:
JagoHarry wrote:Hi,

I've managed to install subversion using ipkg. How do you get it working over Apache?

Thanks
Dan



You must to have 4 things before it work's over HTTP...

- APACHE VERSION 2 (won't work with 1.3.X)
- module mod_dav (comme with apache2)
- mod_dav_svn (comme with svn)
- mod_authz_svn (comme with svn)

after you have to configure all...
take a look at the svn documentation..or tortoisesvn documentation... all are in it...
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup.html#tsvn-serversetup-apache

good luck... I didn't recive my TS109 yet... but as soon as I have it.. I will try to do this.


Hi ipkg does not install the require mod with svn how can I make subversion run over http with dav because I must make it run like that.

I must do that because I'm trying to install USVN on my Turbo NAS TS-639. Or those 2 modules are not in the modules directory of my apache installation

Code: Select all

/usr/local/apache/modules


I juste finished the installation on Debian Lenny but aptitude is the best package manager ipkg doesn't have enought package yet or enought apache mods...

:idea:

Is all .so compatible with any nunux version?? I wil try to copy/pasta the .so of debian to my nas (ubuntu quite custom as I could see)

PS : sorry for my english, It's not my native language

micke
Experience counts
Posts: 1363
Joined: Sat Feb 06, 2010 2:42 pm
Location: Taipei, Taiwan

Re: Subversion over HTTP

Post by micke » Fri Sep 10, 2010 12:29 am

ben_skywalker wrote:Is all .so compatible with any nunux version??

No, e.g. an incompatible libc version would be a complete show-stopper.

/Mike

Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”