Why apache don't recognize that path, but hes can recognize that path: /var/www/html/domain.com/public/

What's the point? It's always give me an 403 forbidden error or error 500, even IF all config are right and don't have an error in apache, I try to change owner to www-data, I try to give 777 -R to all directory and files from domain.com/main_site/public

And I don't get any access to my website or even single php script.

I try this in my VPS server on ubuntu 18.04 and in my localhost computer 18.04, the same error on both side.

  • 1
    could you post the error log? – Juan Mar 22 at 13:06
  • H01630: client denied by server configuration: /var/www/html/ – Alexandr Lamdan Mar 22 at 13:15
  • looks like an Allow/Require issue. Have a look at this stackoverflow.com/questions/18392741/… – Juan Mar 22 at 13:18
  • Juan I try it, in the server and in the local computer its all exists – Alexandr Lamdan Mar 22 at 13:20
  • The error 1630 solution changes between versions of apache. Ubuntu 18.04 comes with Apache 2.4+. Check if you have a line with Require all granted in your apache configuration. – Juan Mar 22 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.