[solved] Apache 2.4 and userdir/rights

Discussion in 'Server Operation' started by CaraGk, Apr 29, 2015.

  1. CaraGk

    CaraGk New Member

    Debian GNU/Linux Jessie was released these days. And with it many software's changes. One of them is Apache 2.4 which complicated a bit my server's upgrade.

    And there is an issue that I cannot get out. The Apache configuration used to rule each website with the corresponding client's rights (user webX group clientY) the same way mod_userdir does (but without mod_userdir, I mean). Yet, it uses www-data for everyone. So, many web apps can't write to their cache/ and logs/ directories until I chmod them with www-data user (which is NOT a good practice)...

    Does anyone know any Apache/ISPconfig3 config to correct this behavior? Or I'll have to wait for a patch? :/

    Thank's for your help!
    Sorry for my english: it's not my native language...
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig works perfectly on jessie, see perfect server guide for debian 8.

    If you have problems with user permissions, then either apache suexec is not installed or it is not enabled on your server.
     
  3. CaraGk

    CaraGk New Member

    You're right ! It was some misconfiguration of suexec.

    Nonetheless, I had to give writing rights to the usergroup for cache/ and log/ (chmod g+w app/cache app/log) in two Symfony apps in order to allow Apache write access... It seems to work yet.
     

Share This Page