<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 20 Oct 2009 19:37:43 +0100
From   : me@... (me@...)
Subject: Web site trickery (ot)

On 20 Oct 2009, at 17:48, Rob wrote:

> Maybe, if your server supports it:
> create  file called index.php containing:
> <?php
> header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
> ?>

Forgive me if I'm being stupid, but why not just turn off Directory  
Browsing on your server? Most web servers can even do it on a per- 
folder basis. This is far more preferable than index tricks.

-- 
David Glover
http://www.davidglover.org/
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>