/
ubuntu apache httpd
ubuntu apache httpd
설치
sudo apt-get update sudo apt-get install apache2
설정
설정 파일 경로
/etc/apache2/
가상 호스트
/etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80> ServerName ubuntu.example.com ServerAdmin webmaster@localhost DocumentRoot /var/www/html # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined #Include conf-available/serve-cgi-bin.conf </VirtualHost>
module
/etc/apache2/conf-enabled/
재시작
service apache2 restart
log 경로
/var/log/apache2
tail -f /var/log/apache2/access.log
, multiple selections available,
Related content
apache httpd 와 weblogic 연동
apache httpd 와 weblogic 연동
More like this
RHEL/CentOS 와 Amazon Linux 에 php 7 설치
RHEL/CentOS 와 Amazon Linux 에 php 7 설치
More like this
tomcat 세션 클러스터링 설정
tomcat 세션 클러스터링 설정
More like this
디렉터리 목록 비활성화
디렉터리 목록 비활성화
More like this
apache httpd 에 SSL/HTTPS 적용 및 VirtualHost 에 SNI(Server Name Indication) 문제 해결
apache httpd 에 SSL/HTTPS 적용 및 VirtualHost 에 SNI(Server Name Indication) 문제 해결
More like this
wordpress 설치시 'Error establishing a database connection' 에러 처리
wordpress 설치시 'Error establishing a database connection' 에러 처리
More like this