Help internal server error

Discussion in 'General' started by Joey Devs, Dec 20, 2017.

  1. Joey Devs

    Joey Devs Member

    I got error after doing this command

    chown -R www-data:www-data /var/www
    find /var/www/ -type d -exec chmod 755 {} \;
    find /var/www/ -type f -exec chmod 644 {} \;

    now all my website n my ispconfig was Internal Server Error
    I tried to change permission back in ftp via filezilla but says "not permitted"
    Please help mo how to fix it. thanks
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This completely destroyed your setup. You should reinstall the server if you don't have a backup. Fixing this manually is possible but very time consuming as every website has it's own user and group and different permissions ad you would have to fix them one by one.
     
  3. Joey Devs

    Joey Devs Member

    OMG. thanks Sir I will try to fix it manually because I don't have backup. How to fix it manually? what the command to change this permission
     

Share This Page