note 60248 added to security.hiding

From: Date: Sat, 31 Dec 2005 08:55:45 +0000
Subject: note 60248 added to security.hiding
Groups: php.notes 
Request: Send a blank email to php-notes+get-101030@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/security.hiding.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+60248 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60248&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60248&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60248&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60248&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60248&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60248&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60248&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+60248&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#101030) next »