While attending RHCE examination, I faced a lot of question related to Apache. While installation and configuration of Apache was the first topic, I found this topic very useful and would like to share with everyone who is going to attend RHCE certification.
A Quick one line step to configure it is:
Edit the /etc/httpd/conf/httpd.conf file :
Just Look at the line starting:
[Please note: Do add lesser than sign in front of directory]
directory “/var/www/html/pdfs”
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
/Directory
Restart the Apache.
Try browsing http://localhost/pdfs
Comments are closed.