After tracking it down, the error seems to be related to the open_basedir (according to the error log), but the file being access does seem to be within the list of directories.
Code:
[Fri May 21 20:07:04 2010] [error] [client 98.28.57.67] PHP Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client1/web10/web:/var/www/clients/client1/web10/tmp:/var/www/www.therealmikelee.com/web:/srv/www/www.therealmikelee.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin) in Unknown on line 0
[Fri May 21 20:07:04 2010] [error] [client 98.28.57.67] PHP Fatal error: Can't load /var/www/www.therealmikelee.com/web/restart.php, open_basedir restriction. in Unknown on line 0
And the vhost file:
Code:
<Directory /var/www/www.therealmikelee.com>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<VirtualHost *:80>
DocumentRoot /var/www/www.therealmikelee.com/web
ServerName www.therealmikelee.com
ServerAdmin webmaster@www.therealmikelee.com
ErrorLog /var/log/ispconfig/httpd/www.therealmikelee.com/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
<Directory /var/www/www.therealmikelee.com/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client1/web10/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@www.therealmikelee.com"
php_admin_value upload_tmp_dir /var/www/clients/client1/web10/tmp
php_admin_value session.save_path /var/www/clients/client1/web10/tmp
php_admin_value open_basedir /var/www/clients/client1/web10/web:/var/www/clients/client1/web10/tmp:/var/www/www.therealmikelee.com/web:/srv/www/www.therealmikelee.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web10 client1
</IfModule>
</VirtualHost>
I've tried adjusting the open_basedir value to just the
/var/www/www.therealmikelee.com/web value there I know the file is and it still errors out.
Thoughts?