make file in notepad, notepad++ or other PLAIN TEXT Editor. Do NOT use WORDpad, Word, etc.
put this in it:
Code:
AddType application/x-httpd-php .html .htm .it
AddHandler application/x-httpd-php .html .php .htm .it
no extra spaces, each on it's own line. Save it to your desktop, name it "file.txt"
upload it to your server in the HIGHEST point possible (usually / - root) if you have a public_html or root folder it need to go outside that.
once uploaded rename to ".htaccess" Doing this will make sure it is uploaded in the right context (Binary vs. ASCII).
Make sure its CHMOD is 644, nothing else.
it should now work. If not, then ask your server host if .htaccess is supported on the server.
Bookmarks