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

  2. Anyone remember Server Side Includes (SSI)? Back when dynamic pages had to be done through CGI and you wanted something really simple SSI actually worked out really nice.

    Not that I'm ever thinking of using it again, it just occurred my mind :-).

  3. Anyone remember Server Side Includes (SSI)? Back when dynamic pages had to be done through CGI and you wanted something really simple SSI actually worked out really nice.

    Not that I'm ever thinking of using it again, it just occurred my mind :-).

    #ssi #shtml #html #ServerSideIncludes