Apache3 [Debian] Apache 모듈 활성화 및 로드된 모듈 확인 1. 모듈 활성화 방법 - sudo a2enmod [모듈명] 예) sudo a2enmod rewrite - sudo systemctl restart apache2 2. 로드된 모듈 확인 방법 - apachectl -M 또는 a2query -m 2022. 2. 4. IE 브라우저 문서모드, 호환성보기 문제 해결(쿼크모드) 1. html 소스 메타태그로 해결 2. Apache 설정 BrowserMatch MSIE ie Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie Header append Vary User-Agent 3. nginx 설정server { #... add_header X-UA-Compatible "IE=Edge,chrome=1"; } 2015. 12. 7. Apache 네임 서버 설정 Apache에 dns, 네임서버를 추가하기 위해서는 아래처럼 하면된다 1단계APACHE_HOME/conf/httpd.conf에 deny 되있는것을 allow로 변경 Options FollowSymLinks AllowOverride None Order deny,allow allow from all 2단계APACHE_HOME/conf/extra/httpd-vhosts.conf 에 아래의 내용 추가 DocumentRoot "/home/www" ServerName domain.com ServerAlia www.domain.com ErrorLog "logs/error_log" CustomLog "logs/access_log" common 3단계/etc/hosts 에 추가127.0.0.1 localhost 111... 2014. 9. 25. 이전 1 다음