Anything in the error log? Are you sure the script is executable for
everyone (chmod a+x whatever.sh)

On Tue, Nov 22, 2011 at 7:15 AM, JK <[email protected]> wrote:

> Hi folks. I'm new to Cherokee, running it on a Linksys NSLU2 "slug".
>
> I'm trying to get a shell script to run via CGI from Cherokee, but I'm
> getting a "500 Internal Server Error". Could anyone help me troubleshoot?
>
> -------------------------------
> My Bash script is:
>
> #!/bin/sh
> echo "Content-type: text/html\n\n"
> echo "<html><head><title>First CGI page!</title></head>"
> echo "<body>
> Hello World
> </body></html>"
> '-------------------------------
>
> Web root is: /opt/share/www/cherokee
> Cgi-bin is: /opt/share/cherokee/cgi-bin
>
> --
> View this message in context:
> http://cherokee-web-server-general.1049476.n5.nabble.com/Cherokee-CGI-and-Bash-script-500-error-tp5011553p5011553.html
> Sent from the Cherokee Web Server - General mailing list archive at
> Nabble.com.
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to