Weird open_basedir restriction error

Discussion in 'General' started by maxxer, Dec 1, 2015.

  1. maxxer

    maxxer Member

    Hi.
    I just uploaded a newer version of my yii based web app to a ispconfig virtualhost and I'm getting this error:
    but as you can see /var/www/clients/client2/web20/web/th/vendor/maxxer/yii2-kickstars-assets/web/KickstarsAsset.php is within the first path /var/www/clients/client2/web20/web! How's this possible?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Strange indeed. Are all files in /var/www/clients/client2/web20/web owned by user web10 and group client2 ?
     
  3. maxxer

    maxxer Member

    yes, I did it again now to double check.
    Code:
    chown -R web20:client2  && chmod 770 .
    but same result. very odd.
     
  4. maxxer

    maxxer Member

    found the odd. /var/www/clients/client2/web22/web/th/vendor/maxxer/yii2-kickstars-assets/ was a link and not a directory!
     
    till likes this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Thank you for posting the solution, I'm sure it will help others that find this thread.
     
    maxxer likes this.

Share This Page