|more useful options|
using Git::Wrapper with Apacheby tomgracey (Beadle)
|on Jun 12, 2013 at 08:09 UTC||Need Help??|
tomgracey has asked for the wisdom of the Perl Monks concerning the following question:
I am putting together an ajax web application and have decided to use Git behind the scenes.
Git::Wrapper seems the obvious choice but I am having some trouble when this is used through apache. E.g. if I run the following from the command line:
it works as expected delivering the web page to the terminal - however, when run in the browser it complains:
Not a terribly informative error message! I've checked file permissions and am pretty sure these are not the issue. Beyond this I am stumped (the Git::Wrapper documentation does seem a little on the thin side).Before I start wading through the module code to try and figure out what it is trying to do at the point when it falls over, I wondered if anyone had any experience of using Git::Wrapper with apache and could point me in the direction of what I need to do to get this to work?