Greetings,
I am having an issue where we originally had a site up and running using the default domain that the host provided us. Yesterday I began to point our main example.com domain to the new webhost. Since it began switching when I try to visit the site in any browser I get a prompt telling me:
"You have chosen to open
which is a: application/x-httpd-php
from: http://example.com
what should firefox do with this file?"
I have tried restarting both apache and the server. .htaccess directives(these worked before the nameserver change):
RewriteEngine on
RewriteBase /
Options -Multiviews
DirectoryIndex index.htm index.html index.php
# Use PHP5 as default
AddHandler application/x-httpd-php .php
AddType application/x-httpd-php .php
to get the site to stop doing this when it was the default domain, but now they seem to have no effect.
In my httpd.conf file I have the following:
<VirtualHost example.com>
DocumentRoot "/var/www/host/example.com/httpdocs/"
<Directory "/var/www/host/example.com/httpdocs/">
Options FollowSymLinks
AllowOverride All
Order deny,allow
allow from all
</Directory>
</VirtualHost>
Any ideas? Thanks so much for any help.