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.


================================================================= 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]




================================================================= 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