Wednesday, 19 May 2021

How To Turn Off OHS Welcome Page In FMW12c

 

                                


Turn Off OHS Welcome Page In FMW12c

Applies to :-

Oracle HTTP Server - Version 12.2.1.2.0 and later.

Accessing http://localhost:7777 displays the default OHS page, we need to disable this due to some security vulnerabilities reported.



Solution :-

1. Edit the file  httpd.conf from below location to add the entry at bottom of file. 

$ORACLE_HOME/user_projects/domains/<domain>/config/fmwconfig/components/OHS/ohs1/httpd.conf 

Add below entry :-

            <Location />
                 Options -Indexes
                 DirectoryIndex disabled
            </Location>


2. Restart OHS server to see the effect



thank you !! 


No comments:

Post a Comment