Because now your new DocumentRoot is
xampp/htdocs/newroot and anything out of this directory will not be allowed to be served.
The only way to get that old directory to be seen is to move
xampp/htdocs/xampp into your new DocumentRoot
xampp/htdocs/newroot/xampp- this is a server security issue as it prevents someone being able to access any directory other than from within the DocumentRoot.
http://localhost/xampp will then be the address for these old files.
http://localhost/ will give you your Drupal script
You may also have to run
xampp\setup_xampp.bat file to have the new paths to the xampp directory location recognized.
BTW it is not a good idea to change the DocumentRoot for the purpose you have mentioned as it only causes confusion, as you have found out.
The easiest and preferred way would have been to delete the
xampp/htdocs/index.php from the
xampp/htdocs directory and place all your Drupal files in the
xampp/htdocs directory and proceed to install Drupal.
Then you would have had the same result without moving anything.
http://localhost/ - would have served Drupal
http://localhost/xampp/ - would have severed the
XAMPP Welcome Page.
It's still not to late to put everything back to the defaults and follow the above instructions - you may have some unexpected adverse situations raise their ugly head in the future doing it the way you did.
===========================================
1. The new
DeskTopXampp Launch Control for
XAMPP / XAMPPlite
Posted by
Ridgewood available from Ridgewood's
DTX web site
2. Build Rich
AJAX Applications - Faster
TIBCO General Interface Pro Edition but
FREE and
Open Source
Fully working with
NO donations required to get a user/password
===========================================