This strikes me as really odd behavior.
Background: I have 4 sites running on Apache2 VirtualHosts. Nginx runs as a front-end proxy. My configuration uses mod_rewrite and .htaccess.
Ok. So I was attempting to upgrade from 9.04 to 10.04 LTS. Got to 9.10 and tested -- all sites still working. Decided to move on to 10.04.
My server comes back up and now only 2 sites work. The other two give "HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request." (in chrome).
I have an .htaccess file in the base directory -- configured to redirect the same to all sites:
Quote:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.site1.com$
RewriteRule ^$ site1/webroot/ [L]
RewriteCond %{HTTP_HOST} ^www.site1.com$
RewriteRule (.*) site1/webroot/$1 [L]
RewriteCond %{HTTP_HOST} ^www.site2.com$
RewriteRule ^$ site2/webroot/ [L]
RewriteCond %{HTTP_HOST} ^www.site2.com$
RewriteRule (.*) site2/webroot/$1 [L]
</IfModule>
etc. The apache configurations are identical except for the domain names. Nginx is not the problem (I tested by requesting .jpg files).
Any ideas on how upgrading to 10.04 from 9.10 could break two of my sites but not the other two? There are differences in the php ... but I can't figure out how this could cause this error.
Any tips would be greatly appreciated.
Thanks