On 4/28/21 8:45 PM, thenisto@gmail.com wrote:
> Hope I'm putting this in the appropriate mailing list.
>
> A minor (I hope) potential feature request for httpd:
>
> I wish to redirect clients not from a certain IP (e.g. my public IP at
> home) to a different location, temporarily. The purpose of this is to
> allow setting up a "maintenance" page so that I can properly test my
> site with a piece of mind before actually making it available to
> other visitors. I personally consider this a crucial ability.
>
pf (4) is happy to redirect anywhere, anywhen.
2nd httpd on another machine listening on standard ports
or
2nd httpd on same machine listening on chosen nonstandard ports
redirect in gateway
or
1 httpd listening on outside address
1 httpd listening on internal address
pf on server redirects as necessary
or
use testing.yourdomain.whatever if you can
or
play fast and loose with a schizo name server:
server.yourdomain is served by an outside nameserver
server.yourdomain is intercepted by your local nameserver
or...
some of these won't work for you
somebody else can think up more
Geoff Steckel
No comments:
Post a Comment