WebTools
전체 도구
🇺🇸
EN
🇯🇵
JA
🇨🇳
ZH
🇰🇷
KO
홈
/
도구 목록
/
.htaccess 생성기
.htaccess 생성기
리디렉션, 인증 등을 위한 Apache .htaccess 규칙을 생성합니다.
Force HTTPS
Force www
Remove www
Enable Gzip
Browser Caching
Index file
404 page
.htaccess output
Options -Indexes DirectoryIndex index.php ErrorDocument 404 /404.html # Force HTTPS RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Remove www RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,R=301] # Enable Gzip <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/json </IfModule> # Browser Caching <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/webp "access plus 1 year" ExpiresByType text/css "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" </IfModule>
Copy .htaccess
관련 도구
Nginx 설정 생성기
tsconfig.json 생성기
.eslintrc 생성기
UUID 생성기
이 도구에 대해
리디렉션, 인증 등을 위한 Apache .htaccess 규칙을 생성합니다.