1 # Example ``/etc/rws/hosts/<<HOSTNAME>>'' configuration file. You
2 # need one of these files for every virtual host you serve (although
3 # you can use symbolic links to save time) plus one file called ``default''
4 # which is used for when the client doesn't send a ``Host:'' HTTP header.
9 # Path to the document root.
10 path: @pkgdatadir@/html
12 # Allow files to be viewed.
15 # Do directory listings.
19 # Example CGI directory.
23 path: /path/to/cgi/scripts
25 # Allow CGI scripts to be executed in here. Note that
26 # show and list are both off by default.
32 # Example shared object scripts directory (see doc/index.html).
36 path: @pkgdatadir@/so-bin
38 # Allow shared object scripts to be executed in here. Note
39 # that show and list are both of by default.
45 # For Monolith, you need these aliases.
48 path: @pkgdatadir@/ml-styles
53 path: @pkgdatadir@/ml-icons
57 # Rewrite rules applying to this host.
61 # Rules apply in order. Use 'last' flag on a rule to cause execution
62 # to finish at that rule if it matches.
64 # Simple rewrite rule (external: the browser gets a redirect instruction).
65 #^/default.html$ /index.html external
67 # Simple rewrite rule (internal: browser is unaware of the redirect).
68 #^/default.html$ /index.html
70 # Monolith parsed pages (demonstrating the use of $1, $2, ... placeholders).
71 # 'qsa' appends the original query string (if any) to the end of the
73 #^/annexia/(.*\.msp)$ /so-bin/msp.so?page=$1 last,qsa
74 #^/annexia/$ /annexia/index.msp qsa,external
75 #^/annexia/(.*)/$ /annexia/$1/index.msp qsa,external
77 # Conditional rewrite rules are not yet implemented.
81 # msp root: /home/rich/annexia
82 # msp database: dbname=rich
83 # monolith user database: dbname=rich
84 # chatbot database: dbname=rich