I recently created a new account on Godaddy and want to configure the .htaccess file to be able to handle php in htm or html files. I have tried AddType and AddHandle but am new to this. Anyone know the exact code needed for a Godaddy .htaccess file?
[FONT="]I'd like to attach a link to our help center article, but I don't have enough posts yet! Instead, I will direct you to the help center article that will get this cleared up. First, access the url help.godaddy.com (no www). Once there, type- How do I use htaccess to manage my PHP file extensions? in the search for field and you will find it is listed second. Alicia R. Go Daddy Hosting[/FONT]
Thanks for the reply and help. I have actually been to that page and tried both: AddHandler x-httpd-php5 .php AddHandler x-httpd-php .php4 but neither one worked. I finally called up and asked what was going on and found out that I was actually on a Windows server even though I selected Linux. Now the note on the top of the page "NOTE: This content only applies to our Linux shared hosting accounts running Hosting Configuration 2.0." makes more sense. I am still waiting for them to switch over the account from Windows to Linux and I'll let you know if that fixed my problem.
That did the trick! I added: AddHandler x-httpd-php5 .php .htm into my .htaccess file and htm files are now being process as php. I guess you just need to make sure you are on Linux - PHP.