Hello A, On Thursday, September 02, 2004, A Ve wrote... > Hello,
> I am running successfully following Apps on a Fedora 2 Linux Box: > postfix-2.1.4-4 > cyrus-imapd-2.2.3-11 > cyrus-sasl-2.1.18-2 > After IMAP was finally working, i installed squirrelmail-1.4.3a-1 as > an RPM. I moved all the PHP files and Dir's under my root vhosts Dir, > restarted httpd, and get on accessing the squirrelmail root Page in > httpd_error.log following Error Message - and an Empty Browser Page: > --- > [client xxx.xxx.xxx.xxx] PHP Warning: main(): open_basedir restriction in > effect. > File(../functions/strings.php) is not within the allowed path(s): (.) in > /var/www/html/vhosts/my_domain_2/tools/webmail/src/login.php on line 19 [..] > 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. > 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 the following: ; 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. Basically put, you're restricting which files the scripts can open. Ensure you typed the path correctly in the code above for a start. -- Jonathan Angliss ([EMAIL PROTECTED]) Posting Hints: http://www.squirrelmail.org/wiki/en_US/MailingListPostingGuidelines ------------------------------------------------------- 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
