OK, I've figured this out for Apache 2.4 and there are several others like this on Google so I've tried the other solutions and still cannot get at least the main working Drupal site into its virtual host. So the first grouping shows the working httpd.conf with the parts that would be changed for the virtual host. Since there will be only one other virtual host, I left the configure file for vhosts alone and opted for the simpler approach of keeping it in this single httpd.conf file.
ServerRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2"
Listen 80
DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>
<Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
I don't know why this was left in as there is no "Drupal" folder in /htdocs. This is left here for completeness but is removed in my broken config file below.
<Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/Drupal">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Of course, I must move the "main" site into its own virtual host declaration and modify as needed. Note that the permissions in Windows must be OK because the above configuration works for this directory. Why does it not seem to work within its vhost block?
This is what I'm trying to get to work based on the Apache docs and the working example above. The main issue is to get the "default" site up and running.
ServerRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2"
Listen 80
DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs"
<Directory />
Order deny,allow
Deny from all
Options None
AllowOverride none
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs"
ServerName myshcool.edu
<Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs">
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
#Order deny,allow
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/independent/"
ServerName bob.myschool.edu
<Directory "C:/independent/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I've looked at this for several hours and tried different things I've found on Google and server fault. Here is a representative message from the Error log:
client denied by server configuration: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/
Help me see what I'm overlooking, thx, sam
Deny from all