.htaccess 생성기
Apache용 .htaccess 파일 생성. HTTPS 리다이렉트, 브라우저 캐시, gzip 압축을 지원합니다. 무료, 가입 불필요, 바로 배포 가능.
리다이렉트
모든 HTTP 트래픽을 HTTPS로 리다이렉트.
non-www를 www로 리다이렉트.
www를 non-www로 리다이렉트.
Performance
HTML, CSS, JS, SVG 및 기타 텍스트 파일 압축.
정적 자산에 대한 긴 캐시 만료 설정.
Security
디렉토리 내용이 나열되지 않도록 방지.
Custom Error Pages
404 오류에 대해 사용자 정의 페이지 표시.
참조
.htaccess란?
.htaccess is a distributed server configuration file for Apache HTTP Server. It enables per-directory configuration without touching the main server config. Widely used on shared hosting for URL rewriting, redirects, security rules, and performance optimizations.
Required Apache modules
mod_rewrite — URL rewriting and redirects. mod_deflate — GZIP compression. mod_expires — browser caching headers. mod_headers — custom HTTP response headers. These modules are enabled by default on most shared hosting providers.
Privacy
All rules are generated 100% in your browser. Nothing is sent to any server.