https://dndacademy.github.io/link-nuxt/
RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] (구버전)RewriteCond %{HTTP_HOST} !^www\. [NC]RewriteCond %{HTTPS}s ^on(s)|RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]--- 원본https://xetown.com/tips/147293 RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
완성된 모습은 아래 링크에서 확인해보세요 http://dev.webbyist.com/publishing/test1/index.php 헤더 스타일 dev.webbyist.com 로고는 좌측 메뉴는 우측에 나열이 되는 형태로 만들어볼게요 먼저 아래는 스타일링이 전혀 안된 헤더 요소입니다 회사 홈페이지 헤더 메뉴 홈 About Corporation Business Contact Us 찍어보면 아래처럼 나오는데요 a태그에 파란색+라인이 들어가있네요 없앱시다 아래 css코드를 추가하면 되겠죵 a:link, a:visited, a:hover, a:active {color:#333;) 그다음 안에 있는 로고 및 메뉴요소들을 좌측, 우측으로 나열되게 꾸며볼게요 header {display: flex;justify-co..
php // 날짜 형식이 Y/m/d 이렇게 되어야 익스에서 작동 date("Y/m/d H:i:s", strtotime($contents['C_end_date'])) js function calculateRemainTime(endTime, thisObj){ const xmasDay = new Date(endTime); const currDay = new Date(); let diff = xmasDay - currDay; const diffDays = Math.floor((xmasDay.getTime() - currDay.getTime()) / (1000 * 60 * 60 * 24)); diff -= diffDays * (1000 * 60 * 60 * 24); const diffHours = Math.flo..
github.com/gnuboard/gnuboard5/commit/76aabc8f810a58e43473ed3c682dc14b1beaa16e?diff=split
# RewriteCond %{HTTPS} !=on # RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ----------------------------------------------------------------또는 # Rewrite 엔진을 켭니다. RewriteEngine on # HTTP로 요청이 들어오면 RewriteCond %{HTTPS} off # HTTPS로 돌려줍니다. 앞의 .*은 정규식입니다. 맨뒤의 [R=301,L]은 301, 즉 영구 이동한 것으로 리다이렉트를 하고 조건에 따른 룰 적용은 여기서 끝낸다(L)는 뜻입니다. 콤마(,) 사이에 공백을 넣지 마세요. RewriteRule .* https://%{SERVER_NAME}..
1. vsftpd 설치 yum install vsftpd -y 2. vsftpd 설정 확인 (아래 사이트 참고) foxydog.tistory.com/14 anonymous_enable=NO chroot_local_user=YES allow_writeable_chroot=YES 3. vsftpd 활성화/시작/구동확인 systemctl enable vsftpd systemctl start vsftpd ps -ef |grep vsftpd 4. 방화벽설정 vi /etc/sysconfig/iptables # sample configuration for iptables service # you can edit this manually or use system-config-firewall # please do not..
phphttps://megaidc.net/board_kRVd58/24527 https://idroot.us/install-php-7-4-centos-stream-9/ How To Install PHP 7.4 on CentOS Stream 9In this tutorial, we will show you how to install PHP 7.4 on CentOS 9 Stream, as well as some extra required packages by PHPidroot.us https://stackoverflow.com/questions/63080021/php-installation-error-it-is-not-possible-to-switch-enabled-streams-of-a-modul PHP In..
서버 시간 확인 date ftp 설치 yum install vsftpd -y vsftpd 설정 vi /etc/vsftpd/vsftpd.conf anonymous_enable=NO chroot_local_user=YES pasv_enable=YES pasv_min_port=50001 pasv_max_port=50005 allow_writeable_chroot=YES 부팅시 자동 활성 systemctl enable vsftpd 서비스 시작 systemctl start vsftpd 구동확인 ps -ef |grep vsftpd iptables 설정 참고 foxydog.tistory.com/14
php bcrypt 사용 가능 확인 if (defined("CRYPT_BLOWFISH") && CRYPT_BLOWFISH) echo "CRYPT_BLOWFISH is enabled!"; else echo "CRYPT_BLOWFISH is not available"; 사용법 $salt = '$2a$07$R.gJb2U2N.FmZ4hPp1y2CN$'; $passwd = crypt("password", $salt); $2a$ $1$: MD5 $2$: Bcrypt $sha1$: SHA-1 $5$: SHA-256 $6$: SHA-512 간단한 방법 $hash = password_hash($pw, PASSWORD_BCRYPT); $result = password_verify($pw , $hash);
bobosszone.tistory.com/entry/%EC%A0%9C%EC%9D%B4%EC%BF%BC%EB%A6%AC-%EC%A0%84%EC%B2%B4%ED%99%94%EB%A9%B4-%EC%8A%A4%ED%81%AC%EB%A1%A4-fullpagejs
1. 노드js 설치 2. git설치 3. 자바8 32비트 설치 참고 자료 https://m.blog.naver.com/2frame/221523950939 aptana studio 압타나 스튜디오 설치 오류 해결 방법 3종 세트 어찌하다 보니 aptana studio 압타나 스튜디오를 쓰게 되었고, 이젠 이것 없음 정말 일이 안되는 지경에 이... blog.naver.com https://seokk.tistory.com/45 [EDITER] Aptana Studio 3 설치 방법 & Error 조치 APTANA STUDIO 3 INSTALL 방법 & ERROR 조치 Aptana Studio 3 설치하기 위해 사이트로 이동합니다. Aptana Studio 3 Download Site 다음과 같은 사이트에서 ..