On Sun, Dec 28, 2025 at 06:36:53PM +0800, W. D. Sadeep wrote:
> And try to access the page at https://www.asciimx.com/cgi-bin/search.pl, 
> but I'm getting 500 internal server error.

Have you set up the chroot environment?

When you run programs via slowcgi, you need to copy the libraries those
programs need in to the /var/www/ hierarchy, for example /var/www/usr/lib.

Use ldd to see what libraries are expected:

# ldd /usr/bin/perl

This should be sufficient for your example program above.

For more advanced applications, you might need to copy device files to
/var/www/dev/ or populate the chroot environment in other ways.

Reply via email to