0
나는 test라는 폴더 안에 간단한 웹 사이트가 있으므로 http://localhost/test
을 호출하고 Hello World!
메시지가 나타납니다. HTTPS
모드로 전화하면 같은 메시지가 나타납니다. https://localhost/test
.xampp linux에서 웹 루트를 변경하면 https를 사용하여 연결을 시도 할 때 오류 403이 발생합니다.
문제는 내가 /opt/lampp/htdocs
에서 /home/ubuntu/www
내 웹 루트 htdocs에 디렉토리를 변경 한 후, 나는 여전히 HTTP 링크를 호출하여 안녕하세요 세계 메시지를 볼 수 있어요,하지만 난 HTTPS 링크를 호출 할 때, 내가 갖는 것입니다 :
Access forbidden!
You don't have permission to access the requested
directory. There is either no index document or the directory is
read-protected. If you think this is a server error, please contact
the webmaster. Error 403