Drupal "Page not found" in XAMPP Windows Multisite Installation

rafiqcmnet's picture

1:33 AM 05-May-09

My system:

XP Home SP3
XAMPP 1.7.1
Drupal 6.11

The chronology as follows:

  1. After installing XAMPPP, I installed Drupal 6.11 core as usual and settings.php URL is http://localhost/drupal6.

  2. I was able to login/out with no problem from the abv URL.

  3. 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

  1. 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

  1. 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

  1. 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

  1. Problem encountered.

  2. When I browsed to http://localhost/drupal6 I get a drupal page not found.

  3. When I browsed to http://localhost I get a drupal login page. I login and thereafter get a a drupal page not found.

Groups:
Login to post comments

"1.After installing XAMPPP,

rafiqcmnet's picture
rafiqcmnet - Wed, 2009-05-06 11:48

"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.