ispconfig & alias squirrelmail

Discussion in 'Installation/Configuration' started by ctpaba, Feb 26, 2007.

  1. ctpaba

    ctpaba New Member

    hello
    I have ISPCONFIG on Debian Sarge with SquirrelMail and all work great, access at webmails in http://mydomain.tld:81/squirrelmail/src/login.php work good.
    I wish to create alias in /etc/apache2/apache2.conf for access with next url http://mydomain.tld/webmail adding a line Alias /webmail /home/admispconfig/ispconfig/web/squirrelmail normaly this work but i have next error message

    Warning: Unknown(): open_basedir restriction in effect. File(/home/admispconfig/ispconfig/web/squirrelmail/index.php) is not within the allowed path(s): (/home/www/web12/) in Unknown on line 0

    Warning: Unknown(/home/admispconfig/ispconfig/web/squirrelmail/index.php): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: (null)(): Failed opening '/home/admispconfig/ispconfig/web/squirrelmail/index.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0


    any idea ?

    P.S. sry for my bad english
     
  2. till

    till Super Moderator

    Your PHP installation has a open basedir restriction set, thats why it cant include the php files from ISPConfig.

    If this is a website created in ISPCOnfig, then you will have to disable the php safemode checkbox for it.
     
  3. ctpaba

    ctpaba New Member

    in my php.ini "open_basedir" was comment for disabled this option. I was try to uncomment and set "open_basedir = /" but I have allready same error.

    in my server I have 3 php.ini :
    /etc/php4/cli/php.ini
    /etc/php4/apache2/php.ini
    /root/ispconfig/php/php.ini

    this parameter was changed in all php.ini files :(

    10x
     
  4. till

    till Super Moderator

    If there was a comment sign, this function was already deactivated. Please undo your changes in the php.ini files. Please bever edit the file /root/ispconfig/php/php.ini if you wont break ISPConfig!

    As open_basedir was disbled already, please do waht I posted above:

     

Share This Page