open_basedir with apache on a per-virtalhost basis?
| From: | Luke | Date: | Sun, 03 Nov 2002 23:10:21 +0000 |
| Subject: | open_basedir with apache on a per-virtalhost basis? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16705@lists.php.net to get a copy of this message | ||
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!