# $Id$
# vim: syntax=apache
DocumentRoot @@PREFIX@@/lib/koakuma/htdocs
Require all granted
Options +ExecCGI
Require all granted
AuthType basic
AuthName "Koakuma RPC"
AuthUserFile @@PREFIX@@/etc/koakuma/passwd
Require valid-user
Require ip 127.0.0.1 ::1
ScriptAlias /koakuma @@PREFIX@@/lib/koakuma/cgi-bin/koakuma.cgi
RewriteEngine on
RewriteRule ^/$ /koakuma [END,NE,R=permanent]