On Monday 25 November 2002 19:37, DL Neil wrote:
> Excuse me breaking in...somewhat similar problem:
>
> Have set up a client recently, preaching security persuaded them into
> updating so that could run Register_Globals=Off. Now they want to install a
> 'wiki' which requires (to my horror) Register_Globals=On.
>
> Short of two Apache/PHP servers, what is a logical way to structure things
> so that the 'wiki' runs 'insecure' but other/'my' PHP work runs more
> securely?
Set it on a per directory basis. If using Apache something like:
<Directory "/home/www.example.com/wiki_directory">
php_value register_globals 1
</Directory>
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
There is nothing more silly than a silly laugh.
-- Gaius Valerius Catullus
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php