How can I get access to my Symfony app on my server?

Viewed 38

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. 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/

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

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

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.

Related