ORACLE Database / WAS (iAS) / SQL 자료실 - 포기하지 않으면 실패하지 않는다!
Vote Reply Modify Delete Forward Prev Next List

  Author   : 조성환 [ ladmin ] Vote: 1519, Hit: 4111, Lines: 69, Category: Etc.
ias 에서 웹사이트 디렉토리 구조 열람 방지 설정 해제 (Apache Webserver)

Oracle 10g AS 에서 웹서비스시 디렉토리 구조를 열람할수 있게 하는 방법은 다음과 같습니다.

(참고로 아래 방법은 DocumentRoot 디렉토리 이하 모든 디렉토리를 해제하는 방법입니다.)


Oracle Application Server (EM) 에서 HTTP_Server  >  고급 서버 등록정보  >  httpd.conf 파일을 엽니다.

아래 부분을 찾아 옵션에 Indexes 를 넣어줍니다.



(변경전)

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
# DocumentRoot "/oracle/as10g_101202/j2ee/home/default-web-app"
DocumentRoot "/oracle/web-app/home"

#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# permissions.  
#
<Directory />
   Options FollowSymLinks MultiViews
   AllowOverride None
</Directory>




(변경후)

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
# DocumentRoot "/oracle/as10g_101202/j2ee/home/default-web-app"
DocumentRoot "/oracle/web-app/home"

#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# permissions.  
#
<Directory />
   Options Indexes FollowSymLinks MultiViews
   AllowOverride None
</Directory>




이렇게 저장 하신후 Apache 웹서버 데몬을 restart 하시면 웹상에서 디렉토리 구조를 볼수 있습니다.



Prev: Oracle LOB의 종류 및 응용 SQL
Next: How to Change ias_admin Password in 9iAS rel2 (강추)
2007/08/16(10:52) from 203.234.120.78
CrazyWWWBoard 2000

Vote Reply Modify Delete Forward Prev Next List
(c) Nobreak Technologies, Inc.