Life of a Plesk Admin

Where i go for Geek

Main menu

Skip to primary content
Skip to secondary content
  • unix / linux
  • plesk
  • svn
  • mysql
  • apache
  • .htaccess
  • amazon
  • php
  • networking

Category Archives: php

Process .html as PHP

Posted on April 9, 2009 by admin

To setup a Linux server running Apache web server to process .html (.htm) files as PHP. create an .htaccess file in the root folder of your website and add these lines to the .htaccess file:

AddType application/x-httpd-php .htm
AddType application/x-httpd-php .html

Source: http://www.lgr.ca/blog/2007/02/process-html-as-php.html

Posted in .htaccess, php

Show some love

Recent Posts

  • How Do I Display the Contents of a Linux File?
  • Enable connecting remotely to mysql database on CentOS
  • Start svn server
  • How to setup a Proxy Server using Hamachi and Privoxy
  • How to Find & Replace Data in MySQL

Archives

  • January 2012
  • October 2011
  • July 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • November 2010
  • September 2010
  • July 2010
  • May 2010
  • March 2010
  • February 2010
  • December 2009
  • November 2009
  • October 2009
  • May 2009
  • April 2009

Contact Me

Thank you for your interest! We will contact you shortly.

Proudly powered by WordPress