<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>think-t</author_name>
  <author_url>https://blog.hatena.ne.jp/think-t/</author_url>
  <blog_title>think-t の晴耕雨読</blog_title>
  <blog_url>https://think-t.hatenablog.com/</blog_url>
  <categories>
    <anon>Apache</anon>
    <anon>TIPS</anon>
  </categories>
  <description>先日これで軽くハマったので備忘的に。 Apacheでベーシック認証を行う場合、「htpasswd」コマンドで パスワードファイルを作成します。 8文字以上のパスワードを付けたい場合は、「-m」オプションを付けて、 パスワードの暗号化アルゴリズムをMD5にする事。 例： # htpasswd -c -m [パスワードファイル] [ユーザー名] 理由は何も指定しないとデフォルトの暗号化アルゴリズムに cryptが使われるから。 頑張ってソースコードを見てみました。 (httpd-2.2.17/support/htpasswd.cのmkrecord関数内) 204 #if !(defined(WIN…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthink-t.hatenablog.com%2Fentry%2F20101109%2F1289319334&quot; title=&quot;htpasswdで8文字以上のパスワードを設定する - think-t の晴耕雨読&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-11-09 01:15:34</published>
  <title>htpasswdで8文字以上のパスワードを設定する</title>
  <type>rich</type>
  <url>https://think-t.hatenablog.com/entry/20101109/1289319334</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
