http://www.apachefriends.org/en/faq-xam ... #startpage
In a default installation:
and loads the Welcome to XAMPP
page via a redirection in the index.php code to
Typing this does the same thing except bypasses the first
and opens the index.php in the xampp
If you put your web site in
and then you type
you will see the Welcome to XAMPP
page just as before.
Your site in the webs
directory is not known yet as the default site to the server.
If you type
Then your web site's index page will be displayed but not as the default site.
pointed out, if you remove or rename the files already in the directory
and place your own index page complete with a redirection to the web site index page in
you will see your web site's index page (as in the Welcome to XAMPP scenario).
It has now become the default web site.
If you place all
your web site files including your site's main index file and all sub directories of your web site into the
directory and type this
You will see your web site as the default site (but with no need for a redirect).
The Welcome to XAMPP
page is still available by typing
All you have done in effect is replace the default Welcome to XAMPP web site with your own web site as the default.
Using the above method does not entail changing any configuration files, at this stage, from the defaults.
So if you changed anything I suggest your revert to the original httpd.conf
The other method mentioned entails editing the xampp\apache\conf\httpd.conf
All your web site files should be in the directory
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
# This should be changed to whatever you set DocumentRoot to.
Always make a backup copy of any original conf files before editing them so you have good copies if you ever have to revert.
Always restart Apache if you do make any changes in any conf files to have those changes recognized by the server.
Take a look at the new DeskTopXampp
launch control for XAMPP
posted by ridgewood
http://community.apachefriends.org/f/viewtopi ... 967#103967
Also available here: http://zedfiles.com/DTX/
I highly recommend DTX.