Rev 3 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: apache.conf.in 4 2024-10-01 15:42:33Z nishi $
# vim: syntax=apache
DocumentRoot @@PREFIX@@/lib/koakuma/htdocs
<Directory @@PREFIX@@/lib/koakuma/htdocs>
Require all granted
</Directory>
<Directory @@PREFIX@@/lib/koakuma/cgi-bin>
Options +ExecCGI
Require all granted
</Directory>
<Location /koakuma/rpc>
AuthType basic
AuthName "Koakuma RPC"
AuthUserFile @@PREFIX@@/etc/koakuma/passwd
Require valid-user
Require ip 127.0.0.1 ::1
</Location>
ScriptAlias /koakuma @@PREFIX@@/lib/koakuma/cgi-bin/koakuma.cgi
RewriteEngine on
RewriteRule ^/$ /koakuma [END,NE,R=permanent]