/usr/share/tdiary/dot.htaccess is in tdiary 3.2.2-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 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.
# SEE header of html_anchor.rb plugin.
AddHandler cgi-script .rb
DirectoryIndex index.rb
AddType application/xml .rdf
<Files "*.rhtml*">
deny from all
</Files>
<Files "tdiary.*">
deny from all
</Files>
<Files update.rb>
AuthName tDiary
AuthType Basic
AuthUserFile /home/foo/.htpasswd
Require user foo
</Files>
<Files squeeze.rb>
AuthName tDiary
AuthType Basic
AuthUserFile /home/foo/.htpasswd
Require user foo
</Files>
|