Re: Can I Make a Web Server in 15 Minutes?
Re: Can I Make a Web Server in 15 Minutes?
- Subject: Re: Can I Make a Web Server in 15 Minutes?
- From: Nathan Duran <email@hidden>
- Date: Wed, 20 Feb 2008 15:20:34 -0800
On Feb 20, 2008, at 3:05 PM, Jerry Krinock wrote:
And, you are correct. It looks like they're not that difficult.
At the risk of spurring an open source scripting language war, a
simple example of how little work it takes to craft a response in PHP
(which is probably already installed on your machine and therefore the
path of least resistance):
<?php header('HTTP/1.0 403 Forbidden'); ?>
If you want to make it die, fire off an infinite loop or just make it
sleep a really long time:
<?php while(true); ?>
It'll run until it hits the maximum allowed execution time.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden