일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- mariadb upgrade
- PHP 구글 OTP 연동
- bootstrap
- 비밀번호정규식
- 비밀번호검증정규식
- (using password: YES)" when trying to connect
- 파라미터 & 오류
- mysqldump: Got error: 1045
- apple push notification service (apns) is changing
- PHP 구글 OTP 인증
- 자바스크립트비밀번호검증
- group_concat 구분자
- 유튜브 플레이 리스트 저장
- postfix 설치
- PHP 정규식 예제
- 윈도우 mod_security2
- html pdf 변환
- mod_security2 설치
- sha-2 root
- javascript
- 윈도우 환경 아파치 mod_security2 설치
- php 배열제거
- 아파치 웹 서버의 정보 숨기기
- bootstrap modal
- httpd.conf 보안 설정
- modsecurity 설치
- 숫자 3자리(천단위) 마다 콤마 찍기
- php 이미지 url 검증 함수
- wsl2 우분투에 docker 설치
- usb efi 시스템 파티션 삭제
- Today
- Total
목록2025/04 (8)
투덜이 개발자
JetBrains PhpStorm세팅 Github 계정으로 동기화 Github 계정으로 동기화젯브레인 계정으로 하기에는 찝찝하면, 개발자라면 하나씩은 들고 있는 깃헙 계정으로 직접 리포지토리를 생성하여 설정들을 파일로 백업하여 동기화 할 수 있다.다만 깃헙 계정으로 동기화하는 것은 IDE 설정은 적용되지만 확장 플러그인은 동기화가 안된다는 단점이 있다. 1. 파일 → IDE 설정 관리 → 설정 저장소(setting repository) 그러면 깃헙 레포지토리 URL 입력창이 나오는데, 인텔리제이 설정 파일을 보관할 원격 저장소를 깃헙에 가서 따로 생성 해준다. 2. 깃헙에서 인텔리제이 설정 저장할 레포지터리 생성 3. 깃헙 레포지터리 주소 등록 4. 깃헙 토큰을 발급받고 인텔리제이에 등록 ..
라라벨 10 설치composer create-project laravel/laravel:^10.0 laravel10 라라벨 11 설치composer create-project laravel/laravel:^11.0 laravel11 Docker WSL 2 Ubuntu php laravel Install WSL(우분투) 환경에 Laravel(라라벨) 11 설치
🐳 WSL2 우분투에 Docker 설치 (Docker Desktop 없이)1️⃣ 기존 설치 흔적 제거 (선택)sudo apt remove docker docker-engine docker.io containerd runc2️⃣ 필수 패키지 설치sudo apt updatesudo apt install -y ca-certificates curl gnupg lsb-release3️⃣ Docker 공식 GPG 키 등록sudo mkdir -p /etc/apt/keyringscurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg 4️⃣ Docker 저장소 추가echo \ "d..
🛡️ 1. Apache 보안 설정 .conf 예시# 파일 위치 예시: /etc/apache2/conf-available/security.conf# 또는 httpd.conf, apache2.conf 등 포함되는 곳에 설정# TRACE 메서드 비활성화TraceEnable Off# 최소한의 Server 헤더만 노출ServerTokens Prod# 오류 페이지 하단 정보 제거ServerSignature Off# mod_security가 설치되어 있는 경우 - 응답 헤더 위장 SecRuleEngine On SecDefaultAction "deny,phase:2,status:403" SecServerSignature "TestServer"# 디렉터리 리스팅 방지 Options -Indexes..
PC 용량이 부족할 때 일반적으로 큰 용량을 차지하는 "pagefile.sys", "hiberfil.sys" 2가지 파일 삭제 방법 https://m.blog.naver.com/myjsh13/223624248811 PC 용량 부족할 때 pagefile.sys와 hiberfil.sys 파일 삭제 방법안녕하세요 상기입니다. 오늘은 PC 용량이 부족할 때 일반적으로 큰 용량을 차지하는 "pagefile.sys...blog.naver.com

적용환경운영체체 : 윈도우 11아파치 버전 : Server version: Apache/2.4.62 (Win64) Apache Lounge VS17 Server built 1. mod_security 설치mod_security-2.9.8-win64-VS17.zip 파일 다운도르다운로드 : https://www.apachelounge.com/download/VS17/modules/mod_security-2.9.8-win64-VS17.zip 압축을 풀어서 - yajl.dll 설치 apache24/bin 디렉토리에 yajl.dll 복사 - mod_security2.so 설치 apache24/modules 디렉토리에 mod_security2.so 복사 2. owasp-modsecurity-crs 설치owasp-..

apache mod rewrite Apache에서 mod_rewrite 모듈이 활성화되어 있는지 확인하려면 아래 방법을 사용하시면 됩니다. 모듈이 활성화 확인Ubuntu/Debian 계열apache2ctl -M | grep rewrite출력에 rewrite_module이 보이면 활성화된 상태입니다: rewrite_module (shared) CentOS/RHEL 계열httpd -M | grep rewrite 모듈이 비활성화된 경우 활성화 방법Ubuntu/Debian 계열sudo a2enmod rewritesudo systemctl restart apache2CentOS/RHEL 계열 보통 /etc/httpd/conf/httpd.conf에서 다음 줄이 주석 처리되어 있다면 해제하면 됩니다:LoadMod..
* 첫번째class ImageValidator { public static function httpImageUrl($url) { if (strpos($url, 'http://') === false and strpos($url, 'https://') === false) { $url = _WEB_BASE_DIR . $url; } return $url; } // 이미지 url 체크 public static function isImageUrlValid($imageUrl): bool { $imageUrl = self::httpImageUrl($imageUrl); // echo "imageUrl : {$imageUrl} "; $headers = @get_headers($imageUrl); ..