Subversion Repositories Koakuma

Rev

Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 4
Line 1... Line 1...
1
# $Id: apache.conf.in 3 2024-10-01 14:31:23Z nishi $
1
# $Id: apache.conf.in 4 2024-10-01 15:42:33Z 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
Line 12... Line 12...
12
<Location /koakuma/rpc>
12
<Location /koakuma/rpc>
13
	AuthType basic
13
	AuthType basic
14
	AuthName "Koakuma RPC"
14
	AuthName "Koakuma RPC"
15
	AuthUserFile @@PREFIX@@/etc/koakuma/passwd
15
	AuthUserFile @@PREFIX@@/etc/koakuma/passwd
16
	Require valid-user
16
	Require valid-user
17
</Location>
-
 
18
<Location /koakuma/rpc/prefix>
-
 
19
	Require all granted
17
	Require ip 127.0.0.1 ::1
20
</Location>
18
</Location>
21
ScriptAlias /koakuma @@PREFIX@@/lib/koakuma/cgi-bin/koakuma.cgi
19
ScriptAlias /koakuma @@PREFIX@@/lib/koakuma/cgi-bin/koakuma.cgi
22
 
20
 
23
RewriteEngine on
21
RewriteEngine on
24
RewriteRule ^/$ /koakuma [END,NE,R=permanent]
22
RewriteRule ^/$ /koakuma [END,NE,R=permanent]