Question
Forbidden when trying download file
I have a directory which contains files. I can access that directory (domain.com/xxx) but I cannot download files in (domain.com/xxx/file.ex). When I click on the file, appear the message “403 Forbidden. You do not have permission to access this server /xxx/file.ex”. It also occurs on the main site.
Is there something wrong with the apache settings? But its fresh install.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hi! Can check if there are any errors in Apache’s error log?
Also – please post the output of the following command:
Make sure you replace
/var/www
with your DocumentRoot if that’s not it.