File: dot.htaccess

package info (click to toggle)
tdiary 2.0.1-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,220 kB
  • ctags: 1,667
  • sloc: ruby: 20,044; lisp: 476; makefile: 91; sql: 32; sh: 31
file content (34 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
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
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

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