🔧
.htaccess 生成器
ネットワークと運用 · 無料オンラインツール
リダイレクト/キャッシュ/認証の .htaccess ルールを生成。
CoderNewbie チーム
Common Options
Rules
.htaccess
# .htaccess
# Generated by codernewbie.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Redirects & Rewrites
RewriteEngine On
Redirect 301 /old-page.html /new-page.html
# Block access to dotfiles
<FilesMatch "^\.">
Require all denied
</FilesMatch>
# Custom error pages
ErrorDocument 404 /404.html
ErrorDocument 403 /403.html
ErrorDocument 500 /500.html
Apache mod_rewrite
Apache HTTP Server 用の RewriteRule と Redirect ディレクティブを生成。
複数リダイレクトコード
ルールごとに 301、302、307、308 ステータスコードをサポート。
アップロード準備完了
ファイルを .htaccess としてダウンロードしてサイトルートにアップロード。
.htaccess 生成器の使い方
- 1Enter the URL, IP address, or network parameter to look up.
- 2Click the lookup or test button.
- 3Review the detailed results in the output panel.
- 4Use the information for your network operations.
機能と特徴
- ✓完全無料 — 登録不要、サブスクリプションなし、広告なし
- ✓ブラウザ上で完全に動作 — データは端末から送信されません
- ✓高速・軽量 — 即座に結果を表示
- ✓クロスプラットフォーム — デスクトップ・タブレット・モバイル対応
よくある質問
Are network lookups real-time?
Yes, IP lookups, DNS queries, and HTTP tests perform live network requests to provide current data.
Is my IP address logged?
The IP Lookup tool queries public geolocation APIs. We do not store your IP address or lookup history.