I have to apply specific configuration commands to a site site.my-domain.com the do not get applied to all other sites in *.my-domain.com. In addition, all my-domain.com (including the specific) have to be ssl only sites.
To accomplish this I have a vhost that is defined by a specific ServerName and a wildcard ServerAlias. Which seems to work. All sites have the same DocumentRoot.
I now have to apply certain apache configuration commands only when site.my-domain.com is accessed, not the other *.my-domain.com is accessed. Can I use the Location directory to specify only the commands that apply to site.my-domain.com and not for all others in *.my-domain.com?
Thank you.
To accomplish this I have a vhost that is defined by a specific ServerName and a wildcard ServerAlias. Which seems to work. All sites have the same DocumentRoot.
I now have to apply certain apache configuration commands only when site.my-domain.com is accessed, not the other *.my-domain.com is accessed. Can I use the Location directory to specify only the commands that apply to site.my-domain.com and not for all others in *.my-domain.com?
Thank you.