Re:I wish my web server were in the corner of my room
by thakoppno on Tuesday October 11, 2022 @03:07PM
(#33167746)
What mechanism tied an inbound http request to the moo?
[ Parent
| on HN ]
Re:I wish my web server were in the corner of my room
by digitalsushi on Tuesday October 11, 2022 @03:17PM
(#33167909)
I was using a log watcher that could run a command on a regex match, but I remember having an elaborate .htaccess that would shell out all kinds of things... many ways to tie them together, all very hacky.
Re:I wish my web server were in the corner of my room
by thakoppno on Tuesday October 11, 2022 @03:25PM
(#33168034)
thank you for this insight.
it might not even be that hacky to be honest. in some ways modern log aggregation isn’t that different, just insulated by more steps and safe guards. less moos though.
Re:I wish my web server were in the corner of my room
by RockRobotRock on Tuesday October 11, 2022 @03:17PM
(#33167912)
I'm trying to imagine what was popular back then. A Perl CGI script?
Re:I wish my web server were in the corner of my room
by valleyer on Tuesday October 11, 2022 @03:37PM
(#33168197)
Perhaps showing my age, but that is still how I would do it. It's dead simple.
Re:I wish my web server were in the corner of my room
by kqr on Wednesday October 12, 2022 @02:02AM
(#33173427)
Even simpler is tailing the access log into a script that makes sound upon matching the correct path.
Re:I wish my web server were in the corner of my room
by numpad0 on Tuesday October 11, 2022 @04:12PM
(#33168640)
Years ago I had /var/www/lights_on.sh that turned lights on in my room. Only hardened against RCE by Wi-Fi password, but was possible. It broke later. The real problem was that browsers sometimes prefetched it.