<!-- Hiawatha Web-Server. 2000 (c) Paul Tchistopolskii. http://www.pault.com Simple Hiawatha config. See also pault_com.cfg. --> <config> <PORT> 8080 </PORT> <WORKERS> 10 </WORKERS> <RELOAD-CONFIG> true </RELOAD-CONFIG> <DEBUG> true </DEBUG> <LOG dest="#file"> /var/log/hiawatha.log </LOG> <CONST name="R"> @PREFIX@/share/examples/hiawatha/WEBROOT </CONST> <RULE url="*/*.gif" action="#dump" mime="image/gif"> $R$/images/$2$.gif </RULE> <RULE url="*/*.jpg" action="#dump" mime="image/jpeg"> $R$/images/$2$.jpg </RULE> <RULE url="*/*.css" action="#dump" mime="text/css"> $R$/css/$2$.css </RULE> <RULE url="*.html" action="#dump" mime="text/html"> $R$$0$ </RULE> <RULE url="/plain*.xml" action="#xsl" mime="text/html"> $R$$1$-plain $R$$1$.xml </RULE> <RULE url="/plain*" action="#xsl" mime="text/html"> $R$$1$/index-plain $R$$1$/index.xml </RULE> <RULE url="*.xml*" action="#xsl" param="$2$" mime="text/html"> $R$$1$ $R$$1$.xml </RULE> <RULE url="*" action="#xsl" mime="text/html"> $R$$1$/index $R$$1$/index.xml </RULE> <PERM prefix="$R$" access="#allow"/> </config>