You are not logged in.
Pages: 1
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
well sweet crap... not only did that fail... it made a 6.4 gig error log... eeek
filled up that partition... heh
Offline
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
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
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
let's do it! it shouldn't be that hard... I can't seem to find the mod_svn source anywhere browsable though
Offline
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
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
Pages: 1