More webloggers voor Azië

Tomorrow will be the day that many Dutch blogs will show the special action page. The list of participating bloggers is getting bigger and bigger, and includes some prominent bloggers. You can read all about it on the action page.

Today I received the instructions, which consist of simply replacing the index.html page with the action page. This won't work for Movable Type blogs, since MT will overwrite the index.html page when a comment is posted to an entry. Furthermore, I wanted the page to show up for all requests, since many visitors enter the site through Google, and won't see the home page. And finally, I am a lazy person, so I want this to happen automagically.

Therefore I uploaded the file as actie.html and changed my .htaccess file to (temporary) redirect all requests for html pages to the action page. I used the following code:

RewriteEngine on
RewriteBase /
RewriteCond %{TIME_YEAR}%{TIME_MON}%{TIME_DAY} >20050105
RewriteCond %{TIME_YEAR}%{TIME_MON}%{TIME_DAY} <20050107
RewriteCond %{REQUEST_FILENAME} index\.s?html$
RewriteRule ^(.*) /actie.html [L,R]

Furthermore I hace changed the action page a little bit. The page basically consisted of a table-based layout, with a single image showing the text. For once I won't complain about table-based layout, since we are working for a good cause, and I value the work they have put into this project. But I did take the freedom to add an alternative text to the image, so that visitors that cannot see the image also know what is going on.

Leave a comment

mensuales Archives

Recent Entries

  • Manifiesto «En defensa de los derechos fundamentales en internet»

    Ante la inclusión en el Anteproyecto de Ley de Economía sostenible de modificaciones legislativas que afectan al libre ejercicio de las libertades de expresión, información...

  • Commenting not possible

    I just discovered that it currently is not possible to comment on this blog. At first sight it looks like the problem is caused...

  • Back from the CeBIT

    I am back from the CeBIT show. Actually, I came back on Monday, but have been too busy to post. This year has been...

  • Downloading viruses?

    I just saw the screen above, which is the ClamWin antivirus software uploading its virus database. On the left hand side they have an animation...

  • New: Google Notebook

    I know that Spain usually lags behind the rest of the world, but Google Spain really doesn't know what is going on. While all...

Close