You are on page 1of 2
1a2021 Document 2690822.1 Copyright (¢) 2021, Oracle, Al rights reserved, Oracle Confident How To Make The Oracle HTTP Server To Stop Sho 1g The Directory List? (Doc ID 2699822.1) In this Document Goal Solution Oracle HTTP Server - Version 11.1.1,9.0 to 12.2.1.4.0 [Release Oraclelig to 12c] Information in this document applies to any platform. How to avoid viewing the content of a directory when called from an URL? For example: https://:// Index of / Parent Directory file_a/ file_b/ file_c/ directory_2/ To avoid viewing the content of the directory from the URL, please perform these steps: 1) Create a file named index.htm into this directory: ‘ 2) Copy the following lines inside that new file:

You are not authorized to view this page! Save the index.html file. 3) Make a backup copy of the httpd.conf file, 4) Edit the $INSTANCE_HOME/config/OHS/ohs1/httpd.conf fle and make ensure these lines are enabled: LoadModule autoindex_module "${ORACLE_HOME}/ohs/modules/mod_autoindex.so" LoadModule alias_module "${ORACLE_HOME}/ohs/modules/mod_alias.so" itps1/suppor oracle. comlepmosifaces/DocumentDisplay?_adfctt-stato=y9}sals_ 4478id=2688822.1 42 1a2021 Document 2690822.1 5) Add these lines: Alias // "FULL_DIRECTORY_PATH/" Directoryindex index.html Options Multiviews AllowOverride None Order allow,deny Allow from all :// You are not authorized to view this page! Didnt find what you are looking for? itps1/suppor oracle. comlepmosifaces/DocumentDisplay?_adfctt-stato=y9}sals_ 4478id=2688822.1 22

You might also like