X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=doc%2Fpatplex.doc;h=2d9acbd4209a2504df101109ad3f1404aaed862f;hb=aa7e44069384016c57c417904bb45f6fa554981a;hp=657bd45c9af9e2c57d7bf13cba87e13004a3f6e3;hpb=1406acb56481b06889f6a1aa1d331f48e7150059;p=ashd.git diff --git a/doc/patplex.doc b/doc/patplex.doc index 657bd45..2d9acbd 100644 --- a/doc/patplex.doc +++ b/doc/patplex.doc @@ -46,9 +46,9 @@ Should the global and the given configuration files conflict, the directives from the given file take precedence. The configuration files follow the same general format as for -*dirplex*(1), though the recognized stanzas differ. The *child* and -*fchild* stanzas are also shared with *dirplex*(1), so see its manpage -for a description thereof. +*dirplex*(1), though the recognized stanzas differ. The *child*, +*fchild* and *include* stanzas are also shared with *dirplex*(1), so +see its manpage for a description thereof. *patplex* recognizes the *match* stanza, which takes no arguments, but must contain at least one follow-up line to specify match rules. All @@ -135,6 +135,17 @@ Additionally, a *match* stanza may contain a *restpat* line: If no *match* stanza matches, a 404 response is returned to the client. +SIGNALS +------- + +SIGHUP:: + + Reread the given configuration file (but not the global + file). If any named handlers, as specified by *child* stanzas, + are currently running and have stanzas with matching names in + the new file, they are left running for those stanzas (even if + the *exec* line has changed). + EXAMPLES -------- @@ -145,7 +156,7 @@ them. -------- child root - exec sudo -u www-data dirplex /srv/www/htdocs + exec sudo -u www-data dirplex /srv/www child userdir exec userplex -g users match @@ -173,7 +184,7 @@ match # Use the last level of the domain name to enter a subdirectory. match header host ^([^.]*)\\.multi\\.org$ is - restpat $1$_ + restpat $1/$_ handler site-multi --------