Chillibear
A place for notes about stuff

Perl

SSHA passwords in various languages

I’ve just had yet another problem with PHP and its extensions on one of my servers (should have taken my own advice, this time no number of re-compiles or order tweakage of the extensions.ini file seems to work … I’ve hit the buffers with using mhash. Now that might not be a bad thing, the [...]

Non-capturing groups in mod_rewrite

I just spent a day being a bit think. I needed to extract and process more than nine variables from a query string using mod_rewrite. Each time you use a pair of parenthesis/brackets i.e. ( ) mod_rewrite makes the contents of those available to you as a back-reference variable, accessed via $1 …$9 and %1 [...]

Shared object “libperl.so” not found

Another woe when doing an upgrade. This time Exim would fail to start claiming it couldn’t find libperl.so. Help! Still a very quick search turned up a solution that worked perfectly for me (not that I use any cpanel stuff). http://www.scriptinstallation.in/libperl_not_found.html There is a command perl-after-upgrade which can be run that cleans up all the [...]