Answer the question
In order to leave comments, you need to log in
Doesn't show index.html in lamp?
Installed apache2 mysql php, configured. In the browser I enter localhost - it shows index.html. In Apache, I created the site test.local and put index.html there. In the browser I enter test.local - page Forbidden
You don't have permission to access / on this server. In the browser I enter test.local/index.html - it shows the page normally. (p.s. there is no .htaccess in localhost )
Answer the question
In order to leave comments, you need to log in
Is there a DirectoryIndex directive in the Apache config?
If not, then you need to insert DirectoryIndex index.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question