Hi all ...
I've been trolling the forums to see if I could find a problem similar to mine, but no luck. Here's how it works ...
I have a perfectly good web page called index.html and I would like to add a little php in there. The rest of the site is mainly php. The obvious thing to do was simply change index.html to index.php, right?
Uh uh ... wrong ... dreaded internal server error.
Next trick, scour the web and find a fix. Apparently i need to add as below to the .htaccess file that sits in the same directory as my web pages.
For web servers using PHP as apache module:
AddType application/x-httpd-php .html .htm
For web servers running PHP as CGI:
AddHandler application/x-httpd-php .html .htm
OK, let's give it a go .... one at a time eh.
Terrific ... now I'm being asked if I would like to download a file when I try to access the site.
What in the world is going on here?
Oh yes ... webhost tells me apache 2.2.14 and php 5.2.11.
Thanx in advance, I'll try not to cut my wrists meanwhile :queasy:
G-fer.