3 ms·
I hope everyone winds up with a few of these stories after long enough. They're great to have. One night I came in from "lunch" (2nd shift...) and saw three g
by rachelbythebay 14y ago
I hope everyone winds up with a few of these stories after long enough. They're great to have.
One night I came in from "lunch" (2nd shift...) and saw three guys standing around a laptop trying to make something work for a customer. They had an Apache install which was supposed to log something to a given file, but they'd poke the machine with their browser and would get nothing in the log file.
I walked by on my way to my desk and one of them grabbed me. I couldn't type anything (because one of them was already in the way), but I could see what was already on the screen. It was a chunk of the config file and it looked a little like this:
<VirtualHost 72.3.x.x:80>
# (directive to log to that file was here)
...
</VirtualHost>
I asked them to run 'ifconfig'. They did. The machine had 192.168.x.x IPs because it was sitting behind a firewall doing NAT -- a fairly common config for our customers. Apache is pretty strict about matching things when you use an explicit IP+port, so it wasn't using that virtual host to service the hit, and thus the log directive wasn't used, either.
I just said, okay, change the IP on that line from 72.3.whatever to 192.168.whatever and reload the config and try it again. They did, and it worked, so I continued back to my desk.
From what I heard, they had spent over an hour trying to figure it out. I didn't type a single character and never even sat down. I chalked it up to luck and went on with life.
- subway 14y agoI think I just realized who you are, and that I worked on that team after you left the company... (munix) The time I spent working with those folks was one of the most educational periods of my life.
- rachelbythebay 14y agoUh oh, so now the question is who you are. I suggest you shoot me a message out of band (see profile).