From: Debian Ruby Extras Maintainers
 <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Mon, 12 Aug 2013 05:14:55 +0900
Subject: 10_core

---
 dot.htaccess | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dot.htaccess b/dot.htaccess
index b8d452d..a344352 100644
--- a/dot.htaccess
+++ b/dot.htaccess
@@ -1,6 +1,8 @@
 Options +ExecCGI
 
 # if you run tDiary with symbolic link, use settings below.
+# Confirm that /etc/apache/httpd.conf allows these options
+# with AllowOverride.
 #Options +FollowSymLinks
 
 # if making anchor style as 'YYYYMMDD.html', add some settings below.
@@ -25,3 +27,9 @@ AddType application/xml .rdf
 	Require user  foo
 </Files>
 
+<Files squeeze.rb>
+	AuthName      tDiary
+	AuthType      Basic
+	AuthUserFile  /home/foo/.htpasswd
+	Require user  foo
+</Files>
