Re: Apache and cgi

2007-03-08 Thread L. V. Lammert
At 02:45 AM 3/9/2007 +0800, First Last wrote: I have apache 1.3 setup to execute cgis (perl). But I'm having a problem getting the cgis to execute while apache is chrooted. If I disable chroot (httpd -d) the cgis exexute just fine, but they won't run while chrooted (500 internal server error).

Re: Apache and cgi

2007-03-08 Thread Darrin Chandler
On Fri, Mar 09, 2007 at 02:45:13AM +0800, First Last wrote: > But, if I follow the openbsd faq to see > what dependencies my cgi needs to run in > the chrooted environment I get this: > > ldd hellowworld.cgi > helloworld.cgi: > ldd: helloworld: not an ELF executable You'll need perl and its depen

Apache and cgi

2007-03-08 Thread First Last
I have apache 1.3 setup to execute cgis (perl). But I'm having a problem getting the cgis to execute while apache is chrooted. If I disable chroot (httpd -d) the cgis exexute just fine, but they won't run while chrooted (500 internal server error). But, if I follow the openbsd faq to see what dep