Rev 2 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: apache.conf.in 3 2024-10-01 14:31:23Z 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
</Location>
<Location /koakuma/rpc/prefix>
Require all granted
</Location>
ScriptAlias /koakuma @@PREFIX@@/lib/koakuma/cgi-bin/koakuma.cgi
RewriteEngine on
RewriteRule ^/$ /koakuma [END,NE,R=permanent]