1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache removes last-modified upon the inclusion of Addhandler

Discussion in 'Apache' started by ankush819, Sep 8, 2014.

  1. #1
    I was trying to make apache send the last-modified header for my html files. But it isnt sending as I had this in my configuration file

    AddHandler server-parsed .html

    When i comment the line i can see the last-modified header in my response. But, when I comment it I also see that any SSI command inside a html file is ignored.

    So i had the directive XBitHack On set which re-enables the SSI inside a html file. But for this directive to work we need the execute bit set on all html files, which is not the case in my server.


    So my question is, is there any way to have both SSI enabled inside a html file as well as having the last-modified set for these files

    Thanks
    Ankush
     
    ankush819, Sep 8, 2014 IP