Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (25 sloc) 702 Bytes
Options +ExecCGI
# if you run tDiary with symbolic link, use settings below.
#Options FollowSymLinks
# if making anchor style as 'YYYYMMDD.html', use settings below,
# then change 'your_URL_of_index.rb' and use html_anchor.rb plugn.
# But this method makes error into error_log of apache. It is better
# method to use mod_rewrite.
#
#<Files ~ "^([0-9]{4}|[0-9]{6}|[0-9]{8}).html$">
# ErrorDocument 404 your_URL_of_index.rb
#</Files>
AddHandler cgi-script .rb
DirectoryIndex index.rb
<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>
Jump to Line
Something went wrong with that request. Please try again.