Author Archives: Brian

512 MB of RAM is not enough!

This is freakin’ annoying……I have only 512MB of RAM in my work computer – a 2.6 Ghz machine, but only 512MB of RAM. I have to run 2 instances of Weblogic and 1 instance of JBoss at the same time – that means it takes like 5 minutes to compile a JSP!. AARRGGHH! Heck – I have a 1GB flash drive on my keychain but only 512 MB of memory in my work machine. Doesn’t make sense.

,, ,

Custom 404 pages

I spent a few minutes and made a custom 404 page for this site. Try hitting any non-existent page like http://myvogonpoetry.com/thispageisnthere and you can see it. Hit refresh to see a different version of it. If you are running Apache it’s really easy to create a custom 404 page – you pretty much just have to create a page and put it somewhere on your site then at the root of your site you put a .htaccess file that has this in it:

ErrorDocument 404 /path/to/errorpage

You can even do some fancy stuff with like PHP like show the user what URL they were trying to access. Here are some examples of error pages I did on my other sites (I really like the one I did for thebrokenkoystick.com):
http://thebrokenjoystick.com/thispageisnthere
http://pipasoft.com/thispageisnthere