| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: bozohttpd.8,v 1.70 2018/08/24 11:43:13 martin Exp $ | | 1 | .\" $NetBSD: bozohttpd.8,v 1.71 2018/08/24 14:24:50 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" $eterna: bozohttpd.8,v 1.101 2011/11/18 01:25:11 mrg Exp $ | | 3 | .\" $eterna: bozohttpd.8,v 1.101 2011/11/18 01:25:11 mrg Exp $ |
4 | .\" | | 4 | .\" |
5 | .\" Copyright (c) 1997-2017 Matthew R. Green | | 5 | .\" Copyright (c) 1997-2017 Matthew R. Green |
6 | .\" All rights reserved. | | 6 | .\" All rights reserved. |
7 | .\" | | 7 | .\" |
8 | .\" Redistribution and use in source and binary forms, with or without | | 8 | .\" Redistribution and use in source and binary forms, with or without |
9 | .\" modification, are permitted provided that the following conditions | | 9 | .\" modification, are permitted provided that the following conditions |
10 | .\" are met: | | 10 | .\" are met: |
11 | .\" 1. Redistributions of source code must retain the above copyright | | 11 | .\" 1. Redistributions of source code must retain the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer. | | 12 | .\" notice, this list of conditions and the following disclaimer. |
13 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer in the | | 14 | .\" notice, this list of conditions and the following disclaimer in the |
| @@ -503,27 +503,27 @@ side needs to exactly match a (sub) path | | | @@ -503,27 +503,27 @@ side needs to exactly match a (sub) path |
503 | by the right side. | | 503 | by the right side. |
504 | .Pp | | 504 | .Pp |
505 | The first match always wins. | | 505 | The first match always wins. |
506 | .Pp | | 506 | .Pp |
507 | A | | 507 | A |
508 | .Pa .bzremap | | 508 | .Pa .bzremap |
509 | file could look like this: | | 509 | file could look like this: |
510 | .Bd -literal | | 510 | .Bd -literal |
511 | /nic/update:/auth-dir/updipv4.pl | | 511 | /nic/update:/auth-dir/updipv4.pl |
512 | .Ed | | 512 | .Ed |
513 | .Pp | | 513 | .Pp |
514 | The remap file should be short, access to it is slow and needs to happen | | 514 | The remap file should be short, access to it is slow and needs to happen |
515 | on each request. | | 515 | on each request. |
516 | If a request path needs to include a colon | | 516 | If a request path needs to include a colon |
517 | .Pq Li \&: | | 517 | .Pq Li \&: |
518 | character, it can be escaped | | 518 | character, it can be escaped |
519 | with a backslash | | 519 | with a backslash |
520 | .Pq Li \e | | 520 | .Pq Li \e |
521 | The right hand side of the colon is always used verbatim, no escape sequences | | 521 | The right hand side of the colon is always used verbatim, no escape sequences |
522 | are interpreted. | | 522 | are interpreted. |
523 | .Sh EXAMPLES | | 523 | .Sh EXAMPLES |
524 | To configure set of virtual hosts, one would use an | | 524 | To configure set of virtual hosts, one would use an |
525 | .Xr inetd.conf 5 | | 525 | .Xr inetd.conf 5 |
526 | entry like: | | 526 | entry like: |
527 | .Bd -literal | | 527 | .Bd -literal |
528 | http stream tcp nowait:600 _httpd /usr/libexec/httpd httpd -v /var/vroot /var/www | | 528 | http stream tcp nowait:600 _httpd /usr/libexec/httpd httpd -v /var/vroot /var/www |
529 | .Ed | | 529 | .Ed |