You are not logged in.

#1 2005-05-02 18:35:37

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

lighttpd + subversion

ok, so - lighttpd doesn't have an inate subversion module, which is fine, I'll just run svnserve.  However, I'd like to still use lighttpd to pass the connection through to the svnserve daemon, so I don't have to open yet another port to the world.

svnserve is running on port 3333 (whatever)
and lighttpd is running on 80 (of course)

I tried this lighttpd.conf setup:

  proxy.server = ( "/svn" =>
                   ( "svn" =>
                     (
                       "host" => "127.0.0.1",
                       "port" => 3333
                     )
                   )
                 )

which doesn't work because it tries a hard redirect.... and port 3333 isn't open...

anyone know how to just "channel" the requests to another port locally?

Offline

#2 2005-05-02 19:08:21

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: lighttpd + subversion

well sweet crap... not only did that fail... it made a 6.4 gig error log... eeek
filled up that partition... heh

Offline

#3 2005-05-02 19:47:38

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: lighttpd + subversion

the lighttpd forward only forwards http requests, or https as the case may be.
One solution that I am considering, being that I also use subversion, is to continue using apache for subversion over ssl. I will probably set it up on some other port (maybe 8080), and only load the few modules that I will need for subversion support.

Apache with subversion has considerable benefit over the included subversion server.
1) can use apache auth for fine grained repository access control
2) can use ssl capability of apache
3) provides a "free" source view mechanism
4) can provide webdav support for utilities that use it
5) No need for a special user accounts on the system (subversion server with ssh tunneling)
6) No need for a special user account for anonymous checkout


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2005-05-02 20:08:07

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: lighttpd + subversion

I might spring for that... the idea of running apache just for subversion doesn't sit right with me...
I've been looking everywhere for an idea... I wonder how hard it would be to morph the apache module into a lighttpd module

Offline

#5 2005-05-02 20:29:02

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: lighttpd + subversion

I feel the same way. If a subversion module was available for lighttpd, I think I would crap myself with joy.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2005-05-02 20:43:01

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: lighttpd + subversion

let's do it! it shouldn't be that hard... I can't seem to find the mod_svn source anywhere browsable though

Offline

#7 2005-05-02 20:44:30

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: lighttpd + subversion

I found some interesting info on something that might be a possible backdoor approach:
http://trac.lighttpd.net/trac/ticket/22
http://article.gmane.org/gmane.comp.web.lighttpd/1517
http://pear.php.net/package/VersionControl_SVN

Not sure which would be a more reasonable approach though..


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#8 2005-05-02 20:48:13

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: lighttpd + subversion

It seems like VersionControl_SVN is just an interface to subversion - I'm currently messing with Trac, which supports a browsable svn interface just fine.  The only thing it's missing is the ability to use "svn" to check stuff out...

Offline

Board footer

Powered by FluxBB