How to deploy a #Mojolicious web app to shared web hosting with Apache and CGI?
I’m having problems configuring ".htaccess" so that all pages are transparently handled by myapp.pl as a CGI script without revealing the CGI path and without breaking links in the app.
See here for details:
https://serverfault.com/questions/1190950/setup-mojolicious-app-transparently-via-cgi-with-apache-mod-rewrite
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