| could always setup a vhost..
 <VirtualHost xxx.xxx.xxx.xxx>
 UseCanonicalName off
 
 VirtualDocumentRoot /home/somewhere/www/%1.0.%3.0
 </VirtualHost>
 
 that should map subdomains to folders, you can replace the %1.0 with %2.0 if you want to use domain.com atleast this is the way it should work.  pulling this from a config wher esomeone has hundreds of folders and all on one ip and hundres of domains each domain is domain1.com ect.. they use the %2.0 instead of %1.0
 
 htaccess can do it too..
 |