403 error accessing subdirectory after upgrade to current ISPCONFIG 3

Discussion in 'Installation/Configuration' started by vestport, Sep 8, 2021.

  1. vestport

    vestport Member

    Hello group,

    My home directory is fine and responds as per normal when I go to mysite.com. I have a subdirectory "mysite.com/files" where I store tons of stuff and other subdirectories off that one. Everything is still owned by the same user (root) but after upgrade I get a 403 when trying to go to the subdirectory "mysite.com/files".

    Any advice appreciated as there is a mountain of stuff here in the "/files" subdirectory" and I can no longer get to it via a browser. I did back it all up and was going to attempt to delete the entire site, create it again and move forward but I'm confident the issue is more simple than that. I do have SSL activated but the "files" directory is normal with no .htaccess or .htpassword. Some other directories beyond "/files" are SSL directories and in fact still ask for passwords so I don't know what the heck is going on. That and I'm a bit rusty these days.

    Thanks in advance for any replies!

  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    is there an index.html or index.php file in that folder.
    i know if you have file/directory listing disabled in apache, you'll get a 403 error if you trying looking at an empty folder.
    could be the same if there's just no index.html or index.php (or whatever file DirectoryIndex might point to) in the folder.
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Should it be owned and group owned by the website user and group? You could try creating a new website and check what owners and permissions the files and directories get, and repair the website based on that.

Share This Page