Hi,
I have recently taken delivery of a Windows 8, 64bit pc with Apache 1.8.1 and Xampp Control Panel v3.1.03.1.0 installed.
Apache is using ports 80 and 443.
I want to use Apache as a local test server for multiple websites and data bases, each with its own domain name (not sub domains).
In the past (win7 and apache 1.7*) I achieved this using vhosts and I would like to do something similar again.
Typing local host in a browser gives me the 'Welcome to XAMPP for Windows!' notice and I can reach phpmyadmin so I assume apache is running correctly without port clashes. (With win7 apache and skype clashed ports which I resolved through the wampp control panel). I am running skype on this pc but I don't know how to check ports/clashes in win8.
httpd-vhosts is set up so:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:/kim"
ServerName kim
</VirtualHost>
but I am unable to see the site using http://localhost/kim (returns 404). Using kim/ returns 'Welcome to XAMPP for Windows!' page. It is my intention to add other virtualhost/domains when this problem is resolved
Here is the most recent portion of the access log
127.0.0.1 - - [07/May/2013:08:41:27 +0100] "GET /xampp/img/blank.gif HTTP/1.1" 200 43 "http://kim/xampp/head.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:41:27 +0100] "GET /xampp/img/head-for.gif HTTP/1.1" 200 791 "http://kim/xampp/head.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:41:27 +0100] "GET /xampp/img/head-windows.gif HTTP/1.1" 200 1362 "http://kim/xampp/head.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:41:28 +0100] "GET /xampp/xampp.js HTTP/1.1" 200 573 "http://kim/xampp/navi.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:41:28 +0100] "GET /xampp/img/apachefriends.gif HTTP/1.1" 200 979 "http://kim/xampp/navi.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:41:28 +0100] "GET /xampp/img/strichel.gif HTTP/1.1" 200 61 "http://kim/xampp/navi.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:41:28 +0100] "GET /favicon.ico HTTP/1.1" 200 7782 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:49:46 +0100] "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:49:46 +0100] "GET /xampp/ HTTP/1.1" 200 594 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:49:46 +0100] "GET /xampp/head.php HTTP/1.1" 200 1393 "http://kim/xampp/" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:49:46 +0100] "GET /xampp/start.php HTTP/1.1" 200 1067 "http://kim/xampp/" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:08:49:46 +0100] "GET /xampp/navi.php HTTP/1.1" 200 3921 "http://kim/xampp/" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
::1 - - [07/May/2013:09:31:23 +0100] "GET /kim/ HTTP/1.1" 404 1052 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
::1 - - [07/May/2013:09:31:43 +0100] "GET /kim HTTP/1.1" 404 1052 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:09:32:49 +0100] "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:09:32:49 +0100] "GET /xampp/ HTTP/1.1" 200 594 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:09:32:50 +0100] "GET /xampp/head.php HTTP/1.1" 200 1393 "http://kim/xampp/" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:09:32:50 +0100] "GET /xampp/start.php HTTP/1.1" 200 1067 "http://kim/xampp/" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
127.0.0.1 - - [07/May/2013:09:32:50 +0100] "GET /xampp/navi.php HTTP/1.1" 200 3921 "http://kim/xampp/" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
Here is the most recent portion of the error log. There is reference to 'session cache not configured' butI don't know what that is or how to do it.
[Wed Apr 17 17:10:58.621299 2013] [mpm_winnt:notice] [pid 3084:tid 312] AH00456: Server built: Aug 18 2012 12:41:37
[Wed Apr 17 17:10:58.621299 2013] [core:notice] [pid 3084:tid 312] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Apr 17 17:10:58.622271 2013] [mpm_winnt:notice] [pid 3084:tid 312] AH00418: Parent: Created child process 1320
[Wed Apr 17 17:11:00.160283 2013] [ssl:warn] [pid 1320:tid 316] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Apr 17 17:11:00.234498 2013] [mpm_winnt:notice] [pid 1320:tid 316] AH00354: Child: Starting 150 worker threads.
[Sat May 04 06:45:32.720360 2013] [core:warn] [pid 5220:tid 308] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat May 04 06:45:33.207640 2013] [ssl:warn] [pid 5220:tid 308] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 04 06:45:33.718360 2013] [mpm_winnt:notice] [pid 5220:tid 308] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat May 04 06:45:33.718360 2013] [mpm_winnt:notice] [pid 5220:tid 308] AH00456: Server built: Aug 18 2012 12:41:37
[Sat May 04 06:45:33.718360 2013] [core:notice] [pid 5220:tid 308] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat May 04 06:45:33.720316 2013] [mpm_winnt:notice] [pid 5220:tid 308] AH00418: Parent: Created child process 3640
[Sat May 04 06:45:35.332542 2013] [ssl:warn] [pid 3640:tid 240] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 04 06:45:35.410667 2013] [mpm_winnt:notice] [pid 3640:tid 240] AH00354: Child: Starting 150 worker threads.
[Sat May 04 06:47:08.331185 2013] [core:warn] [pid 1892:tid 308] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat May 04 06:47:08.798934 2013] [ssl:warn] [pid 1892:tid 308] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 04 06:47:08.870223 2013] [mpm_winnt:notice] [pid 1892:tid 308] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat May 04 06:47:08.870223 2013] [mpm_winnt:notice] [pid 1892:tid 308] AH00456: Server built: Aug 18 2012 12:41:37
[Sat May 04 06:47:08.870223 2013] [core:notice] [pid 1892:tid 308] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat May 04 06:47:08.872176 2013] [mpm_winnt:notice] [pid 1892:tid 308] AH00418: Parent: Created child process 5988
[Sat May 04 06:47:10.418000 2013] [ssl:warn] [pid 5988:tid 316] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 04 06:47:10.504911 2013] [mpm_winnt:notice] [pid 5988:tid 316] AH00354: Child: Starting 150 worker threads.
[Tue May 07 08:05:30.753773 2013] [core:warn] [pid 5156:tid 308] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue May 07 08:05:31.215665 2013] [ssl:warn] [pid 5156:tid 308] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 07 08:05:31.374837 2013] [mpm_winnt:notice] [pid 5156:tid 308] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Tue May 07 08:05:31.375815 2013] [mpm_winnt:notice] [pid 5156:tid 308] AH00456: Server built: Aug 18 2012 12:41:37
[Tue May 07 08:05:31.375815 2013] [core:notice] [pid 5156:tid 308] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue May 07 08:05:31.379723 2013] [mpm_winnt:notice] [pid 5156:tid 308] AH00418: Parent: Created child process 10968
[Tue May 07 08:05:32.810318 2013] [ssl:warn] [pid 10968:tid 316] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 07 08:05:32.885512 2013] [mpm_winnt:notice] [pid 10968:tid 316] AH00354: Child: Starting 150 worker threads.
Thank you for your attention.
David