home.social

#serversideincludes — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #serversideincludes, aggregated by home.social.

  1. Today's stupid #webdev trick:

    I'm using #ApacheHTTPD web server with #ServerSideIncludes, and needed to set a response header.

    The solution was to set a variable in the .shtml file, e.g.

    <!--#set var="OVERRIDE" value="1" -->

    and in the server configuration add

    Header set My-Header "new-value" env=OVERRIDE