I have followed this tutorial to configure http apache server: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Confined_Services/chap-Managing_Confined_Services-The_Apache_HTTP_Server.html
When I connected using
telnet localhost 12345
GET / HTTP/1.0
I got an error
HTTP/1.1 403 Forbidden
and the default html of apache was listed below too. I tried to configure the
/etc/httpd/conf/httpd.conf
adding
<Directory "/var/www/html">
Order allow,deny
Allow from all
Require all granted
</Directory>
and also ran
chmod -R o+x /var/www/html
and I'm still getting the same error. How do I proceed?
Do you have a file called index.html inside /var/www/html/ directory? I would also suggest to check access and error logs files under /var/log/httpd directory