File: dot.htaccess

package info (click to toggle)
tdiary 5.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,088 kB
  • sloc: ruby: 23,031; javascript: 1,029; xml: 325; makefile: 26; sh: 4
file content (35 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (7)
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>