[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: gary \(guangyuan\) sun <garysun04_at_yahoo.com>
Date: 2007-11-08 23:47:21 CET

--- Ryan Schmidt <subversion-2007b@ryandesign.com>
wrote:

> 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/sh
> /bin/echo test > /tmp/dummy.txt
>
I do use full path to dummy and test svnserve many
times, and I'm sure it works fine.

thanks

---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
>
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 8 23:47:44 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.