On Thu, Mar 8, 2012 at 4:35 PM, Crispen Smith <crispen.smith@xxxxxxxxx> wrote: > > Thank you Simone, but I feel that you're jumping to the end of the story. > I'm quite happy to change the virtual posts to port 8888 once I get > localhost working correctly, but I'd like to understand that piece as well. > > Does that make sense? > It doesn't make sense to me. Do you want to run on port 8888 or port 80? You use them inter-changeably... Personally, I would use this configuration ServerName localhost Listen 80 Listen 8888 DocumentRoot c:/empty <Directory c:/empty> Order allow,deny Allow from all </Directory> NameVirtualHost *:80 NameVirtualHost *:8888 <VirtualHost *:80> ServerName ct.local DocumentRoot c:/sites/ct/htdocs <Directory c:/sites/ct/htdocs> Order Allow,Deny Allow from localhost </Directory> </VirtualHost> <VirtualHost *:8888> ServerName ct.local DocumentRoot c:/sites/ct-high-port/htdocs <Directory c:/sites/ct-high-port/htdocs> Order Allow,Deny Allow from localhost </Directory> </VirtualHost> So this sets up a blank empty default site, and then two vhosts. If you don't match a vhost by ServerName, you get the empty site. If you want :8888 and :80 vhosts to behave the same, simply change all to '<VirtualHost *>' and 'NameVirtualHost *'. Cheers Tom --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx