etc: Add environment option to run init.d/ashd silently.
[ashd.git] / examples / vhosts / patterns.conf
... / ...
CommitLineData
1# Sample virtual host configuration. See the patplex(1) manual page
2# for further details on the configuration format.
3
4match
5 # Match localhost specifically. Note that the Host header may
6 # include a port specification, which is optionally matched by the
7 # end of the regex.
8 header host ^localhost(:[0-9]+)?$ i
9 handler localhost
10
11child localhost
12 # The child specification called when the localhost pattern
13 # matches. Simply run dirplex(1) in the subdirectory `localhost'.
14 exec dirplex localhost
15
16match
17 # Catch-all pattern for all requests not specifically directed at
18 # localhost.
19 default
20 handler default
21
22child default
23 exec dirplex default-site