Hi,

I got haserl running (nearly).

On a PC I easily got a haserl scrip running that shows a web page (via the boa webserver) and provides some functionality (via the bash command line shell) .

Now I did nearly the same setup (boa and haserl) on the uCLinux box. As I don't have bash there, I use msh that is integrated in busybox.

So I needed to change the script slightly by adding "--shell=/bin/msh" to the first line (BTW.: in a documentation I have the -- is omitted erroneously).

boa tries to use the haserl script. Proof: if I don' set the access right wrong, flag I get "403 forbidden". If I set them to 777, I get "500 server error")

Now trying the script and haserl from the command line does work perfectly (I was not able to test the environment variables, but I don't see a problem I could find here).

When calling the script from the command line by doing "./has1" I get exactly the output I expect:

   output starts with

content-type: text/html

   then en empty line


then valid html code is printed including the stuff haserl created by executing the shell.

Unfortunately boa on the uCLinux does not seem to get/accept this output.

Having boa all an executable instead of a script does work,



Any idea what might go wrong here or how I can debug the problem ?

Thanks,

-Michael
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to