#serversideincludes — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #serversideincludes, aggregated by home.social.
-
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
-
A short writeup on the scripting I wrote to embed my Mastodon feed in a static HTML page. No JavaScript needed.
https://www.softwolves.com/wolfblog/2023/12/18/adding-a-mastodon-feed-to-a-static-html-site/
-
I just enabled #Apache #ServerSideIncludes on my #blog. It looks like the #performance penalty is less than 1ms. I like that.
-
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 :-).
-
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 :-).