Izzy wrote:Try DocumentRoot "H:/apache2/imyourhandyman" with the quotes.
Same applies for this directive DocumentRoot H:/apache2/rantspace
As a rule of thumb the folder in the DocumentRoot directive must be identical to the folder in the <Directory> directive.
If there is an issue with your vhosts then usually you will only have loaded the first good vhost.
Run the command apache -S in a command prompt in the \xampp\apache\bin folder (cd to this folder) and see if you can spot the errors, if not paste the whole apache -S result here.
If you have name based and IP based mixed vhosts then I usually put the IP based first followed by the name based - but usually there is only the need to use name based unless you specifically can't do any other than use IP based vhosts.
OK new developement... I can only get
http://imyourhandyman.biz from the other machines on the network not from the host machine... I am thinking it might be a network config now,,, but that is a guess... below is the command you prescribed,,, looks good to me but IDK if the default machine is also a vhost as stated in the command prompt... IDK if this is even a problem as it may be ok to the outside world,,, but it will be tough building a site haveing to go to another machine to check edits...
PS... I did implement all your directions with success... I have no prob viewing my other vhosts,,, they are cgi-bin forums as imyourhandyman is just a simple index.html page in the root...
- Code: Select all
H:\apache2\apache\bin>apache -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:443 localhost (H:/apache2/apache/conf/extra/httpd-ssl.conf:74)
*:80 is a NameVirtualHost
default server themoddepot.com (H:/apache2/apache/conf/extra/httpd-vhosts.conf:38)
port 80 namevhost themoddepot.com (H:/apache2/apache/conf/extra/httpd-vhosts.conf:38)
port 80 namevhost tokingbuds.com (H:/apache2/apache/conf/extra/httpd-vhosts.conf:166)
port 80 namevhost cannabis-zone.com (H:/apache2/apache/conf/extra/httpd-vhosts.conf:271)
port 80 namevhost imyourhandyman.biz (H:/apache2/apache/conf/extra/httpd-vhosts.conf:346)
port 80 namevhost rantspace.info (H:/apache2/apache/conf/extra/httpd-vhosts.conf:364)
Syntax OK
Here I am addin my HOST$ file
- Code: Select all
127.0.0.1 localhost
192.168.1.31 localhost
192.168.1.30 localhost
#
#
76.189.106.97 themoddepot.com # source server
76.189.106.97 www.themoddepot.com # source server
76.189.106.97 tokingbuds.com # x client host
76.189.106.97 www.tokingbuds.com # x client host
76.189.106.97 cannabis-zone.com # x client host
76.189.106.97 www.cannabis-zone.com # x client host
76.189.106.97 imyourhandyman.biz # x client host
76.189.106.97 www.imyourhandyman.biz # x client host
76.189.106.97 rantspace.info # x client host
76.189.106.97 www.rantspace.info # x client host
Thanks,,, I love Xammp...