Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    11

    Default Execute *.html

    I want all file have .html extension can execute like a "php" file. Can you show me how to config? Thanks!

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    If you are not running phpsuexec:

    AddType application/x-httpd-php .php .php3 .phtml .html .htm .php4

    Else, if phpsuexec is running:

    AddHandler application/x-httpd-php .php .php3 .phtml .html .htm .php4

    Each entry should be ONE line.
    Beau Henderson

Similar Threads & Tags
Similar threads

  1. Permission (execute)
    By diftec in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-03-2009, 03:06 PM
  2. inserting external html files into a html file
    By ezcybersites in forum New User Questions
    Replies: 1
    Last Post: 08-26-2006, 11:33 PM
  3. PHP does not execute...
    By horrighs in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-08-2005, 10:16 PM
  4. cron sends html source not a html email
    By ctbhost in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-02-2005, 11:12 AM
  5. Choosing preference between index.html & default.html etc
    By thedjmixman in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-01-2004, 12:24 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube