prad
2006-05-30 22:34:00 UTC
i'm using php right now and things are fine.
however, after reading various threads on the (recommended by several people
here) MARC (http://marc.theaimsgroup.com/?l=openbsd-misc) list, i was curious
about learning some new things like:
cgi
fastcgi
lighttpd
ruby
which came up in the discussions.
i tried to got a ksh script to work after i copied the ksh into /var/www/bin
my understanding is that the chrooted environment doesn't give access to
the /bin/ksh program.
i tried the same thing with python, but kept getting
Internal Server Error on the browser
and the following in the error_log:
No such file or directory: exec of /htdocs/z/jonpy1.cgi failed
Premature end of script headers: /htdocs/z/jonpy1.cgi
i tried the same thing with ruby (copied both ruby and erb into /var/www/bin)
and got the same thing again.
so is there something else i need to do to get cgi working in openbsd's
chrooted environment?
(also, lighttpd looks really neat and clean, but i don't think it runs
chrooted by default, right? (it's .conf file is in /etc) so to get it to do
that would require understanding just what the chrooted process involves,
which i can find from the web.)
however, after reading various threads on the (recommended by several people
here) MARC (http://marc.theaimsgroup.com/?l=openbsd-misc) list, i was curious
about learning some new things like:
cgi
fastcgi
lighttpd
ruby
which came up in the discussions.
i tried to got a ksh script to work after i copied the ksh into /var/www/bin
my understanding is that the chrooted environment doesn't give access to
the /bin/ksh program.
i tried the same thing with python, but kept getting
Internal Server Error on the browser
and the following in the error_log:
No such file or directory: exec of /htdocs/z/jonpy1.cgi failed
Premature end of script headers: /htdocs/z/jonpy1.cgi
i tried the same thing with ruby (copied both ruby and erb into /var/www/bin)
and got the same thing again.
so is there something else i need to do to get cgi working in openbsd's
chrooted environment?
(also, lighttpd looks really neat and clean, but i don't think it runs
chrooted by default, right? (it's .conf file is in /etc) so to get it to do
that would require understanding just what the chrooted process involves,
which i can find from the web.)
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's