[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: the hook scripts cannot be trigger via apache2

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-11-08 22:58:20 CET

On Nov 8, 2007, at 15:55, gary ((guangyuan)) sun wrote:

> Ryan Schmidt wrote:
>> Have you tried a very simple hook script, which does nothing more
>> than write something into a log file? Does that work?
> Yes, very simple script, just like "/bin/echo "test" >
> dummy.txt". It works fine for local and svnserve
> access, but doesn't work via apache2.
> Thanks for your quick response.

Are you sure? I didn't think that would work with svnserve either.
You need to specify the full path to dummy.txt for it to work, like:

/bin/echo test > /tmp/dummy.txt

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 8 22:58:55 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.