On my site i rewrite all my domains to the root such as
I also have a few before it which all work (there are all simple and only specify a DocumentRoot)
static.mysite.com test_alias_for_another_site.mysite.com blah.mysite.com
Now the problem is i have a complex VirtualHost. Its like 16lines. I have a ServerAlias however apache never uses it because it uses the
*.mysite.com rule and rewrites instead of using that virtaulhost specifying a specific subdomain.
How do i solve this? is there an option i can use that uses wildcards last? or choose the ordering of the files it looks at? or do i need to copy/paste the virtualhost into that other file?