Thanks Clark,
       One more thing I overlooked was copying libs to chroot...
ldd fossil shows three more additional libs needed apart from libc and
ld.so...

/usr/lib/libz.so.4.1        
/usr/lib/libcrypto.so.18.0
/usr/lib/libssl.so.15.1

It works now.

On Wed, Jan 05, 2011 at 03:00:29PM -0800, Clark Christensen wrote:
> If you put the fossil executable in your site's cgi-bin directory (or maybe a 
> symlink targeting /usr/local/bin/fossil), you should be able to make it work 
> as:
> 
> #!/cgi-bin/fossil
> repository: repo/dotfiles/dotfiles.fossil
> 
> This assumes your cgi-bin dir is /var/www/cgi-bin.
> 
>  -Clark
> 
> 
> 
> ----- Original Message ----
> From: Sunil Nimmagadda <su...@devio.us>
> To: fossil-users@lists.fossil-scm.org
> Sent: Wed, January 5, 2011 7:53:51 AM
> Subject: [fossil-users] cgi server configuration on OpenBSD's base 
> httpd(apache 
> 1.3)
> 
> Hello,
> 
> I am trying to learn setting up fossil server in cgi mode with stock
> httpd(apache 1.3) chrooted to /var/www by default. My problem...
> 
> #!/usr/local/bin/fossil
> repository: repo/dotfiles/dotfiles.fossil
> 
> This cgi script errs out "premature end of script" and when I manually
> run the cgi it says...
> 
> /usr/lcal/bin/fossil unkown command ./dotfiles 
> 
> with "#!/usr/local/bin fossil cgi" I get "302 Moved Temporarly" with
> redirection to "http:///index"; running manually at cmd line but "500
> Internal Server error" when accessed from a browser.
> 
> Please let me know if am missing something.
> 
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> 
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to