.htaccessで下層ディレクトリのBasic認証を外す【メモ】

NO IMAGE

/webroot
 ├.htaccess(★1)
 ├index.html
 ├/img
 ├/showing
  ├.htaccess(★2)
  ├index.html
 ├・・・

みたいな構成の時、
webroot直下はBasic認証かけて(★1のファイルで)、
showingディレクトリ以下はBasic認証かけたくないとき。

★2の.htaccessに以下のように記述する。
——————————————————
Satisfy any
order allow,deny
allow from all
——————————————————

IT関係カテゴリの最新記事