I used WAMP for a few years but today I've set up XAMPP for the first time. So far I'm happy but I'm trying to move a Magento store working locally under a virtual domain.
I've been reading for hours and trying everything that I've seen but it's not working for me, especially this post http://community.apachefriends.org/f/viewtopic.php?f=16&t=53898 which is so similar to my issue.
I want to use dougals.dev as my domain but right now every time I access that url I'm sent to dougals.dev/xampp/ which should me the XAMPP localhost homepage.
My hosts has these entries:
- Code: Select all
127.0.0.1 dougals.dev
127.0.0.1 www.dougals.dev
I've added this to httpd-vhosts.conf
- Code: Select all
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/dougals"
ServerName dougals.dev
<Directory "C:/xampp/htdocs/dougals">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
And I've changed the urls in the magento database accordingly.
Error.log only throws a couple of notices:
- Code: Select all
[Sun May 19 16:45:10.573262 2013] [mpm_winnt:notice] [pid 8932:tid 304] AH00354: Child: Starting 150 worker threads.
[Sun May 19 16:47:42.839971 2013] [core:warn] [pid 8232:tid 292] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun May 19 16:47:43.227993 2013] [mpm_winnt:notice] [pid 8232:tid 292] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sun May 19 16:47:43.227993 2013] [mpm_winnt:notice] [pid 8232:tid 292] AH00456: Server built: Aug 18 2012 12:41:37
[Sun May 19 16:47:43.227993 2013] [core:notice] [pid 8232:tid 292] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun May 19 16:47:43.234994 2013] [mpm_winnt:notice] [pid 8232:tid 292] AH00418: Parent: Created child process 9184
[Sun May 19 16:47:44.300055 2013] [mpm_winnt:notice] [pid 9184:tid 304] AH00354: Child: Starting 150 worker threads.
In the access.log it's a bit weird, I get different results from FF and Chrome:
- Code: Select all
127.0.0.1 - - [19/May/2013:17:19:46 +0200] "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130518 Firefox/24.0"
127.0.0.1 - - [19/May/2013:17:19:46 +0200] "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130518 Firefox/24.0"
127.0.0.1 - - [19/May/2013:17:19:46 +0200] "GET /xampp/ HTTP/1.1" 200 594 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130518 Firefox/24.0"
127.0.0.1 - - [19/May/2013:17:19:46 +0200] "GET /xampp/head.php HTTP/1.1" 200 1393 "http://www.dougals.dev/xampp/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130518 Firefox/24.0"
127.0.0.1 - - [19/May/2013:17:19:46 +0200] "GET /xampp/start.php HTTP/1.1" 200 1067 "http://www.dougals.dev/xampp/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130518 Firefox/24.0"
127.0.0.1 - - [19/May/2013:17:19:46 +0200] "GET /xampp/navi.php HTTP/1.1" 200 3921 "http://www.dougals.dev/xampp/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130518 Firefox/24.0"
127.0.0.1 - - [19/May/2013:17:19:48 +0200] "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.81 Safari/537.36"
127.0.0.1 - - [19/May/2013:17:19:48 +0200] "GET /xampp/ HTTP/1.1" 200 594 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.81 Safari/537.36"
127.0.0.1 - - [19/May/2013:17:19:49 +0200] "GET /xampp/head.php HTTP/1.1" 200 1393 "http://localhost/xampp/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.81 Safari/537.36"
127.0.0.1 - - [19/May/2013:17:19:49 +0200] "GET /xampp/start.php HTTP/1.1" 200 1067 "http://localhost/xampp/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.81 Safari/537.36"
127.0.0.1 - - [19/May/2013:17:19:49 +0200] "GET /xampp/navi.php HTTP/1.1" 200 3921 "http://localhost/xampp/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.81 Safari/537.36"
I've flushed my DNS and browser caches many times but nothing changes.
I should also note that http://localhost/dougal/ redirects to http://www.dougals.dev/xampp/ and the welcome screen as well.
Any and all help would be appreciated.