• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can I Make a Web Server in 15 Minutes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Can I Make a Web Server in 15 Minutes?
      • From: Jerry Krinock <email@hidden>
References: 
 >Can I Make a Web Server in 15 Minutes? (From: Jerry Krinock <email@hidden>)
 >Re: Can I Make a Web Server in 15 Minutes? (From: Jerry Krinock <email@hidden>)
 >Re: Can I Make a Web Server in 15 Minutes? (From: Nathan Duran <email@hidden>)
 >Re: Can I Make a Web Server in 15 Minutes? (From: Jerry Krinock <email@hidden>)
 >Re: Can I Make a Web Server in 15 Minutes? (From: Nathan Duran <email@hidden>)

  • Prev by Date: Re: Can I Make a Web Server in 15 Minutes?
  • Next by Date: Re: [Bonjour] Any mechanism to deal with Aurevoir and re-bonjour?
  • Previous by thread: Re: Can I Make a Web Server in 15 Minutes?
  • Next by thread: Re: Can I Make a Web Server in 15 Minutes?
  • Index(es):
    • Date
    • Thread