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

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -