>

>
>>>>> 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>



-------------------------------------------------------
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