lighttpd forum lighty > subversion with lighty?

Posted by Artur Hallmann
on 20.12.2005 23:53
Hi!

Just wanted to ask if there is a way of using subversion with lighty?
I've got a config for apache2, there you need mod_svn to get it running 
with the dav module:

<Location /svn/Project>
      DAV svn
      SVNPath /var/svn/Project

      AuthType Basic
      AuthName "Subversion repository"
      AuthUserFile /etc/subversion/Project

        <LimitExcept PROPFIND OPTIONS REQUEST>
                       Require valid-user
        </LimitExcept>
</Location>

I see many pages, including the lighty homepage itself, which seem to 
use subversion (for trac f.e.), so I guess its possible, but i can't 
find infos on the web on it... or are you running apache on another port 
just for subversion?

Artur Hallmann
Posted by Ryan Schmidt
on 21.12.2005 10:31
I've been on the Subversion mailing list for over a year, and this is 
the only time lighttpd has been mentioned:

http://www.google.com/search?q=site%3Asvn.haxx.se+lighttpd

I would assume that you should instead run an instance of Apache2 on a 
different port, with the mod_dav_svn module, and then either use it on 
that port, or have lighty proxy the requests through to Apache (I think 
that's possible).
Posted by John Marino
on 21.12.2005 11:16
ryandesign wrote:
> I would assume that you should instead run an instance of Apache2 on a 
> different port, with the mod_dav_svn module, and then either use it on 
> that port....

That's exactly what I'm doing, I set this up last night.  I didn't see a 
reason to proxy.  Apache2+SSL handles subversion traffic only, and I 
installed Trac on Lighttpd with fastcgi.  So far it's working, I just 
have to add the security to both Apache2 and Trac, which can be a hole 
if not configured right.

I disabled a bunch of apache modules that aren't needed if subversion is 
the only task.
Posted by Jordan (Guest)
on 12.02.2007 12:12
John Marino wrote:
> ryandesign wrote:
>> I would assume that you should instead run an instance of Apache2 on a 
>> different port, with the mod_dav_svn module, and then either use it on 
>> that port....
> 
> That's exactly what I'm doing, I set this up last night.  I didn't see a 
> reason to proxy.  Apache2+SSL handles subversion traffic only, and I 
> installed Trac on Lighttpd with fastcgi.  So far it's working, I just 
> have to add the security to both Apache2 and Trac, which can be a hole 
> if not configured right.
> 
> I disabled a bunch of apache modules that aren't needed if subversion is 
> the only task.
Does this work any better in 2007?  Any instructions around for 
configuring lighttpd with svn dav?
Posted by Christian Hoffmann
on 18.02.2007 11:02
There is no mod_subversion for lighttpd and there won't be one in the 
near future. lighttpd is single-threaded (mostly) and mod_subversion 
would block the whole server process (and so ALL connections).
Either proxy to apache or use svnserve which has almost all features 
which mod_subversion has (the only problem I can think of is that Apache 
supports several authentication modules (kerberos etc.) which can be 
used in combination with mod_subversion, but svnserve doesn't support 
that iirc).
Posted by Todd Nine
on 06.03.2007 01:51
This is a nice tutorial.  You have to run both, but its pretty easy to 
do.


http://trac.lighttpd.net/trac/wiki/ApacheSubversionRecipe
Posted by Igor Max
on 28.12.2007 14:31
Todd Nine wrote:
> This is a nice tutorial.  You have to run both, but its pretty easy to 
> do.
> 
> 
> http://trac.lighttpd.net/trac/wiki/ApacheSubversionRecipe

Well I tried using this tutorial. But I couldnt make it works Ok. One 
point is about the mod_proxy, since I didnt find the module to add at 
ligthtpd. Other thing is the VirtualHost at Apache2, it's keeping giving 
erros.

2007-12-28 11:29:11: (server.c.918) WARNING: unknown config-key: 
proxy.server (ignored)

[Fri Dec 28 11:30:37 2007] [error] VirtualHost *:88 -- mixing * ports 
and non-* ports with a NameVirtualHost address is not supported, 
proceeding with undefined results

I',m trying set it up at Ubuntu Server 7.10

tks for read

Igor