Server/Apache (2) 썸네일형 리스트형 Apache 2.2에서 2.4로 마이그레이션 시 발생하는 에러 및 해결책 정리 1. 마이그레이션 1-1. 접근 제어 선언 방식 변경 2.2에서 Order, Allow , Deny 등의 지시자로 하던 접근 제어 설정은 Require 를 이용한 방식으로 변경되어야한다. 1) 모든 요청 거부 # 2.2 설정 Order deny,allow Deny from all # 2.4 설정 Require all denied 2) 모든 요청 허용 # 2.2 설정 Order allow,deny Allow from all # 2.4 설정 Require all granted 3) example.org 허용 나머지 거부 # 2.2 설정 Order Deny,Allow Deny from all Allow from example.org # 2.4 설정 Require all denied Require host ex.. Apache 2.4 설치 1. 설치 준비 1-1. 다운로드 1) apache 다운로드 http://httpd.apache.org/download.cgi 2) pcre 다운로드 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ 3) apr / apr-util 다운로드 https://apr.apache.org/download.cgi 1-2. 압축 해제 1) 파일리스트 $ ls -ll total 25736 -rw-r--r--@ 1 ssingssing2 staff 1093896 7 5 20:10 apr-1.7.0.tar.gz -rw-r--r--@ 1 ssingssing2 staff 554301 7 5 20:11 apr-util-1.6.1.tar.gz -rw-r--r--@ 1 ssingss.. 이전 1 다음