Here we will see how to disable defaut welcome page in OHS. It is a non complaince to disclose the sever information to the user .Hence we need to fix it . below are the 2 possible way . Default page is https://IP:port/ this will give a welcome page.
1. To completely disable, follow the steps:
Edit $ORACLE_HOME/user_projects/domains/<domain>/config/fmwconfig/components/OHS/ohs1/httpd.conf and set as follows:
II. With the below configuration in $ORACLE_HOME/user_projects/domains/<domain>/config/fmwconfig/components/OHS/ohs1/httpd.conf, OHS will serve index.html from any directory that is been requested.
If you do not want to see the default “index.html” page, you may consider below options:
1. Replace index.html page with your desired content.
2. Use below directive inside the htdocs directory configuration to set your own custom page:
Copy the custom.html page to htdocs location.
3.If we dont want the page either perminently delete also can .