Obsolete Releases > SME 8.x Contribs

Roundcube

<< < (3/4) > >>

Stefano:
meelis

roundcube is installed in /opt/roundcube, so it has NOTHING to do with /home and primary ibay..

meelis:
ok, but if i change this i get error  Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/opt/roundcube) in Unknown on line 0

Stefano:
you have to add /tmp to basedir for roundcube

meelis:
Im very sorry because im so stupid but how?
This is fragment my httpd.conf if i change php_admin_value open_basedir /opt/roundcube to php_admin_value open_basedir /opt/roundcube/tmp, then roundcube not working at all

Alias  /roundcube  /opt/roundcube
<Directory /opt/roundcube>
    order deny,allow
    deny from all
    allow from all
    AddType application/x-httpd-php .php
    php_admin_value open_basedir /opt/roundcube
    php_admin_value eaccelerator.enable 1
</Directory>

Stefano:

--- Quote from: meelis on November 14, 2012, 12:12:32 PM ---
--- Code: ---Alias  /roundcube  /opt/roundcube
<Directory /opt/roundcube>
    order deny,allow
    deny from all
    allow from all
    AddType application/x-httpd-php .php
    php_admin_value open_basedir /opt/roundcube
    php_admin_value eaccelerator.enable 1
</Directory>

--- End code ---

--- End quote ---

meelins

first of all, use google.. it knows (almost everything).. and I'm sure that searching for "open_basedir syntax" would help you

anyway, try

--- Code: ---Alias  /roundcube  /opt/roundcube
<Directory /opt/roundcube>
    order deny,allow
    deny from all
    allow from all
    AddType application/x-httpd-php .php
    php_admin_value open_basedir /opt/roundcube:/tmp
    php_admin_value eaccelerator.enable 1
</Directory>

--- End code ---

HTH

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version