troubleshooting Question

htaccess php problems

Avatar of vzorn
vzornFlag for United States of America asked on
PHPApache Web Server
9 Comments1 Solution358 ViewsLast Modified:
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
XBitHack full

Options +FollowSymLinks

<IfModule mod_rewrite.c>
      RewriteEngine On
      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.  
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros