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
Very excited to be part of #CommunityOverCode Asia again!
Will be (remotely) presenting a practical guide to rendering in web applications, with sprinkles of #ApacheSling, #ApacheOpenwhisk and #ApacheHTTPd
#ApacheHTTPd still has mod_userdir.
https://httpd.apache.org/docs/2.4/howto/public_html.html
Not sure what the #nginx equivalent is.
Translating nerd speak for the regular citizens:
"Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
Basically means:
"You screwed up. But that's okay. We screwed up too. We all make mistakes. That's just how the world works. We should all calm down."