• 포트변경
$ vim /etc/apache2/ports.conf


$ service apache2 restart


경로변경


apache2에서 기본문서 경로는 /var/www/html 이다.

  이 폴더를 변경하고 싶으면 /etc/apache2/sites-available/000-default.conf 파일에서 경로 수정



+ Recent posts