ISPConfig 3, Squirrelmail, Ubuntu 9.10

Discussion in 'Server Operation' started by IheartUbuntu, May 5, 2010.

  1. IheartUbuntu

    IheartUbuntu New Member

    Greetings,

    I have recently installed ISPConfig on Ubuntu 9.10 server and it's working great except for one thing. I created a sym link for /usr/share/squirrelmail to /var/www/webmail and works fine inside my network when I hit ...//myserverip/mydomain/webmail. However, when I try to access it from outside my network by typing ...//mydomain.com/webmail I get the following error which I think relates to a permissions issue. (also happens with phpmyadmin)

    Warning: Unknown: open_basedir restriction in effect. File(/var/www/mydomain.com/web/webmail/index.php) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/usr/share/php5) in Unknown on line 0

    Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

    Fatal error: Unknown: Failed opening required '/var/www/mydomain.com/web/webmail/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0


    Any help would be much apreciated!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add:

    :/var/www/mydomain.com/web/webmail

    to the open_basedir path of the website (on the options tab).
     

Share This Page