How to remove “Red Hat Enterprise Linux Test Page”

Share this Article :

Symptoms :
After i installed apache httpd on Red Hat Enterprise Linux (RHEL) server, i got the following message :
Red Hat Enterprise Linux Test Page

Solution :
Go to welcome.conf file :

    [[email protected] ~]# vi /etc/httpd/conf.d/welcome.conf
    

To disable the Welcome page, comment out all the lines below :

    # This configuration file enables the default "Welcome"
    # page if there is no default index page present for
    # the root URL.  To disable the Welcome page, comment
    # out all the lines below.
    #
    <LocationMatch "^/+$">
        Options -Indexes
        ErrorDocument 403 /error/noindex.html
    </LocationMatch>
    

Comment out all the lines as below :

    # This configuration file enables the default "Welcome"
    # page if there is no default index page present for
    # the root URL.  To disable the Welcome page, comment
    # out all the lines below.
    #
    #<LocationMatch "^/+$">
    #    Options -Indexes
    #    ErrorDocument 403 /error/noindex.html
    #</LocationMatch>
    

Reload the apache httpd service to take effect :

    [[email protected] ~]# service httpd reload
    Reloading httpd:
    


2 Comments

  1. Ishwarya
  2. Anonymous

Leave a Reply