Files permissions problem, only without "www" prefix

Discussion in 'Installation/Configuration' started by sza, Mar 29, 2015.

  1. sza

    sza Member

    Hello all,
    I made some changes in my server(changed domain, upgraded ISPconfig etc.) and suddenly I've noticed that all of the websites stored on my ISPconfig (3.0.5.4p5) that needs some file permissions, can't activate them.
    (Here is an example of an error:
    Warning: fopen(/var/www/clients/client5/web7/web/dev/basis/logs/db/29_03_2015.log): failed to open stream: Permission denied in /var/www/clients/client5/web7/web/dev/basis/helpers/basic/Logs.class.php on line 179 )

    BUT,
    If i enter the same address with "www" prefix, it works great(!)
    Where did I screw up?

    Thank you very much,
    Tzahi.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check that the apache suexec module is installed and enabled:

    a2enmod suexec
    service apache2 restart
     
  3. sza

    sza Member

    It was already installed and enabled,
    Thanks for the quick reply.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    In the domain field of your websites you use domain.tld and in the aut subdomain field you have auto subdomain "www" enabled?
     
  5. sza

    sza Member

    Yes.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    And php mode is fcgi or fpm? Did you try to reboot your server?
     
  7. sza

    sza Member

    php mode is fpm.
    rebooted couple of times :(
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Just as a test, switch php mode to fcgi on one site to see if that solves the problem.
     
  9. sza

    sza Member

    No, same problem here. also tried to restart apache2.
     

Share This Page