> I couldn't make this work with CGI apps though. [...] > > Any idea on how to overcome this problem?
How about: > #!/bin/sh > ":";export CHICKEN_REPOSITORY="/home/htdocs/chicken";exec /usr/local/bin/csi > -s $0 "$@" > > (use stream-cgi html-stream) BTW, the export assumes you're using bash. If you're using GNU/Linux, this is likely your case. If you're using Apache, I would suggest setting the CHICKEN_REPOSITORY environment variable using its SetEnv directive; to me it sounds better to keep it in your configuration files rather than in your source code. In this case you'd just do something along the lines of: #!/usr/local/bin/csi -s (use stream-cgi html-stream) Good luck. :-) Alejo. http://azul.freaks-unidos.net/ _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users