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
[client xxx.xxx.xxx.xxx] PHP Warning: main(../functions/strings.php):
failed to
open stream: Operation not permitted in
/var/www/html/vhosts/my_domain_2/tools/webmail/src/login.php on line 19
[client xxx.xxx.xxx.xxx] PHP Fatal error: main(): Failed opening required
'../functions/strings.php' (include_path='.:/usr/share/pear') 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:"
ServerName www.mydomain2.com
ErrorLog logs/vhosts/my_domain_2/error_log
CustomLog logs/vhosts/my_domain_2/access_log combined
DocumentRoot /var/www/html/vhosts/my_domain_2
<Directory "/var/www/html/vhosts/my_domain_2">
Options -Indexes FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from zzz.zzz.zzz.zzz
</Directory>
</VirtualHost>
Everything else worked, except Squirrelmail.
Did i miss or _missunderstood_ something ? or is the whole software not
vhosts_ready ?
I read the manual and FAQ, googled and still can figure it out ...
Any comment/suggestion would be really helpfull !
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