Posted by Michael Vilain on 10/29/80 11:33
In article <1133450622.537662.64880@g44g2000cwa.googlegroups.com>,
"Ben" <bmnave@gmail.com> wrote:
> I am running Apache 1.3.33 and PHP 4.3.11. Is there a way, either via
> httpd.conf or php.ini, to restrict which directories can be used for
> the execution of PHP scripts similar to how you can restrict cgi
> scripts to be allowed to run only if they are in a cgi-bin directory.
>
> Thanks for the help!
> -Ben
The apache directive you refer to I think is called a ScriptAlias.
There's also the ExecCGI option on a directory. Read up on the Apache
configuration documentation for details. I think that's a good place to
start.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[Back to original message]
|