Re: Limit PHP directory !
| From: | Matt McClanahan | Date: | Sat, 10 Jun 2000 18:25:40 +0000 |
| Subject: | Re: Limit PHP directory ! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1543@lists.php.net to get a copy of this message | ||
On Sat, 10 Jun 2000, Hamid Reza Hashemi Golpayegani wrote:
> Hi ,
>
> I have install Apache 1.3.9 and php3 module that included it .
> I want to limit the directories that php3 runs on !
> I mean want only to web server run php3 scripts only in a speceific
> directory on html dir .
> For example /home/httpd/html/php3
> So How can I set this is apache conf files ?
One way would be to set the PHP engine off by default, and enable it in an
.htaccess file or a <Directory> directive in the httpd.conf.
The relevant config option would be php3_engine on/off, I believe. It's
been quite awhile since I've used PHP3. :)
Matt