So say I have a URL being requested:
sub.domain/file.bin
and I wanted this file to be fetched:
domain/hosted/sub/file.bin
How would I structure the rewrite directives? I’ve been working on this for days, and it just gives me a headache…
The sub-domains are numerous and are added and removed often, so I’m trying to find a solution that works for all of them.
In sub.domain’s httpd config: