Hi ! > > I added following line to my httpd vhosts entry, and get the same > > error again: > > php_admin_value open_basedir > > "/var/www/html/vhosts/my_domain_2/tools/webmail" > > > This is my vhost Entry in httpd.conf: > > > <VirtualHost xxx.xxx.xxx.xxx:80> > > php_admin_value open_basedir > > "/var/www/html/vhosts/my_domain_2/tools/webmail:" > > Is this a direct copy? If so, you have a : on the end there.
Sorry, this was a Typo. The Line I have added (copy-n-paste) from httpd.conf: php_admin_value open_basedir "/var/www/html/vhosts/my_domain_2/tools/webmail" In Config File /etc/php.ini is enabled - for security reasons - "open_basedir = ." > > Did i miss or _missunderstood_ something ? or is the whole software > > not vhosts_ready ? > > This has nothing to do with vhosts at all. I have about 13 > vhosts running SquirrelMail, and don't have an issue. The > problem is related to open_basedir. This option (per the > php.ini file) does thefollowing: > > ; open_basedir, if set, limits all file operations to the > defined directory ; and below. This directive makes most > sense if used in a per-directory ; or per-virtualhost web > server configuration file. This directive is ; *NOT* affected > by whether Safe Mode is turned On or Off. I know ... :-( When I disable this in php.in by commenting it out - instead of using it on a per vhosts basis, then SM is showing up and working ! But security for the "rest" ? :-< > Basically put, you're restricting which files the scripts can open. > Ensure you typed the path correctly in the code above for a start. I corrected the Typo in the vhosts Part of the httpd.conf, but still get following error: [client xxx.xxx.xxx.xxx] PHP Warning: Unknown(): open_basedir restriction in effect. File(/var/www/html/vhosts/my_domain_2/tools/webmail/src/login.php) is not within the allowed path(s): (/var/www/html/vhosts/my_domain_2/tools/webmail) in Unknown on line 0 [client xxx.xxx.xxx.xxx] PHP Warning: Unknown(/var/www/html/vhosts/my_domain_2/tools/webmail/src/login.php): failed to open stream: Operation not permitted in Unknown on line 0 [client xxx.xxx.xxx.xxx] PHP Warning: (null)(): Failed opening '/var/www/html/vhosts/my_domain_2/tools/webmail/src/login.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0 By commenting out with "#" the "open_basedir = ." Line in php.ini, SM is working, but this can't by the "final solution" ... ;-) I feel a little bit confused ... Regards, AVE. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
