Drupal "Page not found" in XAMPP Windows Multisite Installation
1:33 AM 05-May-09
My system:
XP Home SP3
XAMPP 1.7.1
Drupal 6.11
The chronology as follows:
-
After installing XAMPPP, I installed Drupal 6.11 core as usual and settings.php URL is http://localhost/drupal6.
-
I was able to login/out with no problem from the abv URL.
-
Created new folders under /sites and changed settings.php to show up at these URLs:
http://ecomm.drupal6.localhost
http://ubercart.drupal6.localhost
http://test1.drupal6.localhost
http://test2.drupal6.localhost
- Added these lines in httpd-vhosts.conf
NameVirtualHost *:80
DocumentRoot F:/xampp/htdocs/drupal6
ServerName drupal6
DocumentRoot F:/xampp/htdocs/drupal6
ServerName ecomm.drupal6.localhost
DocumentRoot F:/xampp/htdocs/drupal6
ServerName ubercart.drupal6.localhost
DocumentRoot F:/xampp/htdocs/drupal6
ServerName test1.drupal6.localhost
DocumentRoot F:/xampp/htdocs/drupal6
ServerName test2.drupal6.localhost
- Changed Windows host file:
127.0.0.1 localhost
127.0.0.1 drupal6
127.0.0.1 ecomm.drupal6.localhost
127.0.0.1 ubercart.drupal6.localhost
127.0.0.1 test1.drupal6.localhost
127.0.0.1 test2.drupal6.localhost
- I was to browse, login/logout from the new sites.
http://ecomm.drupal6.localhost
http://ubercart.drupal6.localhost
http://test1.drupal6.localhost
http://test2.drupal6.localhost
-
Problem encountered.
-
When I browsed to http://localhost/drupal6 I get a drupal page not found.
-
When I browsed to http://localhost I get a drupal login page. I login and thereafter get a a drupal page not found.


"1.After installing XAMPPP,
"1.After installing XAMPPP, I installed Drupal 6.11 core as usual and settings.php URL is http://localhost/drupal6."
I found the mistake.
To begin with the multisite installation, config the settings.php in the default folder to
$base_url = 'http://drupal6'; // NO trailing slash!
and not
$base_url = 'http://localhost/drupal6'; // NO trailing slash!
The documentation somewhere in drupal.org wasn't tidy.
TQ
===================
I am not a techie. I am into e-commerce.