curl command
# Operation System/Linux2022. 9. 21. 08:09curl command

cURL은 FTP, 고퍼(Gopher), HTTP, HTTPS, SCP, LDAP등 다양한 통신규악을 지원하는 명령줄 방식의 데이터 전송도구이다. download/upload 모두 가능하며 HTTP, HTTPS, FTP, LDAP, SCP, TELNET, SMTP, POP3 등 중요 프로토콜을 지원하며 Linux/Unix 계열 및 Windows 등 중요 OS에서 구동된다. curl command line tool and library for transferring data with URLs (since 1998) Time to donate to the curl project? Everything curl is a detailed and totally free book that explains basica..

아파치 로그포맷 JSON 변경
# Web&WAS/Apache2021. 4. 1. 17:49아파치 로그포맷 JSON 변경

LogFormat "{ \"time\":\"%t\", \"clientip\":\"%a\",\"host\":\"%V\", \"request\":\"%U\", \"query\":\"%q\", \"method\":\"%m\", \"status\":\"%>s\", \"userAgent\":\"%{User-agent}i\", \"referer\":\"%{Referer}i\" }" json_format

아파치  https 리다이렉트 설정
# Web&WAS/Apache2019. 1. 12. 16:20아파치 https 리다이렉트 설정

ssl인증서를 설치했더라도 http로 접속하면 80으로 접속가능하기때문에 http로 접속하더라도 ssl이 적용된 https로 접속하게 할려면 아래와 같이 apache설정을 해야합니다. Virutalhost설정안에 RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} 설정 후 apache재시작을 해주세요. 주의 : rewrite_module이 설치되어 있는지 꼭 확인하세요.

image