Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    318
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice