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.

Server Side Includes

Discussion in 'General Discussion' started by jman1764, Mar 27, 2006.

  1. jman1764

    jman1764 Registered

    Joined:
    May 9, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have a customer that is migrating to our services but an issue that came about is that they use a ton of SSIs within .html files. Apache won't excute the SSI within a .html file. I've tried adding
    AddType text/html .html
    AddHandler server-parsed .html

    but that did not work. Is there a way I can allow .html files to excute the includes within them? I would force the customer to use .shtml but there are over 27,300 internal references!

    Thanks for your input.

    JT
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    go into the site cpanel and then apache handlers and add

    .html server-parsed
    .htm server-parsed

    and it will work we have several sites setup exactly this way
     
Loading...

Share This Page