DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Fw: new sysinstall

From: Hiten Pandya <hmp@xxxxxxxxxxxxx>
Date: Tue, 02 Sep 2003 18:05:53 +0100

Wesley Moxam wrote:
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 }

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. :-)


Hiten Pandya

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]