Archive for the 'Web' Category

WordPress 2.5 Media

Well I'm enjoying my experience of WordPress 2.5 already. The admin interface is so much cleaner, and it does so many things better than before!

I did however have one small problem. When trying to add media using the new media interface, I kept getting HTTP errors. After a bit of searching around, I discovered it was due to the mod_security Apache module.

Not wanting to disable it entirely, I discovered that it is possible simply to disable the POST filter, which allows the gallery to work. Simply add the following to the .htaccess file in the root folder of your blog:

<IfModule mod_security.c>SecFilterScanPOST Off</IfModule>

This works for me, so I hope it works for you!

WordPress 2.5 released

WordPress 2.5 has just been released, as I get back from holiday.  What a nice greeting on my return, something to play with while I recover from three days of walking around Rome!

WordPress Download

Javascript hacking

I just read an extremely funny article from the States about 'securing' websites using javascript, with the username, the password, and the 'secure' page URL written in the clear: 'So you hacked our site?!'.

Custom SSH port with svnserve

I had some trouble accessing my svn repository on my server.  The people who host my website use a non-standard SSH port, and they force you to access the svn server through SSH - but without telling svnserve to use the non-standard port!

So, after much trawling through the internet, I finally found the solution, thanks to this page.  Their solution didn't quite match my needs (as they assume root access for the Linux shell, which I don't have), but it got me over the hump.  Their solution is to set the global variable $SVN_SSH, '
It seems like the environment variable is the only way to set the SSH port.'

However, this is wrong - there is another way, and it is more elegant, I think.

The subversion configuration file settings on a standard Linux setup can be found in the '.subversion' directory.  In this folder you can find the 'config' file.  Open this, and you will find the '[tunnels]' section.  Add the following code to that section:

custom_ssh = $SVN_SSH ssh -p 12345

This creates a custom ssh access protocol which is identical to the standard one, except with a different port number.  If you want to specify a different (or non-ssh) protocol you can do that too.  More details can be found here.

To access the repository now, you simply use this:

$ svn co svn+custom_ssh://username@server_ip/path/to/repos/ .

instead of this:

$ svn co svn+ssh://username@server_ip/path/to/repos/ .

Problem solved!

ESV

I am increasingly using the ESV translation for both study and devotion.  Despite its often clunky language, I have found it to be highly accurate, and freely available in so many forms to be extremely useful.

One such tool is the ESV Bible Browser from the ESV home page.  It allows you to hide paragraphs, footnotes, verse numbers, etc.  Not only that, but you can listen to any passage being read by Max McLean, for free!

Also, the ESV is freely available for use with E-Sword, which means I have it on my PC as well as my phone.

So despite its slight readability issues, its free and general availability on the web make it my translation of choice.

Bible Visualisation

I found an amazing web page today.  Created by Chris Harrison, it contains various images which visualize names, both people and places, in the Bible.  My favourite though is the cross-references diagram, which is the most beautiful arc.

Visualizing the Bible

100Mb broadband?

Apparently, 100Mbit Broadband Hits UK.

I'll believe that when I see it, and actually can we have 4Mb broadband, please, instead of the pitiful less-than-modem-speed I get in the evenings with Tiscali?