HTTP Error 411: Length required

Today I noticed something strange in the access report of this site. In the error codes list I found error 411.

Since I haven’t seen this error code before, I googled on internet for some more information.

The official RFC 2616 says the following: The server refuses to accept the request without a defined Content-Length. The client MAY repeat the request if it adds a valid Content-Length header field containing the length of the message-body in the request message.

It appears that a server is returning code 411 when a client (=browser) tries to send data to the server without specifying the size of the data. Normally a client only receives data from the server (reading pages), and all common modern browsers are programmed in such a way that they include the data length when sending data.

Therefore I suspected that somebody with a home-grown application had tried to mess with my site. I did a quick grep in my Apache log files and found out that somebody had accessed the file mt-xmlrpc.cgi with an application that identified itself as Java/1.4.1_01.

This file is a XML-RPC interface to Movable Type, allowing other applications to interact with MT, for example to publish entries on this site from a special desktop client.

Since I am the only responsible for this site, nobody but me has any reason to use this file. This visitor also triggered my Spam trap, and was already blocked from my system, but if not, his badly programmed application did ring the alarm bell.

Pentagrama

I just found a small list on my desk, and remembered that I wrote it last Friday (or better said! Saturday morning) to publish it later on this site.

The aim was to make it clear that I had a great night, visiting my favourite club Pentagrama again.

These are the titles and artists of some songs they played, and people who know me and these songs can imaging that I was enjoying a lot.

  • London calling — Clash
  • Personal Jesus — Depeche Mode
  • Black Betty — Ram Jam
  • Tunnel of love — Dire Straits
  • Should I stay or should I go — Clash
  • Entre dos tierras — Héroes del Silencio

[Update 2003.08.28]: Coen van Kuijk sent me a list which contained only one mistake. After a small hint he was able to give me all the names of the artists.

[Update 2003.09.03]: Since I haven’t received any other messages, I decided to fill in the artists and close the competition.

Work to do

When I designed this site, I of course tested the layout on my Windows computer. I know that it looks alright with IE6 and Mozilla, and I suspect that it looks acceptable in most other OS/browser combinations.

If I would be a professional designer, I would run it through the famous BrowserCam, but my little site is not worth the money.

Of course there are some emulators available, which might give you an idea of how your site looks, but remember that if something looks wrong you never know for sure whether it is your code or the emulator.

A new emulator I found today, shows how this site looks on an iPaq PDA.

Mmmm. Header to big, no skip navigation link, useless side column, font too big, … But still readable. I also loaded the Fimcap site, which still has a tables based layout, and that looked way worse. To read the text you have to keep on scrolling.

I guess I will have to make a new stylesheet, or maybe serve PDA’s the print stylesheet. But the print stylesheet removes all the navigational elements…

Anyway, the coming days I will tweak this site so it will look better for my mobile readers — do I have any?

Copy protection

First a question for the music industry: “What the heck are you doing?”

Yesterday MJ gave me a present; the CD Fleshwounds from Skin.

Of course I was really happy with it, but I immediately noticed a big label on both sides with the words COPY CONTROLLED. In the specifications I read that this CD would work in any CD-player, the latest Macs and PCs with minimal Pentium II, 233 MHz and 64MB RAM. I am perfectly happy with my Cyrix P133+ with 48MB RAM, and until now I was able to play any CD I liked.

Of course I tried to play the CD, but my computer could not find the CD. 🙁

I really like buying CD’s; I prefer to buy one to using a copied CD. Because for me the CD is more than just the disk with the bits and bytes. I like to look at the artwork in the booklet, and no inkjet printed paper gives me the same feeling as the original CD.

And because I usually buy older CD’s, I never feel that I pay a lot; of course I wouldn’t complain if they became cheaper.

So I buy the original CD’s because of the better quality of the total product.

But now the record companies are throwing in their own windows, because they decrease the quality of their product. And why would I want to pay a lot for something that is broken?

I don’t have any problem yet, since there are so many old CD’s out there that I still want to buy. But I can assure that I am never ever going to buy a copy protected CD anymore. Not because I want to copy it, which I feel is my right, but because it is essentially a broken product.

You can read more about copy-protected CD’s at Kuro5hin or if you truely want to know everything you can go to the UK campain for Digital Rights.

corrupt disc

Viruses

Most viruses that replicate themselves through e-mail forge the from: field of their messages. Usually they take a random address, or pick one from your address book or web cache. Therefore, a virus appearing to come from jeroen@example.com, rarely really originates from this address.

I can image that some users don’t know this, and when they receive a virus from me they send me a reply with a warning that I have a virus.

Usually I explain these people the story above and tell them, of course after checking that my anti-virus software is up-to-date, that I don’t have a virus. No problem for me.

What I don’t understand is that some people who are responsible for really big mail servers also don’t understand that viruses forge headers, and have their servers configured in such a way that they reply to me.

Of course they have the right to block a message with a virus to protect their customers. But please don’t bother me with these messages. I can assure you that I am not the one sending these messages; just check the mail headers and you will see that they originate from a completely different server.

This morning somebody who apparently had visited my site cached a virus and started sending out the virus in my name. Luckily for him, his provider scans all incoming SMTP mail and intercepted all messages.

Instead of simply not accepting these messages, they had configured procmail to send a warning to the address mentioned in the from-field (me) including the virus!!!!!

As a result, my inbox is flooded with viruses from this server (mail.infosys.tuwien.ac.at).

Once again, none of my computers is infected with a virus.

Plug-in Manager

I have written before about the Movable Type plug-ins I use for this site; at this moment I am using seven different plug-ins.

The more plug-ins you use, the more difficult it becomes to maintain the site. Because once in a while new versions appear, and I don’t want to scan seven (eight if you include MT itself) sites to see if updates are available.

But now there is the MT Plug-ins Manager. I downloaded the files, placed them on the server and fired up the page. A neat list with all available plug-ins appeared.

Since I didn’t install my plug-ins with this tool, the plug-in manager did not know yet which plug-ins I already have installed. So I went to the Manual Registration section, where I could specify the version number and plug-in name of each file in my plugins directory.

After entering these details I went back to my main page, and noticed an update button next to the IfEmpty plug-in. I was using version 1.1, while the latest version is 1.11. I clicked the button, waited some seconds and my plug-in was updated.

This is great!!! No more downloading from different sites, unzipping, FTP-ing,… One click on the button does the job.

Saying goodbye

Bye

Tomorrow evening my parents will be flying back home.

They have been living with us for one week now, and it has been really wonderful. At this moment they are enjoying the weather in the swimming pool, just like most other afternoons.

Before going home, they will say goodbye to my in-laws.

They can get along very well, despite of the huge communication problems they have.

Tonight we will surely play some cards (for the last time) and have a small dinner. Tomorrow they will pack their backs, go one more time to the swimming pool, and catch the airplane.

We will surely miss them; our house will be more empty without them. But the good news is that we will see them again when we will visit the Netherlands next month.

Comment form problems

I am having some problems in the comment form of my individual archives.

After entering a comment, the form correctly sets the mtcmtauth, mtcmtmail and mtcmthome cookies.

But if I view the page later, the contents of these cookies are not loaded into their respective fields (I’ve tried it with Moz and IE6). My browser tells me that document.comments_form.email is zero or not an object. Of course I checked my template, but I cannot find anything strange.

The <form> element has id=“comments_form”, and the field is also nicely called email.

I don’t know where to look further anymore. Can somebody have a look at this page, and help me with the solution?

My parents are here

Yesterday evening my parents arrived for a short holiday in our house. I came home from work a little bit late, so I had to run a little bit to be ready before they arrived. I cleaned the last things, ironed our clothes and prepared a spinach/salmon quiche and a salad with cheese and apple.

When MJ arrived with them, I showed them around in our house. My mother only had seen it before we started the reconstruction, and though my father had visited us in January, enough things have changed in the mean time.

At half past ten we started our supper, which was even for us a little bit late. Fortunately my parents had eaten some krentenbollen (anybody knows the translation?) in the airplane. After supper we talked a little bit and we showed them our holiday photo’s from Croatia.

This morning before going to work, I prepared the table for breakfast. While they were eating, I gave them our map of Lleida and explained them where our house is and where they can find interesting things. I also explained them how to make coffee and gave them the keys of the house. I am sure that they will be alright.

Braintags update notifications

Some of you receive a message whenever I update this site. You can become a member of my update list by filling in your details on the form on my first page. I am using an external service (Bloglet) to handle these messages.

But now that I have my new provider, I am taking things in my own hands again. I have created a MailMan mailing list to which I will add all people receiving messages . At this moment I am still testing—in fact, this post is a test to see whether the notifications arrive to the list—and as soon as everything works, I will change the form on my site, so new subscription will automatically be added to the list.

Movable Type supports a notification list, but has no mechanism to manage this list. I will have to add, remove and change all addresses by hand, and since I am lazy I looked for a way to automate this. So now the only e-mail address in the MT notification list is the mailing list address. After that, MailMan will take care about distributing the message to all interested persons.

MailMan also provides a management interface where the recipients of my messages can configure their accounts.

[Update 12.08.2003] The test performed by this message worked flawlessly, so I deleted the Bloglet service and replaced the subscription form by a MailMan form. In the mean time I was able to help some other people setting up MailMan for their subscriptions by pointing them to the FAQ How do I create a newsletter/announcement/one-way list?.