VirtualHost *webmail* Question..

This is the right format for a vhost but i cant get the wild card to be right.

i would like anyolddomain.com/webmail anyolddomain.com being the wild card.

Code:
<VirtualHost */webmail>
DocumentRoot /home/account/webmail/
ServerName webmail
ServerAdmin root@localhost
</VirtualHost>
This one works... but i dont wish to use the port any more.
Code:
Listen 3001
<VirtualHost *:3001>
DocumentRoot /home/account/webmail/
ServerName webmail
ServerAdmin root@localhost
</VirtualHost>
Missing something?

 

 

 

 

Top