I am trying to set up two websites using vhosts in Apache, one that uses SSL and one that doesn't. All I've done is try to get anything coming in on port 443 to go to my ssl site, and anything on port 80 to go to the other (which I am going to change at some point, but I'd like to get this working first.) Relevant part of my httpd.conf:
I cannot reach notsecuresite.com - it just gives me a 404 - The requested URL notsecuresite.com/index.html was not found on this server.
There are a few things I can think of that may be causing this. I have read in several places that SSL does not work with virtual hosting, but I also read that it will if there is only one SSL site. I also saw (once) that there could be a problem if the websites don't all have their own folders, but I have not found any confirmation of this. Any help would be greatly appreciated.
Note: Both sites worked with the full paths before I tried vhosts.