The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Execute *.html

Discussion in 'General Discussion' started by fairplay, Jan 15, 2004.

  1. fairplay

    fairplay Member

    Joined:
    Sep 16, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I want all file have .html extension can execute like a "php" file. Can you show me how to config? Thanks!
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    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.
     
Loading...

Share This Page