Problems with Virtual Hosts

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problems with Virtual Hosts

Postby kirwood » 14. December 2013 16:25

Hi,
I only get 4 virtual hosts to run out of 14. I am confident that 5 of the non runners have worked in the past. As far as I can see they are all constructed in a similar fashion.
The only real change is a switch to Windows 64 bit but XAMPP was then reinstalled and, as i said some vhosts are working.
I have run out of ideas a to where to look and would appreciate some help please
Below is the relevant section of VHosts, followed by the hosts file with those that don't run marked #,then a section of the access log. Event viewer is not showing any errors.
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/kim"
ServerName kim
<Directory "D:/kim">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/alexpledger"
ServerName alexpledger
<Directory "D:/alexpledger">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/fhm_old"
ServerName fhm_old
<Directory "D:/fhm_old">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/t2c"
ServerName t2c
<Directory "D:/t2c">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/exceptionalproducts"
ServerName exceptional
<Directory "D:/exceptionalproducts">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/fullhouseHS"
ServerName fhhs
<Directory "D:/fullhouseHS">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/FullHouseMarketing"
ServerName fhm
<Directory "D:/FullHouseMarketing">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/fhmstyle"
ServerName fhmstyle
<Directory "D:/fhmstyle">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/tc"
ServerName thatched
<Directory "D:/tc">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/ckmedia"
ServerName ckmedia
<Directory "D:/ckmedia">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/lead-on"
ServerName leadon
<Directory "D:/lead-on">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/welkome"
ServerName welkome
<Directory "D:/welkome">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/bootstrap"
ServerName bootstrap
<Directory "D:/bootstrap">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
and here is the hosts file
# indicates hosts that do not run. As you can see only three run.
127.0.0.1 localhost
127.0.0.1 kim
## 127.0.0.1 alexpledger
# 127.0.0.1 wordpress1
## 127.0.0.1 t2c
# 127.0.0.1 thatched
127.0.0.1 fhm
# 127.0.0.1 fhmstyle
# 127.0.0.1 fhhs
# 127.0.0.1 fhsupport
# 127.0.0.1 welkome
# 127.0.0.1 myh
# 127.0.0.1 yukon
# 127.0.0.1 bootstrap
# 127.0.0.1 ckmedia
# 127.0.0.1 phpcs5

Here is the access log
127.0.0.1 - - [14/Dec/2013:10:09:10 +0000] "GET /add_user.php HTTP/1.1" 200 8266 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:10:09:47 +0000] "POST /_mmServerScripts/MMHTTPDB.php HTTP/1.1" 200 1213 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:09:48 +0000] "POST /_mmServerScripts/MMHTTPDB.php HTTP/1.1" 200 527 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:09:51 +0000] "GET /add_user2_kzmkxsk8e.php HTTP/1.1" 200 8571 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:10:44 +0000] "POST /_mmServerScripts/MMHTTPDB.php HTTP/1.1" 200 1213 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:10:45 +0000] "POST /_mmServerScripts/MMHTTPDB.php HTTP/1.1" 200 527 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:11:51 +0000] "POST /_mmServerScripts/MMHTTPDB.php HTTP/1.1" 200 1213 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:11:52 +0000] "POST /_mmServerScripts/MMHTTPDB.php HTTP/1.1" 200 527 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:12:40 +0000] "GET /add_user.php HTTP/1.1" 200 8098 "-" "Mozilla/5.0 (Windows NT 6.2; U; en_US) AppleWebKit/533.19.4 (KHTML, like Gecko) Dreamweaver/12.2.0.6006 Version/5.0.3 Safari/533.19.4"
127.0.0.1 - - [14/Dec/2013:10:13:22 +0000] "POST /_mmServerScripts/MMHTTPDB.php HTTP/1.1" 200 1213 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:13:23 +0000] "POST /_mmServerScripts/MMHTTPDB.php HTTP/1.1" 200 527 "-" "MMHttp (Windows; Version:12.2)"
127.0.0.1 - - [14/Dec/2013:10:14:04 +0000] "GET /add_user.php HTTP/1.1" 200 8100 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:10:14:04 +0000] "GET /p7affinity/exceptions.css HTTP/1.1" 200 5772 "http://fhm/add_user.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:29 +0000] "GET /phpmyadmin/ HTTP/1.1" 200 2578 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:30 +0000] "GET /phpmyadmin/main.php?token=b6c57102455a0b7aad1d12d7d34cd80d HTTP/1.1" 200 36110 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:30 +0000] "GET /phpmyadmin/navigation.php?token=b6c57102455a0b7aad1d12d7d34cd80d HTTP/1.1" 200 6651 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:31 +0000] "GET /phpmyadmin/phpmyadmin.css.php?server=1&token=b6c57102455a0b7aad1d12d7d34cd80d&js_frame=right&nocache=5425303273 HTTP/1.1" 200 82604 "http://localhost/phpmyadmin/main.php?token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:31 +0000] "GET /phpmyadmin/js/messages.php?lang=en&db=&token=b6c57102455a0b7aad1d12d7d34cd80d HTTP/1.1" 200 16556 "http://localhost/phpmyadmin/main.php?token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:31 +0000] "GET /phpmyadmin/js/get_image.js.php?theme=pmahomme HTTP/1.1" 200 6106 "http://localhost/phpmyadmin/main.php?token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:31 +0000] "GET /phpmyadmin/js/messages.php?ts=1344779156 HTTP/1.1" 200 16556 "http://localhost/phpmyadmin/navigation.php?token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:31 +0000] "GET /phpmyadmin/phpmyadmin.css.php?token=b6c57102455a0b7aad1d12d7d34cd80d&js_frame=left&nocache=5425303273 HTTP/1.1" 200 15157 "http://localhost/phpmyadmin/navigation.php?token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:39 +0000] "GET /phpmyadmin/index.php?db=fhm_members&token=b6c57102455a0b7aad1d12d7d34cd80d HTTP/1.1" 200 2635 "http://localhost/phpmyadmin/navigation.php?token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:39 +0000] "GET /phpmyadmin/navigation.php?token=b6c57102455a0b7aad1d12d7d34cd80d&db=fhm_members HTTP/1.1" 200 7925 "http://localhost/phpmyadmin/index.php?db=fhm_members&token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:39 +0000] "GET /phpmyadmin/db_structure.php?token=b6c57102455a0b7aad1d12d7d34cd80d&db=fhm_members HTTP/1.1" 200 18600 "http://localhost/phpmyadmin/index.php?db=fhm_members&token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:40 +0000] "GET /phpmyadmin/js/messages.php?lang=en&db=fhm_members&token=b6c57102455a0b7aad1d12d7d34cd80d HTTP/1.1" 200 16567 "http://localhost/phpmyadmin/db_structure.php?token=b6c57102455a0b7aad1d12d7d34cd80d&db=fhm_members" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:44 +0000] "GET /phpmyadmin/js/export.js?ts=1344779156 HTTP/1.1" 200 5475 "http://localhost/phpmyadmin/db_export.php?db=fhm_members&server=1&token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:44 +0000] "GET /phpmyadmin/db_export.php?db=fhm_members&server=1&token=b6c57102455a0b7aad1d12d7d34cd80d HTTP/1.1" 200 39588 "http://localhost/phpmyadmin/db_structure.php?token=b6c57102455a0b7aad1d12d7d34cd80d&db=fhm_members" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:44 +0000] "GET /phpmyadmin/navigation.php?token=b6c57102455a0b7aad1d12d7d34cd80d&server=1&ajax_request=true&recent_table=true&_nocache=1387016564956486848 HTTP/1.1" 200 1444 "http://localhost/phpmyadmin/navigation.php?token=b6c57102455a0b7aad1d12d7d34cd80d&db=fhm_members" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
::1 - - [14/Dec/2013:10:22:52 +0000] "POST /phpmyadmin/export.php HTTP/1.1" 200 199076 "http://localhost/phpmyadmin/db_export.php?db=fhm_members&server=1&token=b6c57102455a0b7aad1d12d7d34cd80d" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:19:25 +0000] "GET /add_user.php HTTP/1.1" 200 8100 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:19:26 +0000] "GET /p7affinity/exceptions.css HTTP/1.1" 304 - "http://fhm/add_user.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:19:26 +0000] "GET /p7qc/p7qc.css HTTP/1.1" 304 - "http://fhm/add_user.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:19:27 +0000] "GET /favicon.ico HTTP/1.1" 404 1046 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:38:08 +0000] "HEAD /index.php HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:39:11 +0000] "HEAD /adaptive-images.php HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:39:42 +0000] "HEAD /index.php HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:40:54 +0000] "GET /add_user.php HTTP/1.1" 200 8100 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:40:55 +0000] "GET /p7affinity/exceptions.css HTTP/1.1" 304 - "http://fhm/add_user.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:40:56 +0000] "GET /favicon.ico HTTP/1.1" 404 1046 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /massage/kahuna_massage.php HTTP/1.1" 200 8382 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /p7dmm/p7DMM01.css HTTP/1.1" 200 8905 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /p7ehc/p7EHCscripts.js HTTP/1.1" 200 3783 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /p7affinity/p7affinity-1_03.css HTTP/1.1" 200 6232 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /p7dmm/p7DMMscripts.js HTTP/1.1" 200 22698 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /images/Present.png HTTP/1.1" 200 7183 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /p7dmm/img/toggle-icon.png HTTP/1.1" 200 225 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /images/kahuna.jpg HTTP/1.1" 200 11579 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /images/favicon.ico HTTP/1.1" 200 5686 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /p7affinity/p7affinity_print.css HTTP/1.1" 200 716 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /images/twitter_newbird_blue.png HTTP/1.1" 200 48751 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /images/RTS%20logo.png HTTP/1.1" 200 31237 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /images/Facebook.jpg HTTP/1.1" 200 14702 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:11 +0000] "GET /images/headeddraft.png HTTP/1.1" 200 165073 "http://kim/massage/kahuna_massage.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:41:12 +0000] "GET /favicon.ico HTTP/1.1" 404 1046 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:43:22 +0000] "HEAD /photos.php HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:45:36 +0000] "HEAD /about HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:46:37 +0000] "HEAD /index.php HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:47:29 +0000] "HEAD /index.php HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:48:40 +0000] "HEAD /index.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
127.0.0.1 - - [14/Dec/2013:12:49:37 +0000] "HEAD /index.php HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
User avatar
kirwood
 
Posts: 27
Joined: 03. February 2011 12:07
XAMPP Version: 5.6.3
Operating System: Windows 8 64bit

Re: Problems with Virtual Hosts

Postby Nobbie » 14. December 2013 21:34

kirwood wrote:then a section of the access log.


Access Log is useless - what about the Error Log? (Not Windows Events - i mean the Apache Error Log).
Nobbie
 
Posts: 6799
Joined: 09. March 2008 13:04

Re: Problems with Virtual Hosts

Postby kirwood » 15. December 2013 12:31

Apache error log.
There is reference to
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist.
That is correct. It is a domain I allowed to expire but there is no reference to it in current vhosts or hosts files.

[Sat Dec 14 07:47:16.966906 2013] [core:warn] [pid 2580:tid 376] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 14 07:47:18.316456 2013] [mpm_winnt:notice] [pid 2580:tid 376] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Dec 14 07:47:18.316456 2013] [mpm_winnt:notice] [pid 2580:tid 376] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Dec 14 07:47:18.316456 2013] [core:notice] [pid 2580:tid 376] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 14 07:47:18.341359 2013] [mpm_winnt:notice] [pid 2580:tid 376] AH00418: Parent: Created child process 6084
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 07:47:24.432895 2013] [mpm_winnt:notice] [pid 6084:tid 392] AH00354: Child: Starting 150 worker threads.
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:03:43.298268 2013] [core:warn] [pid 5352:tid 340] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 14 12:03:44.289439 2013] [mpm_winnt:notice] [pid 5352:tid 340] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Dec 14 12:03:44.289439 2013] [mpm_winnt:notice] [pid 5352:tid 340] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Dec 14 12:03:44.289439 2013] [core:notice] [pid 5352:tid 340] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 14 12:03:44.328499 2013] [mpm_winnt:notice] [pid 5352:tid 340] AH00418: Parent: Created child process 3348
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:03:46.568636 2013] [mpm_winnt:notice] [pid 3348:tid 336] AH00354: Child: Starting 150 worker threads.
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:17:36.938154 2013] [core:warn] [pid 940:tid 380] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 14 12:17:37.923461 2013] [mpm_winnt:notice] [pid 940:tid 380] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Dec 14 12:17:37.923461 2013] [mpm_winnt:notice] [pid 940:tid 380] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Dec 14 12:17:37.923461 2013] [core:notice] [pid 940:tid 380] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 14 12:17:37.961544 2013] [mpm_winnt:notice] [pid 940:tid 380] AH00418: Parent: Created child process 1052
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:17:40.133323 2013] [mpm_winnt:notice] [pid 1052:tid 384] AH00354: Child: Starting 150 worker threads.
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:21:41.310955 2013] [core:warn] [pid 1096:tid 364] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 14 12:21:41.811908 2013] [mpm_winnt:notice] [pid 1096:tid 364] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Dec 14 12:21:41.811908 2013] [mpm_winnt:notice] [pid 1096:tid 364] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Dec 14 12:21:41.811908 2013] [core:notice] [pid 1096:tid 364] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 14 12:21:41.840229 2013] [mpm_winnt:notice] [pid 1096:tid 364] AH00418: Parent: Created child process 2548
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:21:43.901659 2013] [mpm_winnt:notice] [pid 2548:tid 384] AH00354: Child: Starting 150 worker threads.
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:30:50.423975 2013] [core:warn] [pid 2688:tid 376] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 14 12:30:50.950318 2013] [mpm_winnt:notice] [pid 2688:tid 376] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Dec 14 12:30:50.950318 2013] [mpm_winnt:notice] [pid 2688:tid 376] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Dec 14 12:30:50.950318 2013] [core:notice] [pid 2688:tid 376] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 14 12:30:50.980592 2013] [mpm_winnt:notice] [pid 2688:tid 376] AH00418: Parent: Created child process 5400
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:30:53.196312 2013] [mpm_winnt:notice] [pid 5400:tid 320] AH00354: Child: Starting 150 worker threads.
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:34:15.455743 2013] [core:warn] [pid 1808:tid 424] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 14 12:34:16.754515 2013] [mpm_winnt:notice] [pid 1808:tid 424] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Dec 14 12:34:16.755003 2013] [mpm_winnt:notice] [pid 1808:tid 424] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Dec 14 12:34:16.755003 2013] [core:notice] [pid 1808:tid 424] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 14 12:34:16.772091 2013] [mpm_winnt:notice] [pid 1808:tid 424] AH00418: Parent: Created child process 5504
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 12:34:21.590728 2013] [mpm_winnt:notice] [pid 5504:tid 384] AH00354: Child: Starting 150 worker threads.
[Sat Dec 14 12:39:11.143287 2013] [:error] [pid 5504:tid 1796] [client 127.0.0.1:49351] script 'C:/xampp/htdocs/adaptive-images.php' not found or unable to stat
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 13:36:16.250638 2013] [core:warn] [pid 2348:tid 380] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 14 13:36:17.461029 2013] [mpm_winnt:notice] [pid 2348:tid 380] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Dec 14 13:36:17.461029 2013] [mpm_winnt:notice] [pid 2348:tid 380] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Dec 14 13:36:17.461029 2013] [core:notice] [pid 2348:tid 380] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 14 13:36:17.474213 2013] [mpm_winnt:notice] [pid 2348:tid 380] AH00418: Parent: Created child process 5476
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 13:36:20.256309 2013] [mpm_winnt:notice] [pid 5476:tid 400] AH00354: Child: Starting 150 worker threads.
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 15:02:26.668848 2013] [core:warn] [pid 5968:tid 328] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 14 15:02:27.452991 2013] [mpm_winnt:notice] [pid 5968:tid 328] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Dec 14 15:02:27.452991 2013] [mpm_winnt:notice] [pid 5968:tid 328] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Dec 14 15:02:27.452991 2013] [core:notice] [pid 5968:tid 328] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 14 15:02:27.488147 2013] [mpm_winnt:notice] [pid 5968:tid 328] AH00418: Parent: Created child process 7260
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sat Dec 14 15:02:29.965567 2013] [mpm_winnt:notice] [pid 7260:tid 328] AH00354: Child: Starting 150 worker threads.
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
[Sun Dec 15 10:28:38.299059 2013] [core:warn] [pid 3752:tid 376] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Dec 15 10:28:39.340026 2013] [mpm_winnt:notice] [pid 3752:tid 376] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sun Dec 15 10:28:39.340026 2013] [mpm_winnt:notice] [pid 3752:tid 376] AH00456: Server built: Aug 18 2012 12:41:37
[Sun Dec 15 10:28:39.340026 2013] [core:notice] [pid 3752:tid 376] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Dec 15 10:28:39.368344 2013] [mpm_winnt:notice] [pid 3752:tid 376] AH00418: Parent: Created child process 3908
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
AH00112: Warning: DocumentRoot [D:/exceptionalproducts] does not exist
User avatar
kirwood
 
Posts: 27
Joined: 03. February 2011 12:07
XAMPP Version: 5.6.3
Operating System: Windows 8 64bit

Re: Problems with Virtual Hosts

Postby Nobbie » 15. December 2013 14:37

kirwood wrote:That is correct. It is a domain I allowed to expire but there is no reference to it in current vhosts or hosts files.


But of course this VirtualHost does not work.
Nobbie
 
Posts: 6799
Joined: 09. March 2008 13:04

Re: Problems with Virtual Hosts

Postby kirwood » 15. December 2013 16:17

You are right - of course that Virtual Host won't work. I pasted an old file.
Here is the correct one that is in use, located in c:/xampp/apache/conf/httpd-vhosts.
The question remains:
Why do some of these hosts work now and some don't. And most of those that don't work now used to work, the others I have not used yet.
VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/kim"
ServerName kim
<Directory "D:/kim">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/alexpledger"
ServerName alexpledger
<Directory "D:/alexpledger">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/fhm_old"
ServerName fhm_old
<Directory "D:/fhm_old">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/t2c"
ServerName t2c
<Directory "D:/t2c">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>



<VirtualHost *:80>
DocumentRoot "D:/fullhouseHS"
ServerName fhhs
<Directory "D:/fullhouseHS">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/FullHouseMarketing"
ServerName fhm
<Directory "D:/FullHouseMarketing">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/fhmstyle"
ServerName fhmstyle
<Directory "D:/fhmstyle">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/tc"
ServerName thatched
<Directory "D:/tc">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/ckmedia"
ServerName ckmedia
<Directory "D:/ckmedia">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/lead-on"
ServerName leadon
<Directory "D:/lead-on">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/welkome"
ServerName welkome
<Directory "D:/welkome">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/bootstrap"
ServerName bootstrap
<Directory "D:/bootstrap">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
User avatar
kirwood
 
Posts: 27
Joined: 03. February 2011 12:07
XAMPP Version: 5.6.3
Operating System: Windows 8 64bit

Re: Problems with Virtual Hosts

Postby Nobbie » 16. December 2013 15:25

kirwood wrote:Why do some of these hosts work now and some don't.,


Sorry, but it is quite impossible to help with so poor information. What does it mean "dont work" (i.e. there is no Apache Message "this host does not work" or similar). We need full(!) error messages, we need correct logs, correct configuration files and a full description, which Hosts are running error free and which not (and the corresponding behaviour including all messages).
Nobbie
 
Posts: 6799
Joined: 09. March 2008 13:04

Re: Problems with Virtual Hosts

Postby kirwood » 16. December 2013 17:40

Today I tried Vhost kim and fhm, they both ran, i.e the pages appeared in the browser. I also tried vhost fhmstyle and I also tried all the others They did not run i.e the browser defaulted to a google search page.

There is no error data in Event viewer.

Here is Apache Error Log. As you can see, there is no error message.
[Mon Dec 16 15:30:39.749251 2013] [core:warn] [pid 2976:tid 376] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Dec 16 15:30:40.413281 2013] [mpm_winnt:notice] [pid 2976:tid 376] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Mon Dec 16 15:30:40.413281 2013] [mpm_winnt:notice] [pid 2976:tid 376] AH00456: Server built: Aug 18 2012 12:41:37
[Mon Dec 16 15:30:40.413281 2013] [core:notice] [pid 2976:tid 376] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Dec 16 15:30:40.442578 2013] [mpm_winnt:notice] [pid 2976:tid 376] AH00418: Parent: Created child process 6844
[Mon Dec 16 15:30:42.502054 2013] [mpm_winnt:notice] [pid 6844:tid 384] AH00354: Child: Starting 150 worker threads.

127.0.0.1 localhost
127.0.0.1 kim
127.0.0.1 alexpledger
127.0.0.1 wordpress1
127.0.0.1 t2c
127.0.0.1 thatched
127.0.0.1 fhm
127.0.0.1 fhmstyle
127.0.0.1 fhhs
127.0.0.1 fhsupport
127.0.0.1 hrs
127.0.0.1 myh
127.0.0.1 yukon
127.0.0.1 css_starter
127.0.0.1 ckmedia
127.0.0.1 phpcs5
127.0.0.1 leadon
127.0.0.1 bootstrap
127.0.0.1 welkome

Here is the vhosts file:
VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/kim"
ServerName kim
<Directory "D:/kim">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/alexpledger"
ServerName alexpledger
<Directory "D:/alexpledger">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/fhm_old"
ServerName fhm_old
<Directory "D:/fhm_old">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/t2c"
ServerName t2c
<Directory "D:/t2c">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>



<VirtualHost *:80>
DocumentRoot "D:/fullhouseHS"
ServerName fhhs
<Directory "D:/fullhouseHS">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/FullHouseMarketing"
ServerName fhm
<Directory "D:/FullHouseMarketing">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/fhmstyle"
ServerName fhmstyle
<Directory "D:/fhmstyle">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/tc"
ServerName thatched
<Directory "D:/tc">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/ckmedia"
ServerName ckmedia
<Directory "D:/ckmedia">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/lead-on"
ServerName leadon
<Directory "D:/lead-on">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/welkome"
ServerName welkome
<Directory "D:/welkome">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:/bootstrap"
ServerName bootstrap
<Directory "D:/bootstrap">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

I guess this is frustrating for both of us.
User avatar
kirwood
 
Posts: 27
Joined: 03. February 2011 12:07
XAMPP Version: 5.6.3
Operating System: Windows 8 64bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 27 guests