On 2014-11-22, Vadim Zhukov wrote:
> Crazy idea just out of head:
>
> 1. Put /bin/sh and /usr/bin/kdump (both are statically linked) inside
> chroot. Rename them if you feel unsafe.
> 2. Write a shell script that runs 'exec ktrace -if ... perl ... "$@"'. Make
> sure ktrace will be able to write it
> You didn't mention it, so I'll point out that you need to run
> slowcgi(8) to proxy between FastCGI and CGI scripts.
I just tried running slowcgi(8) and the script worked. Thanks!
On 2014-11-22, Riley Baird
wrote:
> I have successfully setup the httpd(8) webserver, but only for static
> webpages. I have been unable to get cgi (perl) scripts to run.
You didn't mention it, so I'll point out that you need to run
slowcgi(8) to proxy between FastCGI and CGI scripts.
> Due to
> Hi,
Hi
> Due to the OpenBSD chroot, I have copied the folowing files into
> /var/www. The libraries were generated from `ldd /usr/bin/perl`.
> /usr/bin/perl
> /usr/lib/libc.so.77.0
> /usr/lib/libm.so.9.0
> /usr/lib/libperl.so.15.0
> /usr/lib/libpthread.so.18.0
> /usr/lib/libutil.so.12.1
> /usr/l
22 ноÑб. 2014 г. 12:54 полÑзоваÑÐµÐ»Ñ "Riley Baird" <
bm-2cvqnduybau5do2dfjtrn7zbaj246s4...@bitmessage.ch> напиÑал:
>
> Hi,
>
> I am running OpenBSD 5.6-stable (without the X packages).
>
> I have successfully setup the httpd(8) webserver, but only for static
> webpages. I hav
On 2014-11-22, Riley Baird
wrote:
> Hi,
>
> I am running OpenBSD 5.6-stable (without the X packages).
>
> I have successfully setup the httpd(8) webserver, but only for static
> webpages. I have been unable to get cgi (perl) scripts to run.
That is because httpd(8) does not support plain CGI. It
> Try this:
>
> ---begin---
> #!/usr/bin/perl
>
> print "Content-Type: text/html\n\n";
> print "Hello!";
> ---end---
I've just done it, and I still get the same error.
On Sat, 22 Nov 2014 20:53:51 +1100
Riley Baird wrote:
> A script as simple as the below brings up this error, but it has been
> tested with other scripts:
>
> #!/usr/bin/perl
> print "Hello!"
>
Try this:
---begin---
#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Hello!";
---end--
Hi,
I am running OpenBSD 5.6-stable (without the X packages).
I have successfully setup the httpd(8) webserver, but only for static
webpages. I have been unable to get cgi (perl) scripts to run.
Due to the OpenBSD chroot, I have copied the folowing files into
/var/www. The libraries were generat
9 matches
Mail list logo