RE: [PHP4BETA] feature request
| From: | Mike Robinson | Date: | Fri, 10 Mar 2000 23:53:50 +0000 |
| Subject: | RE: [PHP4BETA] feature request | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11899@lists.php.net to get a copy of this message | ||
> is it possible to restrict a php-program to a certain Path,
> e.g. /usr/local/httpd/sitename
> to let phpcode access only its own directories and below?
> (like .htaccess for apache)
Though I've never done this, I suppose you could leave the
addtype directives for php out of httpd.conf and put them
in a .htaccess file in the directory of choice. There's
probably a performance hit to consider, but it should work.
/Mike