Thu September 13th 2007
Definitive map and statement... in praise of Cam's county council!
Out of Cambridgeshire, Bedfordshire, Essex and Hertfordshire Cambridgeshire is the only Council to have an online version of it's Definitive map for rights of way view it here it's not the height of web2.0 ness but it's a much easier way of planning a (legal) route, now all we need is another few miles of bridleways and we'll be fine....
Once you've got the bridleways it's a fairly simple task to map it out on Bikely.com or something similar using the satellite view to find the 'exact' locations of the paths, all the path/bridleway info (except County farms permissive Access..) is availiable thru Streetmap.co.uk and the OS get a map service - but only at the higher detail scales - but at least they do cover the entire country....
Definitive map and statement... in praise of Cam's county council!
Out of Cambridgeshire, Bedfordshire, Essex and Hertfordshire Cambridgeshire is the only Council to have an online version of it's Definitive map for rights of way view it here it's not the height of web2.0 ness but it's a much easier way of planning a (legal) route, now all we need is another few miles of bridleways and we'll be fine....
Once you've got the bridleways it's a fairly simple task to map it out on Bikely.com or something similar using the satellite view to find the 'exact' locations of the paths, all the path/bridleway info (except County farms permissive Access..) is availiable thru Streetmap.co.uk and the OS get a map service - but only at the higher detail scales - but at least they do cover the entire country....
Wed Jul 18 15:42:55 BST 2007
Tuesday's (intended) MTB ride.
Unfortunately deep mud caused one of our bikes to suffer mega chain suck which led to a bent chain link - at least we know how to split and repair a chain now though :)
We did half the route and then came back via the road from Littlebury as it had got dark and someone had forgotten their light's battery...
Tuesday's (intended) MTB ride.
Unfortunately deep mud caused one of our bikes to suffer mega chain suck which led to a bent chain link - at least we know how to split and repair a chain now though :)
We did half the route and then came back via the road from Littlebury as it had got dark and someone had forgotten their light's battery...
Tue Feb 13 11:42:29 GMT 2007
FreeBSD Upgrade.
The only other issue I had was with ssh - I decided to stop using the ports version /usr/local/sbin/sshd and use /usr/sbin/sshd changing the sshd_program= line in /etc/rc.conf to sshd_program="/usr/bin/sshd" stopped sshd from starting on boot where as removing the line entirely worked fine - go figure!
Yes I know its almost a year since I last posted here!
FreeBSD Upgrade.
As FreeBSD 4.11 has reached the end of its supported life I decided to upgrade up to 5.4, following the instructions at http://www.freebsd.org/releases/5.3R/migration-guide.html worked extremely well, in brief after running cvsup to get the 5.4 source :
mergemaster -p cd /usr/src make buildworld make buildkernel cp sys/i386/conf/GENERIC.hints /boot/device.hints make installkernel cd /usr/src/sys/boot make STRIP="" installAt this point I took a chance and rebooted - but not into single user mode like you are instructed to.
rm -rf /usr/include/g++ cd /usr/src make installworld mergemaster -i rebootI then installed /usr/ports/lang/perl5.8 which in turn broke a apache+mod_perl install, I also installed misc/compat4x.
The only other issue I had was with ssh - I decided to stop using the ports version /usr/local/sbin/sshd and use /usr/sbin/sshd changing the sshd_program= line in /etc/rc.conf to sshd_program="/usr/bin/sshd" stopped sshd from starting on boot where as removing the line entirely worked fine - go figure!
Yes I know its almost a year since I last posted here!
Wed Feb 22 12:09:49 GMT 2006
#Upgrade from php4 to php5 on a FreeBSD server running apache 1.3.3 cd /usr/ports/lang/php5 # I had to edit Makefile and add --with-zlib=/usr/ \ to the CONFIGURE_ARGS= # this is only needed so the swfheader reader can work, for some reason the zlib.so doesn't do the job make cd ../php4 make deinstall # at this point you also need to remove all your php modules # see pkg_info | grep php # don't think you can leave this till after the php5 install # I did and all the php5 modules got clobbered by pkg_delete'ing the php4 ones! cd ../php5 make install cd ../php5-extensions make install ## edit /usr/local/etc/apache/httpd.conf and add in (without the #) # <IfModule mod_php5.c> # DirectoryIndex index.php index.php3 index.html # </IfModule> apachectl configtest /usr/local/etc/rc.d/apache restart
Mon Jul 18 17:52:07 BST 2005
Easy URL rewriting using php 404s and REQUEST_URI
I've just moved my ~ home directory from one domain to another, so to make redirecting easier I did the following:
write a .htaccess file in the old directory like so:
Easy URL rewriting using php 404s and REQUEST_URI
I've just moved my ~ home directory from one domain to another, so to make redirecting easier I did the following:
write a .htaccess file in the old directory like so:
ErrorDocument 404 /~ogg/index.phpObviously replacing ~ogg with your path, then write an index.php file like so:
<?php
if ($_SERVER[REQUEST_URI]!=$_SERVER[PHP_SELF] and !isset($_GET[REQUEST_URI]) ) {
header("location: ".$_SERVER[PHP_SELF]."?REQUEST_URI=".$_SERVER[REQUEST_URI]);
}
$x="http://example.com/".$_SERVER[REQUEST_URI]; // fiddle with URL here to match new one
header("Location: ".$x);
?>
You may need to fiddle with the REQUEST_URI a bit to match the new address.
Wed Jun 1 22:27:57 BST 2005
If you need to get bind or postfix up and running on Mac OSX Tiger here you go:
If you need to get bind or postfix up and running on Mac OSX Tiger here you go:
sudo su cd /System/Library/LaunchDaemons/ # edit and change Disabled to Enabled in the Launchd config file emacs /System/Library/LaunchDaemons/org.isc.named.plist # produce a rndc key rndc-conf -a # load named launchctl load org.isc.named.plist # start named launchctl start org.isc.namedfor Postfix:
edit /System/Library/LaunchDaemons/org.postfix.master.plist
# change the file to look like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.postfix.master</string>
<key>Program</key>
<string>/usr/libexec/postfix/master</string>
<key>ProgramArguments</key>
<array>
<string>master</string>
<string>-e</string>
<string>60</string>
</array>
<key>QueueDirectories</key>
<array>
<string>/var/spool/postfix/maildrop</string>
</array>
<key>OnDemand</key>
<false/>
</dict>
</plist>
launchctl stop org.postfix.master
launchctl unload org.postfix.master.plist
launchctl load org.postfix.master.plist
launchctl start org.postfix.master
Both should startup at boot.Tue Apr 26 17:32:52 BST 2005
Erm cough.. hmm 8 months with out posting anything here, I do have a blog at work http://pan.maths.org/~ogs22/ where I post links to random tech stories which are interesting to me or my work.
My URL shrinking service is being used more and more, with almost 3 times as many 'shrunk URLs' as last April.
Erm cough.. hmm 8 months with out posting anything here, I do have a blog at work http://pan.maths.org/~ogs22/ where I post links to random tech stories which are interesting to me or my work.
My URL shrinking service is being used more and more, with almost 3 times as many 'shrunk URLs' as last April.
