amazon web services - AWS ALB + Apache Alias / VirtualDocumentRoot -
i'm trying setup new alb (not elb) on aws.
i have set following rules, - if path /images, it'll go server - if not, it'll go server b
this part done, can see traffic hitting server a.
the problem have server , b setup using virtualdocumentroot.
it works on subdomain level, meaning if have a.domain.com
, go /var/www/html/domain.com/a/
, if have b.domain.com
, go /var/www/html/domain.com/b/
, on.
i have setup directory /var/www/html/domain.com/images/
on server can see traffic trying /images
.
how can setup apache still work if sees *.domain.com/images
url hitting server, still go correct /var/www/html/domain.com/*/
directory first , /var/www/html/domain.com/*/images
subdirectory accordingly.
from research, seems achievable alias can't seem make work.
kindly advise.
thanks!
Comments
Post a Comment