1 # Sample virtual host configuration. See the patplex(1) manual page
2 # for further details on the configuration format.
5 # Match localhost specifically. Note that the Host header may
6 # include a port specification, which is optionally matched by the
8 header host ^localhost(:[0-9]+)?$ i
12 # The child specification called when the localhost pattern
13 # matches. Simply run dirplex(1) in the subdirectory `localhost'.
14 exec dirplex localhost
17 # Catch-all pattern for all requests not specifically directed at
23 exec dirplex default-site