note 60248 deleted from security.hiding by danbrown

From: Date: Tue, 28 Dec 2010 00:42:47 +0000
Subject: note 60248 deleted from security.hiding by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175264@lists.php.net to get a copy of this message
Note Submitter: dyer85 at gmail dot com ---- Although it's probably obvious to most people, Yavuz Darendelioglu's post below utilizes a method that will only work on a *nix OS, not Windows, and probably not Mac. Also, his regex uses some superfluous matching, instead, write the redirect like so: (you don't really need to use absolute path when redirecting to a resource on the same server, either): RedirectMatch (?:awstats|xmlrpc) /deny.php

« previous php.notes (#175264) next »