How to Remove “Fedora Test Page” on Fedora 16 Linux Server

Share this Article :

Question :
How to remove test page for the apache httpd server on Fedora 16 server. After installed apache and start the service, i will get this message :

Fedora Test Page

This page is used to test the proper operation of the Apache HTTP server after it has been installed. 
If you can read this page, it means that the web server installed at this site is working properly, 
but has not yet been configured.

Answer :
Comment out the following lines in welcome.conf :

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

Original welcome.conf :

#
# 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>

Examples :

#
# 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 httpd service to take effect immediately :

[[email protected] ~]# systemctl reload httpd.service

Leave a Reply