I have php for my virtualhosts locked down so they can only execute scripts and access files that are in their subdirectories but does this take priority over include_path as well.. for example...
<VirtualHost *>
ServerName www.domain.com
ServerAdmin webmaster@domain.com
DocumentRoot d:/apache/sites/www.domain.com/www
ScriptAlias /cgi-bin/ "d:/apache/sites/www.domain.com/cgi-bin/"
ErrorLog d:/apache/sites/www.domain.com/logs/error.log
CustomLog d:/apache/sites/www.domain.com/logs/access.log common
php_admin_flag safe_mode on
php_admin_flag allow_url_fopen off
php_admin_flag register_globals off
php_admin_value doc_root "d:/apache/sites/www.domain.com/www"
php_admin_value include_path ".;d:\php\includes;d:\php\pear"
php_admin_value open_basedir "d:/apache/sites/www.domain.com"
php_admin_value safe_mode_exec_dir "d:/apache/sites/www.domain.com/www"
php_admin_value session.save_path "d:/apache/sites/www.domain.com/sessiondata"
php_admin_value upload_tmp_dir "d:/apache/sites/www.domain.com/uploadtemp"
php_value upload_max_filesize 1024000
<FilesMatch ".(cgi|pl|shtml|shtm)$">
AllowOverride None
Order deny,allow
deny from all
</FilesMatch>
</VirtualHost>
Even though it is in the include_path, my virtualhost site is not able to access the PEAR folder unless I remove the open_basedir. Does anyone know of any ways that the include_path will work with the open_basedir at the same time...
I am running apache 1.3.26/php 4.2.2 on Win2ksp3 any help will be greatly appreciated...