Opening HTML files on localhost (Ubuntu)
问题 I am using Ubuntu 14.04 and installed Apache 2.4.7 quite a while back, so I do not really remember all the configuration changes I made when I installed it first. Here is my problem. When I type http://localhost , it shows up my localhost on the web browser. I can open PHP files without any trouble. But when I try to open HTML files on the localhost, I get this; How do I fix the 'no permission to access .html on server' problem? 回答1: Done! I opened up terminal and enter: sudo chmod -R 755