Subversion Repositories Koakuma

Rev

Rev 2 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 nishi 1
# $Id: apache.conf.in 3 2024-10-01 14:31:23Z 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
17
</Location>
18
<Location /koakuma/rpc/prefix>
19
	Require all granted
20
</Location>
2 nishi 21
ScriptAlias /koakuma @@PREFIX@@/lib/koakuma/cgi-bin/koakuma.cgi
22
 
23
RewriteEngine on
24
RewriteRule ^/$ /koakuma [END,NE,R=permanent]