apm폴더를 들어가서 (ex)C:\APM_Setup\Server\Apache\conf) < -이렇게 들어가서 httpd.conf파일을 메모장으로 열어
아래와같이 수정해준다.
<Directory "C:/APM_Setup/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
APMSET7을 처음 설치하면 디렉토리 및 파일목록을 볼 수가 없는데 다음과 같이 설정을 하면 볼 수 있다.
(1) AMP_Setup 이 설치된 폴더로 이동 합니다.
(2) Server > Apache > conf > httpd.conf 파일을 메모장, 에디트 플러스등 사용하는 편집기로 엽니다.
(3) 178번째 줄에 자신이 설정해 놓은 로컬폴더가 맞나 확인합니다.
(4) 188번째 <Directory />로 시작하는 곳에 보면 Options FollowSymLinks 라고 적혀있는 곳이 있습니다.
그 부분을 Options Indexes FollowSymLinks로 변경해 주고 Allow from all 라고 쓰여있는 부분이 혹시 Deny from all 이라고 쓰여있으면 Allow로 바꿔줘야 합니다.
(5) 205번째 줄에 보면 <Directory “해당경로”> 로 적혀있는 곳도 위의 경로로 맞춰주고 218번째 줄에 보면 4번에서 설명한 것과 같이 Indexes를 넣어줘야 합니다. 또한 231번째 줄에도 마찬가지로 Deny로 되어있지 않은지 확인합니다.
(6) 아파치 서버를 재부팅 하면 끝.
'Security Study > Server(Linux)' 카테고리의 다른 글
| how to change hostname (hostname 바꾸기 ) (1) | 2016.12.23 |
|---|---|
| V3SPA: An Open Source Tool for Visually Analyzing and Diffing SELinux/SE for Android Security Policies (0) | 2016.12.17 |
| ubuntu 디렉토리 리스팅막기 (0) | 2015.12.10 |
| UBUNTU에서 QT다운받기 (0) | 2015.11.16 |
| 서버 접속 메세지, PHPMYADMIN 주소 변경 (0) | 2015.11.11 |