ServerAdmin webmaster@shingetsu.info
DocumentRoot /srv/www/shingetsu
ServerName bbs.shingetsu.info
ServerAlias bbs.shingetsu.info
ErrorLog /var/log/apache2/shingetsu.error.log
CustomLog /var/log/apache2/shingetsu.access.log combined
RewriteMap escape int:escape
Include /etc/apache2/acl
Options -Indexes -ExecCGI
AddType text/xml;charset=UTF-8 .rdf
RewriteEngine on
RewriteRule gateway.cgi/rss rss.rdf
RewriteRule server.cgi - [F]
RewriteRule ^([^/]*).js$ /STATIC/$1.js
RewriteRule ^([^/]*).css$ /STATIC/$1.css
RewriteRule favicon.ico /STATIC/favicon.ico
RewriteRule rss1.xsl /STATIC/rss1.xsl
RewriteRule ^thread.cgi/(thread_[0-9A-F]*)/([0-9a-f]*)/([0-9]*).(.*) \
/CACHE/$1/attach/$3_$2.$4
RewriteRule gateway.cgi(.*) \
http://192.168.1.2:8000/gateway.cgi${escape:$1} [P,NE]
RewriteRule thread.cgi(.*) \
http://192.168.1.2:8000/thread.cgi${escape:$1} [P,NE]
Alias /STATIC/ /usr/local/share/saku/www/
Options -Indexes -ExecCGI
Alias /CACHE/ /var/local/spool/saku/
Options -Indexes -ExecCGI
ServerAdmin webmaster@shingetsu.info
DocumentRoot /srv/www/shingetsu
ServerName node.shingetsu.info
RedirectMatch ^/$ http://shingetsu.info/