Hello Tal, List
IMHO VirtualServers have nothing to do with what you are trying to do
check-out mod_rewrite :
http://httpd.apache.org/docs/misc/rewriteguide.html
and
http://httpd.apache.org/docs/mod/mod_rewrite.html
Regards,
Boris Ratner.
PS:
`The great thing about mod_rewrite is it gives you all the configurability
and flexibility of Sendmail. The downside to mod_rewrite is that it gives
you all the configurability and flexibility of Sendmail.''
-- Brian Behlendorf
Apache Group
Shachar Shemesh wrote:
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]
=================================================================
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]