# This configuration file should be uploaded to the server as "<Application Folder>/Build/.htaccess"# NOTE: "mod_mime" Apache module must be enabled for this configuration to work.<IfModule mod_mime.c>
# The following lines are required for builds without decompression fallback, compressed with gzipRemoveType .gzAddEncoding gzip .gzAddType application/octet-stream .data.gzAddType application/wasm .wasm.gzAddType application/javascript .js.gzAddType application/octet-stream .symbols.json.gz
# The following lines are required for builds without decompression fallback, compressed with Brotli
RemoveType .br
RemoveLanguage .br
AddEncoding br .br
AddType application/octet-stream .data.br
AddType application/wasm .wasm.br
AddType application/javascript .js.br
AddType application/octet-stream .symbols.json.br
# The following line improves loading performance for uncompressed builds
AddType application/wasm .wasm
# Uncomment the following line to improve loading performance for gzip-compressed builds with decompression fallback
# AddEncoding gzip .unityweb
# Uncomment the following line to improve loading performance for brotli-compressed builds with decompression fallback
# AddEncoding br .unityweb
</IfModule>
두 파일을
"/Applications/XAMPP/xamppfiles/etc/myCert"에 복사(myCert 폴더 생성)
XAMPP(7.2.34) -> xamppfiles -> etc -> extra -> httpd-ssl.conf를 텍스트 편집기로 실행
SSLCertificateFile "/Applications/XAMPP/xamppfiles/etc/ssl.crt/server.crt"
SSLCertificateKeyFile "/Applications/XAMPP/xamppfiles/etc/ssl.key/server.key"
를
SSLCertificateFile "/Applications/XAMPP/xamppfiles/etc/myCert/minica.pem"
SSLCertificateKeyFile "/Applications/XAMPP/xamppfiles/etc/myCert/minica-key.pem"
로 수정
https://localhost/project로 들어가면 VR버튼 활성화됨.
Quest의 경우,
terminal -> ifconfig -> CSUM> 아래에 ip 192.168.1.xx
https://192.168.1.xx/project로 접속
[References]
https://brewagebear.github.io/https-apply-localhost/
https://marobiana.tistory.com/151