SEO・Webツール
•
無料オンラインツール
HTTP 認証ジェネレーター
Apache および Nginx HTTP 認証用の .htpasswd およびサーバー構成ルールを生成します。
無料で利用
登録不要
ブラウザで利用
オンラインツール
HTTP 認証ジェネレーター
準備完了
Manage Accounts
Protected Directories
Use absolute system paths for
AuthUserFile compatibility.Please solve the captcha first.
.htpasswd Content
How to Setup Password Protection
Step 1: Save the .htpasswd File
Download the .htpasswd file and upload it to your server. It is highly recommended to place this file **outside** your public web directory (e.g., in /home/user/) for security.
Step 2: Apply Server Rules
Download or copy the .htaccess code and place it in the folder you want to protect. If you already have an .htaccess file, append these rules to the top.
Copy the Nginx rules into your site's server or location block within your Nginx configuration file (usually found in /etc/nginx/sites-available/).
Step 3: Restart/Reload
Apache usually picks up .htaccess changes instantly. For Nginx, you must reload the service using: sudo nginx -s reload.
HTTP-auth Generator は、Web サーバーのパスワード保護ファイルを作成する専門的なセキュリティ ユーティリティです。 .htpasswd 資格情報ファイルと、Apache (.htaccess) および Nginx に必要な構成ルールの両方を生成します。さまざまな暗号化タイプのサポートが組み込まれており、サーバーを正しく実装するためのガイドが含まれています。