xampp 가상호스트 접근거부됨 오류 해결 > Linux

STUDY ROOM

Linux

xampp 가상호스트 접근거부됨 오류 해결

페이지 정보

작성자 JMStudy 작성일17-10-28 18:44 조회9,169회 댓글0건

본문

XAMPP 최근버전 설치후 가상호스트 사용하기위한 셋팅 정보를 알려드립니다.
가상호스트 설정후 접근거부됨 403 에러날경우


httpd.conf 에서  아래와 같이 수정

<Directory />

    AllowOverride none

    #Require all denied

    Require all granted

</Directory>


혹은 

httpd-vhots.conf 파일에서 가상호스트 설정시 Directory 설정을 아래와같이 추가하면 해결됨.
DocumentRoot "C:/home/jmstudy"
ServerName web.jmstudy

Allow from all
Require all granted

댓글목록

등록된 댓글이 없습니다.