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: Mark Pauley <email@hidden>
- Date: Wed, 20 Feb 2008 15:58:14 -0800
Also: check out ipfw. It is great at stuff like this, you can send
spurious packets and drop connections to your heart's content. Really
great tool for a network admin / developer.
_Mark
On Feb 20, 2008, at 3:20 PM, Nathan Duran wrote:
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
_______________________________________________
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