I need to know what version of XAMPP you installed and what Windows OS you are using please?
To all who read this topic, please included these 2 details in all requests for support as now we have different behaviors depending on the OS and the XAMPP versions being used.
I have assumed you are using Vista and that you have installed XAMPP 1.7.2
In Vista permissions can be affected if you use spaces in folder names, see the XAMPP for Windows Home Page near the top.
Rename your folders without spaces and dots and make them all lower case for consistency and the elimination of possible conflicts down the track - see my code below that has been corrected to reflect the renaming of your folders.
In XAMPP 1.7.2 if you answered
auto (the default) for the IPv6 question then it can be assumed that leaving the IPv6 entry in your host file will not affect your XAMPP installation - This question was only introduced from XAMPP 1.7.2 version.
You also have some missing entries in your httpd-vhosts.conf file - it may be possible to copy and paste this code below after you have changed the folder names and do make sure that there is no differences or you may get unexpected and unexplained errors - if on Vista use as below or if you still have an issue with Vista then change the forward slashes to back slashes, forward slashes are Apache friendly where as back slashes may be Vista friendly.
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:/xampp/htdocs"
</VirtualHost>
<VirtualHost *:80>
ServerName greattaste.local
ServerAlias www.greattaste.local
DocumentRoot "C:/webdesign/ronbeachump/test/htdocs"
<Directory "C:/webdesign/ronbeachump/test/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName rlcwh.local
ServerAlias www.rlcwh.local
DocumentRoot "C:/webdesign/robertskillings/rlcwh"
<Directory "C:/webdesign/robertskillings/rlcwh">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName mybugtube.local
ServerAlias www.mybugtube.local
DocumentRoot "C:/webdesign/mrhill/mybugtube"
<Directory "C:/webdesign/mrhill/mybugtube">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Save the file and then restart Apache server.
Now if that works then you can experiment with your folder names by replacing dots and spaces with the underscore character if you think it will be easier for you to read, then test after each change to make sure they work - spaces and dots in folder names may introduce strange behavior so if you can live without them on your server then you may have a better trouble free experience.
Your Windows hosts file would then look like this and dots in domain names is both the norm and is just fine but keep them all lowercase to match your httpd-vhosts.conf file, I have also dropped the IPv6 entry for localhost but you may wish to keep it depending on the way you answered that question when installing XAMPP and mentioned above
- Code: Select all
127.0.0.1 localhost
127.0.0.1 greattaste.local
127.0.0.1 www.greattaste.local
127.0.0.1 rlcwh.local
127.0.0.1 www.rlcwh.local
127.0.0.1 mybugtube.local
127.0.0.1 www.mybugtube.local
Now see how the above performs and please post back again if you are still having issues as I have my fingers and everything else crossed for good luck.