linux - Apache configuration error 403 -


i have followed tutorial 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 connected using

telnet localhost 12345 / http/1.0 

i got error

http/1.1 403 forbidden 

and default html of apache listed below too. tried configure

/etc/httpd/conf/httpd.conf

adding

<directory "/var/www/html">  order allow,deny  allow  require granted </directory> 

and ran

chmod -r o+x /var/www/html 

and i'm still getting same error. how proceed?

do have file called index.html inside /var/www/html/ directory? suggest check access , error logs files under /var/log/httpd directory


Comments