Changing Apache Main Page in Linux

by satheeshkumar 2012-09-17 22:34:49

Changing Apache Welcome Page in Linux,

Normally when we type as http://localhost, the browser displays the Red Hat Enterprise Linux Test Page.

If we wish the browser to display folder inside /var/www/html/ as welcome page instead of the Red Hat Enterprise Linux Test Page, then follow instructions below.

Go to /etc/httpd/conf.d/welcome.conf. Comment all the lines in welcome.conf, save and restart the apache. Then type http://localhost. Now the browser displays the folder information under /var/www/html/ instead of the Red Hat Test Page.
1338
like
0
dislike
0
mail
flag

You must LOGIN to add comments