Subversion Repositories Koakuma

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

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