Friday 25 July 2003 6:49:03 am
dear developers, i've installed on my webhost ezp 3.1 clean (no installer) with the browser setup. right from the beginning it said, it'll have problems with open_basedir. everything else is ok, the installer said. my webhost includes in the standard httpd.config the following confixx_vhost.config:
#### CONFIXX APACHE VHOST FILE #### ### created Wed Jul 23 23:57:08 2003 ###
NameVirtualHost xx.xx.xxx.xxx:80
php_admin_flag safe_mode On php_admin_value safe_mode_exec_dir /var/www/empty
UseCanonicalName Off
LogFormat "%V:#:%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" confixx
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" confixx2
CustomLog |/root/confixx/pipelog.pl confixx
<Directory "/var/www">
<Files ~ "^\.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options None
Options -FollowSymLinks -SymLinksIfOwnerMatch +Includes </Directory>
<VirtualHost xx.xx.xxx.xxx:80>
DocumentRoot /var/www/confixx/html/gesperrt
</VirtualHost>
<VirtualHost xx.xx.xxx.xxx:80>
ServerName mydomain.de
ServerAlias www.mydomain.de web1.xxxxxx.hostdomain.de
DocumentRoot /var/www/web1/html
User web1
Group ftponly
ScriptAlias /cgi-bin/ /var/www/web1/html/cgi-bin/
php_admin_value open_basedir /var/www/web1/
php_admin_value upload_tmp_dir /var/www/web1/phptmp/ </VirtualHost>
on testing php, it says that globally the open_basedir is off, but locally it is /var/www/web1. where do i change the open_basedir status? in /etc/php.ini there is only the safe_mode described (or am i dumb?).
accessing my ezp-site everything works fine, just an error-message like "warning: open_basedir restriction in effect. File is in wrong directory in /var/www/web1/myezpfolder/lib/ezutils/classes/ezsession.php on line 77" is showing. whats wrong? what to change? i'm stuck. and besides: to what directory do i have to install imagemagick with that configuration? i tried various setups, but it just doesn't show the imgs... :( sorry for being "stupid", but i try to install and configure ezp3.1 for 3 weeks now and i just don't come up with a method to get it up and running... thanks, stefan
|