I just installed 6.14 successfully, but when I follow the link to the welcome page, or enter http://hostname/ in the browser, I'm asked whether I want to download/save the index.php file, so it is not being interpreted by the server. However, if I browse to http://hostname/index.php, I get the correct welcome page. From this, I assume that:
- PHP is installed correctly and is working (otherwise http://hostname/index.php wouldn't work)
- DirectoryIndex is at least partially working correctly, since browsing to http://hostname/ does give me the (uninterpreted) contents of index.php
The only difference I've made to the basic install is to use Apache's virtual server directives so that /var/www/drupal is the document root for hostname, and /var/www/html is the document root for hostname2, both of which have the same IP address. Here are the declarations for the drupal virtual server (with "hostname" replacing my actual domain name):
<VirtualHost *>
ServerName hostname
ServerAdmin webmaster@localhost
DocumentRoot /var/www/drupal/
RewriteEngine On
RewriteOptions inherit
LogLevel warn
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/drupal.access.log combined
<Directory /var/www/drupal/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Any suggestions?
Comments
More information
As an additional test, I added a call to phpinfo() in a file index.php that I put in /var/www/drupal/sites. When I requested http://hostname/sites/ I got the output of phpinfo(), so it works in a subdirectory of the root, but not in root.