How is a listener/service/backend written in pound.cfg to listen for a
subdirectory of a domain - not a subdomain?
I see on the http://www.apsis.ch/pound/ examples for
subdomains (s1 to s4), but
can't find examples for subdirectories.
Would I use Address or HeadRequires to listen for http://www.domain.com/subdir1?
I can't test now, but am asking for future use.
I need to create 2 rules to allow user to be able to enter either:
with or without http://, www., or trailing /
and end up at either:
Here's a couple of attempts at the second rule - for the subdirectory, please
For example, 192.168.1.123 is mapped to a public IP address and domain.com
1. Using Address:
or (???) :
2. Using HeadRequires:
HeadRequire "Host: domain.com/subdir1"
Am I getting close?
If someone would be gracious enough to quickly edit my attempts above to show
how to write rule for domain.com and domain.com/subdir1, I would be very happy
(and less confused!;-)