File: dot.htaccess

package info (click to toggle)
tdiary 2.0.2%2B20060303-5
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 8,172 kB
  • ctags: 1,957
  • sloc: ruby: 23,926; lisp: 514; makefile: 87; sh: 71; sql: 32
file content (26 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (4)
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
Options +ExecCGI

# if you run tDiary with symbolic link, use settings below.
#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

<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>