DragonFly kernel List (threaded) for 2003-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Fw: new sysinstall
Wesley Moxam wrote:
#!/usr/local/bin/ruby
require 'webrick'
include WEBrick
s = HTTPServer.new( :Port => 2000 )
s.mount_proc("/hello"){|req, res|
res.body = "<HTML>hello world</HTML>"
res['Content-Type'] = "text/html"
}trap("INT"){ s.shutdown }
s.start
This way you could eliminate apache as a dependancy.
Hmm, I think discussing which language is better to use will be
more of a religous discussion than any other. No offense, but
whatever PHP can achieve, it can also be achieved by Perl,
Python, Ruby and whatever else is out there; heck, even C++. :-)
Let us just stick with the PHP4 + thttpd/Apache combination.
My basic reason for supporting it is because it is something
different and radical from what other BSDs are doing.
Please, do not make a bikeshed out of this followup; it is
merely my summary of the ``new sysinstall'' discussion. :-)
Regards,
--
Hiten Pandya
hmp@xxxxxxxxxxxxx
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]