Forum Moderators: phranque
I use virtual hosts, but I set them up for every specific subdomain or domain.
I have read about mass virtual hosting, and been using trial and error... far to many times. :/
Sooo.. this is what I want it to look like.
The document roots on the physical harddrive:
e:/web/domain1.com/
e:/web/domain2.com/
e:/web/domain3.com/
Under this, it is created a folder, say for example this:
e:/web/domain2.com/www2/
How do I make Apache resolve this as a subdomain?
Eg. write [www2.domain2.com...] and I recieve the pages in www2-folder.
Do you understand my wish?
I've tried loads of configurations, but obviously not the correct one.
Welcome to WebmasterWorld!
It seems that non-one can answer your question as stated, but maybe the following two docuements will help:
Apache Virtual Hosting [httpd.apache.org]
URL Rewriting Guide [httpd.apache.org] - See "Mass Virtual Hosting" section.
Jim