Subversion Repositories Koakuma

Rev

Rev 2 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 3
Line 1... Line 1...
1
# $Id: apache.conf.in 2 2024-10-01 03:45:55Z nishi $
1
# $Id: apache.conf.in 3 2024-10-01 14:31:23Z nishi $
2
# vim: syntax=apache
2
# vim: syntax=apache
3
 
3
 
4
DocumentRoot @@PREFIX@@/lib/koakuma/htdocs
4
DocumentRoot @@PREFIX@@/lib/koakuma/htdocs
5
<Directory @@PREFIX@@/lib/koakuma/htdocs>
5
<Directory @@PREFIX@@/lib/koakuma/htdocs>
6
	Require all granted
6
	Require all granted
7
</Directory>
7
</Directory>
8
<Directory @@PREFIX@@/lib/koakuma/cgi-bin>
8
<Directory @@PREFIX@@/lib/koakuma/cgi-bin>
9
	Options +ExecCGI
9
	Options +ExecCGI
10
	Require all granted
10
	Require all granted
11
</Directory>
11
</Directory>
-
 
12
<Location /koakuma/rpc>
-
 
13
	AuthType basic
-
 
14
	AuthName "Koakuma RPC"
-
 
15
	AuthUserFile @@PREFIX@@/etc/koakuma/passwd
-
 
16
	Require valid-user
-
 
17
</Location>
-
 
18
<Location /koakuma/rpc/prefix>
-
 
19
	Require all granted
-
 
20
</Location>
12
ScriptAlias /koakuma @@PREFIX@@/lib/koakuma/cgi-bin/koakuma.cgi
21
ScriptAlias /koakuma @@PREFIX@@/lib/koakuma/cgi-bin/koakuma.cgi
13
 
22
 
14
RewriteEngine on
23
RewriteEngine on
15
RewriteRule ^/$ /koakuma [END,NE,R=permanent]
24
RewriteRule ^/$ /koakuma [END,NE,R=permanent]