AddHandler server-parsed .html

Discussion in 'Apache' started by login, Jan 16, 2008.

  1. #1
    It should be enough to write

    AddHandler server-parsed .html

    in .htaccess fto make the .html page show ssi, right?

    The code for the ssi file is

    <!--#include virtual="http://www.blabla.info/tradrads/footerad.php" -->

    But I cant get it to work, footerad.php does not show and I get the meesage:
    [an error occurred while processing this directive]

    Do you have a solution? green rep to good answers:)
     
    login, Jan 16, 2008 IP
  2. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Ok, I found the answer myself. For anyone that is interested:

    <!--#include virtual="http://www.blabla.info/tradrads/footerad.php" --> does not work, but

    <!--#include virtual="../tradrads/footerad.php" --> works :)

    rep to myself :D
     
    login, Jan 16, 2008 IP