Mercurial > hg > Members > toma > mighty
view example.route @ 2:3a090e9b9816 default tip
add README
author | Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 11 Feb 2014 10:14:01 +0900 |
parents | beab26065b3c |
children |
line wrap: on
line source
# Example routing for Mighttpd 2 # Domain lists [localhost bldsv12.cr.ie.u-ryukyu.ac.jp] # Entries are looked up in the specified order # All paths must end with "/" # A path to CGI scripts should be specified with "=>" # /~alice/cgi-bin/ => /home/alice/public_html/cgi-bin/ # A path to static files should be specified with "->" # /~alice/ -> /home/alice/public_html/ # /cgi-bin/ => /export/cgi-bin/ # Reverse proxy rules should be specified with ">>" # /path >> host:port/path2 # Either "host" or ":port" can be committed, but not both. # /app/cal/ >> example.net/calendar/ # Yesod app in the same server # /app/wiki/ >> 127.0.0.1:3000/ / -> /home/amothic/mighty/index/