You will also need to set your DNS up so that everything.mydomain.com will be directed to your IP. This requires DNS wildcards, which are recommended against unless you know exactly what you are doing.

Shachar

Yonah Russ wrote:

Try mod_virtual_host
VirtualDocumentRoot /www/host/sites/%1
yonah

Tal Achituv wrote:

Hi!

I would like to redirect every foo.mydomain.com to
www.mydomain.com/sites/foo

My guess is that it could be done using the <virtualserver> directive in
httpd.conf
But i was unable to find any reference to such an example.

Anyone knows how to do that?!

Thanks!
Tal.



--
Shachar Shemesh
Lingnu Open Systems Consulting
http://www.lingnu.com/


================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to