Re: php / apache
| From: | Matt McClanahan | Date: | Sat, 30 Jun 2001 20:21:48 +0000 |
| Subject: | Re: php / apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55688@lists.php.net to get a copy of this message | ||
On Fri, Jun 29, 2001 at 03:54:13PM +0000, Pétur Björn Thorsteinsson wrote:
> can anyone tell me how to configure a php script so that it can only be
> accessed by other scripts and not directly by typing its url in the
> webrowser?
Just move the script outside the web root. Browsers can't directly
access files that aren't inside web-visible directories.
Matt