Package: egroupware-wiki
Version: 1.4.004-2.dfsg-4.1
Severity: grave
Justification: renders package unusable


Package: egroupware-core (1.4.004-2.dfsg-4.1)
 Version: 1.4.004-2.dfsg-4.1

 therein the file apache.conf
 
http://svn.debian.org/viewsvn/collab-maint/ext-maint/egroupware/trunk/debian/etc/apache.conf?revision=10687&view=markup

 An Installation of the egroupware-suite brings up a problem in the
setup of an upload-dir for the wiki:

 Package: egroupware-wiki (1.4.004-2.dfsg-4.1)
 Version: 1.4.004-2.dfsg-4.1

 therein is the sanity check:

       if ($settings['upload_dir'])
       {
               if (!is_dir($_SERVER['DOCUMENT_ROOT'].$settings['upload_dir']) ||
!file_exists($_SERVER['DOCUMENT_ROOT'].$settings['upload_dir'].'/.'))
               {
                       $GLOBALS['config_error'] = 'Directory does not exist, is 
not
readable by the webserver or is not relative to the document root!';
               }
       }


 which always puts an error out, for the $_SERVER['DOCUMENT_ROOT'] is
(always) outside of the open_basedir settings in the apache.conf (ln
-fs ../../egroupware/apache.conf /etc/apache2/conf.d/egroupware).

from the apache.conf:

>>>
php_admin_value open_basedir
/usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/php
>>>


workaround: adding the actual SERVER DocumentRoot to the
.../egroupware/apache.conf

>>
php_admin_value open_basedir
/usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/php:{$_SERVER['DOCUMENT_ROOT']}
>>

in our case /var/www



best regards,



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to