Do an advanced search in the
XAMPP for Windows forum using Sharley in the Author box and for keyword use
virtualhost or
vhost and you will be presented with many examples that work quite well (you can omit Sharley for even more varied results).
NameVirtualHost 127.0.0.1:80
<virtualhost redivide.zz:80>
</virtualhost>
<virtualhost example.zz:80>
</virtualhost>
<virtualhost example-1.zz:80>
</virtualhost>
The above from the site you gave would be better configured using a wild card, for example like this:
- Code: Select all
NameVirtualHost *:80
<virtualhost *:80>
ServerAdmin admin@redivide.zz
DocumentRoot "c:/xampp/htdocs/redivide.zz"
ServerName redivide.zz
</virtualhost>
You can see if the wild card method on all your vhosts containers may fix your access issue.
If you paste here your httpd-vhosts.conf file then we can take a look and recommend some alternatives if you have followed the web site you posted above.
The docs are here and may give you some more helpful clues:
http://httpd.apache.org/docs/2.2/vhosts/examples.htmlhttp://httpd.apache.org/docs/2.2/vhosts/name-based.htmlEDITJust to close this topic - after some communication via PM the
code section above using a wild card
*:80 was the solution for the OP's issue.