Anyway, I'm trying to make an image gallery, and I'd like it to be separate from my main website for convenience, so on my machine I'm trying to set up apache so I have localhost (my main website) and images.localhost (my image gallery), so in my httpd.conf I added the lines:
CODE
NameVirtualHost images.*:80
<VirtualHost images.*:80>
ServerName images.localhost
DocumentRoot /exthd/jeff/images_gallery
</VirtualHost>
<VirtualHost images.*:80>
ServerName images.localhost
DocumentRoot /exthd/jeff/images_gallery
</VirtualHost>
then I added images.localhost to my hosts file.
This is exactly what I should do, according to what I was able to find, though all it does is make images.localhost go to localhost.