I have inherited a site build using php. The actual files are html and the htaccess file I believe tells the server to run the html files as php files. Here is the code:
AddType application/x-httpd-php .html .htm .php .inc
RewriteRule ^([^/]+).faq$ content.php?id=$1
RewriteRule ^([^/]+).news$ content.php?id=$1
RewriteRule ^([^/]+).blog$ content.php?id=$1
I had to get a new server. It is LInux and I am using a Plesk interface.
I have created all the sites. We have not changed the DNS until the sites are finished.
I cannot view the sites. As soon as I put in the IP address the browser tries to download the index.html file.