반응형
설명
- /home/ubuntu/deploy/resources 하위 디렉토리가 서비스 대상임
- GET, POST 요청에 대해서만 허용하도록 설정
httpd.conf 파일 수정
- 경로 : <아파치경로>/conf/httpd.conf
- 아래 내용 추가
DocumentRoot "/home/ubuntu/deploy/resources"
<Directory "/home/ubuntu/deploy/resources">
AllowOverride None
Allow from all
Require all granted
<LimitExcept GET POST>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
반응형
'Development > Apache & Tomcat' 카테고리의 다른 글
[Apache] SSL 설정(Let's Encrypt) (0) | 2018.03.27 |
---|---|
[Apache] Log Rotation 적용 (0) | 2018.03.27 |
[Apache] 에러 페이지 설정 (0) | 2018.03.27 |
[Apache] 명령어 (0) | 2018.03.27 |
[Apache] 2.2.x 버전 설치 (0) | 2018.03.27 |