Skip to main content

Apache & SSI usage

Comments

4 comments

  • cPanelMichael
    [quote="cgimickalo, post: 1474791">Ok it does work with the .shtml extension, must have missed that, but can not get it to work the .html extension even after adding the AddHandler server-parsed .html in the httpd.conf file unless I need to change something too.
    Could you let us know what entries are entered into the .htaccess file within the account? Also, please browse to "WHM Home " Service Configuration " Apache Configuration " Global Configuration" and let us know if "Includes" is enabled under "Directory "/" Options". Thank you.
    0
  • cgimickalo
    Yes "Includes" is enabled, the .htaccess file is empty. I added the "AddHandler server-parsed .html" handler to the httpd.conf, restarted apache, exactly as we did on our other server running the exact same apache version. and it worked fine. It does work with the .shtml extension but not with the .html extension. Some of our customers who transferred over where using SSI with the .html extension. Mike
    0
  • cPanelMichael
    Please try adding the following line to the .htaccess file within the account's public_html directory: AddHandler server-parsed .html
    Let us know if this makes a difference. Thank you.
    0
  • cgimickalo
    that seems to do the trick but strangely it didn't seem to work earlier today when I added it to the .htaccess file but now it does ...... hmmmm! Oh well it's ok now. Thanks for your help. ;) Mike
    0

Please sign in to leave a comment.