# c:\saku にインストールされていると仮定します。
# ホスト名を zama.hopto.org と仮定します。
# ローカルでは 192.168.1.2 だと仮定します。
ServerAdmin webmaster@zama.hopto.org
DocumentRoot c:/saku/www
ServerName zama.hopto.org
ServerAlias zama.hopto.org
ErrorLog c:/saku/log/shingetsu.error.log
CustomLog c:/saku/log/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 ^$ http://192.168.1.2:8000/gateway.cgi [P]
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/ c:/saku/file/
#
# Options -Indexes -ExecCGI
#
Alias /CACHE/ c:/saku/file/cache/
Options -Indexes -ExecCGI
#
# ServerAdmin webmaster@shingetsu.info
# DocumentRoot /srv/www/shingetsu
# ServerName node.shingetsu.info
#
# RedirectMatch ^/$ http://shingetsu.info/
#
#