I used the most recent stackscript (id=353) to setup Mercury-Pantheon. All went well but after setting up Vhosts, Apache won't serve Drupal. It will serve /update.php and static files however. I would normally suspect a problem with .htaccess, but it seems correct and is serving /update.php from the Drupal DB I loaded in to MySQL.
Code:
Page Could Not Be Loaded
We're very sorry, but the page could not be loaded properly. This should be fixed very soon, and we apologize for any inconvenience.
Debug Info:
Status: 500
Response: Internal Server Error
XID: 1175281737
Varnish
The default localhost port for Varnish to talk to Apache is 8080 which is clearly working.
etc/apache2/ports.conf:
Code:
NameVirtualHost 127.0.0.1:8080
Listen 8080
etc/apache2/sites-available/default (same as etc/apache2/sites-enabled/000-default):
Code:
<VirtualHost 127.0.0.1:8080>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
etc/hosts:
Code:
127.0.0.1 localhost.localdomain localhost
173.255.243.141 li253-141.members.linode.com li253-141
2600:3c01::f03c:91ff:fe93:150e li253-141.members.linode.com li253-141
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
apache2ctl -S:
Code:
VirtualHost configuration:
127.0.0.1:8080 is a NameVirtualHost
default server li253-141.members.linode.com (/etc/apache2/sites-enabled/000-default:1)
port 8080 namevhost li253-141.members.linode.com (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
Can't figure out what's wrong. Haven't setup DNS yet, just want to tweak Mercury and Drupal using the IP address before going live. Also, not sure, but the IP for user doc Apache directive doesn't look right. Shouldn't it be 127.0.0.1?