Sorry for so many of the same posts, but this was my first time ever
submitting to a news group, and I kept getting emails saying that I needed
to validate my email address... oops

I finally figured out how to setup the open_basedir in windows! yay :)  For
people who want to know, or for people that would care to add to this, here
is what I found:

<Location />
php_admin_value open_basedir /www/
</Location>

Is that all I should need in each virtual host block, or are there more
settings I should add to make php more secure?

Thanks,

Luke!

"Luke" <[EMAIL PROTECTED]> wrote in message
news:20021103230908.10040.qmail@;pb1.pair.com...
> Does anyone know how to set the open_basedir in Apache 1.3x running on
win2k
> on a per-virtual host basis?  I've been looking for hours and I haven't
> found any information that works :(  PHP is running as several SAPI
modules
> (maybe this is the problem, but I've read that SAPI is better than the cgi
> executable..?)
>
> I have tried configurations like:
>
> <VirtualHost yourdomain.com>
> DocumentRoot /www/
> ServerName test.yourdomain.com
> php_admin_value user_dir "/www/yourdomain.com/"
> </VitualHost>
>
> That gives this error when I restart apache :(
>
> C:\>Syntax error on line 96 of C:/apache/config/virtualhosts.conf:
> php_admin_value not allowed here
>
> Can anyone help me?
>
> Thanks,
> Luke!
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to