Page 1 of 1

New install - locating webs

PostPosted: 08. April 2010 15:15
by gandalf458
I have successfully installed XAMPP on a new Win 7 machine. I have my webs in c:\xampp\htdocs\www\ as on my old PC however I can't remember what changes to make to have http://localhost/www/ point to c:\xampp\htdocs\www\
Can anyone help please? Thanks

Re: New install - locating webs

PostPosted: 08. April 2010 20:09
by Altrea
localhost points on default to your htdocs folder, so every subfolder in your htdocs is already a subfolder in your URL.
No changes needed.

Re: New install - locating webs

PostPosted: 08. April 2010 20:16
by gandalf458
Thanks. Something is wrong though since if I point my browser to http://localhost/www/ I get a 404 error...

Re: New install - locating webs

PostPosted: 09. April 2010 01:03
by Narrowboyy
gandalf458 wrote:Thanks. Something is wrong though since if I point my browser to http://localhost/www/ I get a 404 error...
When ever you get an Apache server error message in your browser, first check the \xampp\apache\logs\error.log file for clues.

If you still have the index.php and index.html in the htdocs folder then either rename them or delete them - you can still access the XAMPP demo pages by http://localhost/xampp/index.php

Re: New install - locating webs

PostPosted: 09. April 2010 14:57
by gandalf458
Stranger and stranger. I don't seem to have an xampp\apache\logs folder and other than my www folder there is nothing in the htdocs folder - unless they are hidden (I'm still getting used to Win 7).

However, everything seems to be working http://localhost/ takes me to /http://localhost/xampp/ and everything there seems to be working, including phpMyAdmin.

Re: New install - locating webs

PostPosted: 09. April 2010 19:32
by gandalf458
Okay it was a bum install - I've uninstalled and re-installed it and hey-presto, my webs are there.

Thanks