You are here: / home

Thu, 24 Apr 2008

Open Source Census

Meike wonders about Open Source Census and their 45 MB tarball (and several other strange things).

The good news is: There is a 270KB ruby thingy which seems to do the same, and even while marked as Expert User Only it seems to run just fine... I think; I lost patience after it scanned my /home for 6 minutes, and I didn't found a possibility to tell it not to scan my /home (which I don't wont him to scan) or /srv (which just contains a lot of files where it won't find anything usefull).

BTW: While we are at complaining at them: Please make the system so, that I don't need to register to send you my data. Thanks.

postet at 23:20 into [Debian] permanent link


Sun, 20 Apr 2008

Planet as mailing list? Why not DPN?

Jörg Jaspert wonders, if planet.debian.org should be available as a mailing list, too. That's a proposal to solve the problem, that planet has been used by more or less official announcement and discussions, but not all people have time / want to read planet.

An other solution would be to make sure, that important blog posts are mention in the next issue of the Debian Project News (which have just been started and could still need some help).

postet at 14:14 into [Debian] permanent link


Sun, 06 Apr 2008

Bad timing, is...

deciding to go on a diet the day before you are invited to a all you can eat pasta & co restaurant.

postet at 01:48 into [Debian] permanent link


Fri, 22 Feb 2008

Home Alone

I'm wondering...

$ find debian/uploads/ -iname \*.changes -mtime -10|wc -l
22

Maybe it isn't that bad, if your girlfriend leaves you for some days alone at home?

PS: Of course it is... but you get some work done.

postet at 18:54 into [Debian] permanent link


Thu, 10 Jan 2008

About Apache, Basic Authentication, Location and regular expressions

The other day, I had an interesting problem, regarding Apache, the LocationMatch directive and regular expressions. I'll put it here, so I'll be able to find it again...

Actually it was a quite simple problem: A simple web page, where all web pages are protected with a password. No big Problem: Use a <location /> and AuthType basic, problem solved.... or isn't it?

Some documents might be needed to be available without the authentication... for example robots.txt... or the funky custom error document, which explains how to get the authentication data, in case the authentication fails.

Looking at the documentation, found a solution: LocationMatch exists, where you specify a regular expression, which must match, for the following configuration to apply.

What isn't mentioned in the documentation, that the obvious solution... something like <LocationMatch !"^/(robots.txt|my401handler.html"> doesn't work. See apache bug 10932. Needed quite some time, to find this out...

Luckily Meike found the bug report above, which has a workaround for that problem: Use <LocationMatch "^/(?!robots.txt|my401handler.html)">

Oh... and if your customized error handler references some pictures or style sheets, don't forget to add them to the regular expression above, too.

postet at 22:43 into [Debian] permanent link


About

Alexander Tolimar Reichle-Schmehl lives in Tuttlingen / Germany. He works as IT manager (specialized on Unix and SAN/Storage) for an international automotive supplier.

Links