PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
gyardleydn
Forum Commoner
Posts: 27 Joined: Tue Dec 03, 2002 8:27 am
Post
by gyardleydn » Tue May 25, 2004 11:08 pm
I recently created a web site hosted by 1and1.com I created a .htaccess as seen below but his did not work.
Code: Select all
AddType application/x-httpd-php .html
This appears to be an unkown mime type. Does any body know alternatives I could try?
maqmus
Forum Commoner
Posts: 30 Joined: Mon Mar 08, 2004 1:10 pm
Post
by maqmus » Wed May 26, 2004 3:27 am
This is the right code.
Have you tried to change the extension to .php? This will rule out if the problem is with the PHP code itself.
I've searched for another option but never found it.