Hi, I'm a beginner at using apache and have recently installed it on fedora 18. I placed some basic code into the index.html page in /var/www/html but when I try localhost I still get the fedora test page. When I try localhost/index.html, I get this message. Forbidden You don't have permission to access /index.html on this server. Permissions for every file or directory in the pathway are either 755 or 777 so I don't know how I have a permission problem. Is there something in the configuration that I could change. Is there a method I could use to check for errors or logs? Thanks.
Hi There, Welcome to DP forums. I hope you enjoy your stay here. What does your VirtualHost entry shows ? Check apache config carefully. For apache error logs check, /etc/httpd/logs/error_log. This will show you the reason behind the error.
Well, I tried setting up a virtual host and accidentally got localhost to work so...yeah. I'll try to figure out what happened