php SSL 적용 (http:// https://로 변경)

2024. 5. 6. 15:23Language/PHP

반응형

httpd-ssl.conf 파일에서 수정


<VirtualHost \_default\_:443>  

#   General setup for the virtual host  
DocumentRoot "프로젝트 폴더 경로"  
ServerName localhost:443  
#ServerAdmin admin@example.com  
#ErrorLog "C:/xampp8/apache/logs/error.log"  
#TransferLog "C:/xampp8/apache/logs/access.log"  

수정할 부분

DocumentRoot "프로젝트 폴더 경로"  
ServerName localhost:443

적용 후 아파치 재시작하기

반응형

'Language > PHP' 카테고리의 다른 글

[PHP] mac에서 docker로 개발환경 만들기(m1)  (0) 2024.05.28
top
bottom