Forum Moderators: phranque

Message Too Old, No Replies

Mass Virtual Hosting in Apache 1.3.33

Three websites, unlimited subdomains...

         

HEjKO

1:52 pm on Aug 2, 2005 (gmt 0)

10+ Year Member



Okay.. today I run three sites, we can call dem
domain1.com
domain2.com
domain3.com

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.

jdMorgan

1:05 am on Aug 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



HEjKO,

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