Apache ProxyPass only if specific string matchs in subdomain
I use apache as reverse proxy, is there any way to ProxyPass only if my subdomain match a specific string, something like : <VirtualHost *:80> ServerAlias *.example.com <If "%{HTTP_HOST} -strmatch 'hello*.example.com'"> ProxyPreserveHost On ProxyPass "/" "http://192.168.1.22/" ProxyPassReverse "/" "http://192.168.1.22/" </If>…