- Code: Select all
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /usr/share/drupal6
ServerName practice1.local
ServerAlias practice2.local
<Directory /usr/share/drupal6>
DirectoryIndex index.php index.html
Options +FollowSymlinks
AllowOverride All
RewriteEngine On
RewriteOptions inherit
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Hier ist mein /etc/hosts:
- Code: Select all
127.0.0.1 localhost
127.0.1.1 olwelap
127.0.1.2 gfhome.local
127.0.0.1 practice1.local
127.0.0.1 practice2.local
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Ich habe die richtige entsprechene Dirs fuer Drupal gemacht, dh: /usr/share/drupal6/sites/practice1.local und /usr/share/drupal6/sites/practice2.local
Aber beim
- Code: Select all
/etc/init.d/apache2 reload
- Code: Select all
* Reloading web server config apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Was klappt hier nicht?