Remove Red Hat Enterprise Linux Test Page:
The purpose to stop Red Hat Enterprise Linux Page could be free port 80 for nginx web server.
Explore Test Page Source:
Red hat Linux Test Page - To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf.
Content of file /etc/httpd/conf.d/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.
#
# NOTE: if this file is removed, it will be restored on upgrades.
#
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /.noindex.html
</LocationMatch>
<Directory /usr/share/httpd/noindex>
AllowOverride None
Require all granted
</Directory>
Alias /.noindex.html /usr/share/httpd/noindex/index.html
Steps to stops Red Hat Enterprise Linux Test Page:
01. Comment each line in file /etc/httpd/conf.d/welcome.conf
02. # reboot
The purpose to stop Red Hat Enterprise Linux Page could be free port 80 for nginx web server.
Explore Test Page Source:
Red hat Linux Test Page - To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf.
Content of file /etc/httpd/conf.d/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.
#
# NOTE: if this file is removed, it will be restored on upgrades.
#
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /.noindex.html
</LocationMatch>
<Directory /usr/share/httpd/noindex>
AllowOverride None
Require all granted
</Directory>
Alias /.noindex.html /usr/share/httpd/noindex/index.html
Steps to stops Red Hat Enterprise Linux Test Page:
01. Comment each line in file /etc/httpd/conf.d/welcome.conf
02. # reboot
Comments
Post a Comment