403 Forbidden Symlink in shared hosting

I’m deploying a symfony5 app on a shared hosting service for a subdomain.

I added in cpanel the subdomaine test.domain.com with this document root public_html/test

In order to have access to the my app I created a symlink with this command :

ln -s myapp/public public_html/test

this is what I get when I try to access to my subdomain test.domain.com:

Forbidden

You don’t have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

I added Options FollowSymLinks in htaccess but it didn’t work. any help please?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *