Drupal/Apache problems...

Olwe Bottorff <galanolwe-/[email protected]>
Newsgroups gmane.org.user-groups.aclug.discussion
Message-ID <[email protected]>
I'm trying to setup Drupal6 to work with multiple sites for off-line home computer practice. I want a site practice1.local and a practice2.local, accessible from the browser, of course. Their docs (very conflicting) and the forum say create a new sites-available file: /etc/apache2/sites-available/drupal and put this in it:
<VirtualHost *:80>    ServerAdmin webmaster@localhost
    DocumentRoot /usr/share/drupal6
    <Directory /usr/share/drupal6>        AllowOverride All    </Directory>        ServerName practice1.local    ServerAlias practice2.local
    RewriteEngine On    RewriteOptions inherit</VirtualHost>
in order to have two drupal sites and go to them with http://practice1.local and http://practice2.local in the browser. And also I must change my /etc/hosts to include the new names:
127.0.0.1       localhost127.0.0.1       practice1.local127.0.0.1       practice2.local127.0.1.1       mycomputer127.0.1.2       gfhome.local
 So I establish the symlink with a2ensite to put drupal in .../sites-enabled/ then I do a apache2 reload, and get this error message:
# /etc/init.d/apache2 reload * Reloading web server config apache2                                                                                     apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Drupal also wants directories .../sites/practice1.local and .../sites/practice2.local with all the stuff from .../sites/default in them. Good. Done. But I only get a white page when I try to go to http://practice1.local or practice2.local
Any ideas what I'm doing wrong?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.