Skip to main content








"Ask Bill why the string in [MS-DOS] function 9 is terminated by a
dollar sign. Ask him, because he can't answer. Only I know that."

  • Dr. Gary Kildall.

https://httpstatusdogs.com/418-im-a-teapot








Yes, back when SNI first enabled us to move away from IP based VirtualHost containers in Apache to the Name Based VirtualHost where many websites shared a single IP address, there were some interesting issues, such as the default VirtualHost being displayed if you didn't also specify non RFC compliant hostnames as aliases.

For example, there was a trend at the time to ignore proper usage of hostnames, with "www" generally being used as the traditional defacto, default hostname for a host delivering HTTP. i.e.,(http://www.SLD.TLD).

Similarly, you would usually name your first FTP server "ftp", and the protocol was specified as "ftp", yielding ftp://ftp.SLD.TLD, and gopher would be gopher://hostname.SLD.TLD in the address bar of your browser. Other protocols followed that same "protocol://hostname.4LD.3LD.SLD.TLD format, these child zones being a very common practice in universities in the .EDU and .MIL TLDs, as well as the .UK, .FR, .AU, .US, and some other ccTLD's (Australia has recently dropped that whole requirement for .com.au and .net.au finally lol).

So, although it was merely convention to name your hosts after the services they were delivering, like "www, www2, www3, Etc.", or ftp, gopher, Etc., Those were only conventions and you could name them whatever you wanted.

But you weren't supposed to use the canonical domain name as the hostname!

Nevertheless, as the "web" became more ubiquitous and average users, oblivious to other protocols, began to ask the question, "why do I need to type in all those extra characters for www.ibm.com (like http://www3.ibm.com) instead of just ibm.com?", in conjunction with the popular trend of browsers defaulting to "http://" protocol (unless you manually specified another protocol), many providers started to accommodate those hosting customers by breaking with the RFCs and pointing DNS A RRs to "@" or "SLD.TLD" - the canonical domain name, akong with another A record for "hostname.SLD.TLD" (usually still using www for the first website).

Now, when you query a DNS server for a hostname, it returns an IP address, no problem so far. And with IP based hosting it really doesn't matter what you call your website in your Apache server's VirtualHost container - it's just going to return a web page for the server at that IP address, coz that's all it's being asked: "Do you have HTML to send me for the IP address on this HTTP server?", And then it sends the page - coz there's only one website per IP address!

But with HTTP 1.1 and SNI it's a compound question:

"Do you have HTML to send me for the IP address with the hostname of 'www.SLD.TLD' on this HTTP server?"

If yes, then serve the page. If not however, it gets a little weird. The default VirtualHost container is usually the first one defined in httpd.conf, so on many web servers that's the page that says - "It Works!" lolz.

So, in DNS you had to have two A Resource Records (RRs) one for say, 'www', and one for '@', or you could use a CNAME RR if you're one of those lame-o boneheads (bad form - don't use CNAME's!), AND... You also either need to specify two <Named VirtualHost> containers pointing to the same directory, or just one with an Alias directive.

NOTE: you 'could' point to two different directories, but in 99% of all cases, why the heck would you do that?

I dunno why, but maybe coz many hosting providers didn't understand how to write a DNS zonefile in BIND or maybe coz they didn't grasp that the browser was actually now asking for an actual hostname with it's request to the IP address that httpd was listening on, but this resulted in a lot of "no joy" when people neglected to type in the "www", resulting in delivery of either someone else's website or the comical "It Works!" page (ROFLMAOPMP).

Adding insult to injury, the opposite could be the case when leaving out the hostname and just typing in the domain into the address bar, depending on how httpd.conf was configured - many knowledgeable sysadmins resisted this the because it wasn't RFC compliant, but eventually (the customer's money is always right), most default websites today just serve the canonical domain name as the main (or maybe even the only) hostname in a VirtualHost container in Apache with an alias to the 'www' hostname (or server block on Nginx.

As a little epilog, that came back to bite hosting providers, and moreso, their customers, in the last decade or so when the evil Cloudflare and ever popular WordPress came into prominence - To enforce their predatory vendor lock-in practices, Cloudflare offered free CDN services to people with websites... But only for one hostname per domain, AND, that hostname HAD TO BE "www", lolz...

Well, after a couple of decades of dumbing down the user and people setting the main name of their WordPress sites to, "SLD.TLD", this would cause, in the best scenario, to have their websites served to most people without the (so-called) benefit of Cloudflare's CDN... Unless you could retrain every user on the entire planet to type in the actual hostname (www), OR... pay Cloudflare lolz.... 🤘🤡🤘

Well my friend, That's all I've got right now, I hope you found that a bit amusing in a sort of nostalgic kinda way.

#tallship #ramblings #lamentations #humor #geek porn #BOFH #comedy

.









P.S. One last thing - try not to worry about what bacula does if your
clock somehow goes wrong and decides that it is 2037. Or 1970. Or last
week. 😀
- Graham Keeling

(Date: Wed, 12 Jan 2011 17:41:42 +0000)

tallship reshared this.



The creator of DOS


"IBM wanted CP/M prompts. It made me throw up."

— Tim Paterson






I was asked to Interview at #JPL once for an immediate need contract to address some infrastucture issues back in the NT 4.0 days.

The interview itself went well between me and three staff members, and at the end they gave me a quick tour of the facilities and team members I would be managing.

I figured I would be receiving a call and offer letter in the next day or two, but before I left, they led me to a room with some workstations and asked me to take a test.

I declined.

Less than a month later, two of those interviewers in the group were among the students attending a Core Technologies class I was teaching in the #MCSE program.

"When you boil the water, you really should just make the damn coffee."
  • me -
#tallship #interviews #testing #certifications You no can haz #Cheezburgerz! 🍔 #nimrods



.

reshared this









Testing...


Testing *testing* _testing_ **testing** __testing__ `testing` ... Tested.









Time to build another musical practice tool


It's Sunday and it's snowing big time out there. Time to build another musical practice tool. This time with https://metacpan.org/dist/Data-Dataset-ChordProgressions and friends. #perl #music

Gene Boggs reshared this.



MIDI-Perl Tabla drums


I finally found the tabla soundfont at https://gleitz.github.io/midi-js-soundfonts/ - So naturally I tried to imitate a tabla player! Here's the code: https://github.com/ology/Music/blob/master/tabla and here are the 1st couple runs, in decreasing order of schizophrenia: https://ology.net/tmp/tabla/tabla-01.mp3 & https://ology.net/tmp/tabla/tabla-02.mp3 & https://ology.net/tmp/tabla/tabla-03.mp3 - All are painfully feeble compared to real tabla payers! 😁 #music #perl


Bird's Mohawk in MIDI-Perl


Just finished up adding a bit more functionality to my MIDI bassline generator https://metacpan.org/dist/MIDI-Bassline-Walk - It isn't the best bassist by a long shot. But here is a version of Bird's https://github.com/ology/Music/blob/master/mohawk => https://ology.net/tmp/from-midi/mohawk.mp3 #perl #music

Gene Boggs reshared this.