>>>>>> I can't get SM login page anymore...
>>>>>>
>>
>>>>>> Here is my php_error_log:
>>>>>>
>>>>>>
>>>>>> [06-Feb-2005 10:07:49] PHP Warning:  main(): open_basedir
>>>>>> restriction
>> in
>>>>>> effect. File(../functions/strings.php) is not within the allowed
>>>>>> path(s):
>>>>>> (.:/tmp:/var/www/phpMyAdmin:/home/httpd/vhost/benoit) in
>>>>>> /usr/share/squirrelmail/src/login.php on line 19
>>>>>>
>>
>>>>> Check your php.ini file, there is a setting that is limiting which
>>>>> directories are allowed to be accessed (open_basedir).
>>
>>>> It must be somewhere else because open_basedir isn't set... :(
>>>>
>>
>>> There is a possibility it could be set using a .htaccess file, or in
>>> httpd.conf as a php_value key.  There are a few places it could be set,
>>> so you'll have to do some snooping around.
>>
>> I got it now, in fact the open_basedir restriction comes from the
>> open_basedir line of my first VHost!!!! I tryed to add .. or
>> ../functions:../config or /usr/share/squirrelmail at
>> the end, but nothing makes it better :( I suppose there must be another
>> place where it could be written so as it works (e.g.: in
squirrelmail.conf
>> where there is only the alias line?). Or maybe should i add a
Squirrelmail
>> VHost?
>> I'm waiting for your advices...

><directory /usr/share/squirrelmail>
>   php_admin_value open_basedir "/var/share/squirrelmail"
>   ... other directory options ...
></directory>

I tried this after Alias /webmail /usr/share/squirrelmail in
squirrelmail.conf,
but it didn't change! (always use the first VHost restriction) Was I
supposed to put that elsewhere?
I tried something else in squirrelmail.conf, I only let these lines:
<VirtualHost *:80>
ServerName mail.mydomain.com
DocumentRoot /usr/share/squirrelmail
</VirtualHost>
With those lines it works, but I'd prefer use www.mydomain.com/webmail to
access squirrelmail.

By the way, I didn't mentionned that I'm using FC3, maybe it could help...



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
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

Reply via email to