skip to Main Content

I cloned my Symfony app to my server and when I want to open the website I get the error:

Forbidden

You don’t have permission to access this resource.
Apache Server at mywebsite.com Port 80

What does that mean?

4

Answers


  1. Chosen as BEST ANSWER

    I had to link my domain to the public folder instead of the root folder


    1. I would check the owner of the files in terminal.
    2. I would check vhost file, on my local Ubuntu the location is /etc/apache2/sites-available/
    Login or Signup to reply.
  2. You could check if you didn’t miss any important step from the webserver configuration documentation
    Configuring a Web Server

    like installing the apache Symfony pack or manually set an .htaccess

    Login or Signup to reply.
  3. I’m gonna need more information about the system. Which symfony version do you have? Have you seen the loggers? Have you deployed the system on a docker container? Which version of PHP are you using? Maybe you are missing some dependencies.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search