You are here: Re: Restricting PHP Execution « PHP Programming Language « IT news, forums, messages
Re: Restricting PHP Execution

Posted by Michael Vilain on 10/27/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...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация