Apache LocationMatch regex with subdomain -
i'm trying use locationmatch match url in website's second-level subdomain not in it's third-level subdomain. because want password protect urls @ level.
eg. level2.domain.com/some/url
should match not level3.level2.domain.com/some/url
than apply necessary directives password protect urls.
does locationmatch match part or url ? don't think so, , if that's case, use achieve desired effect ?
i think have break locations separate virtualhost
blocks , use servername
/ serveralias
appropriately specify domains want cover...
Comments
Post a Comment