August 12th 2010
upgraded Trap25 email filters today to ward off some nasty and tricky emails getting through.

August 6th 2010
#ff @danielnorton @melbournehost @gourmetbutcher @topleftdesign @danirosenfield bit of a mixture for #ff but may take your fancy.

August 6th 2010
@danielnorton no problem. All sorted. nice site by the way! http://www.daniel-norton.com/

August 6th 2010
@danielnorton you've renewed domain but not hosting. Perhaps got mixed up with the renewal reminders?

You are here: Home » 3DPixelBlog

www vs non-www

August 10th, 2009

Why oh why oh why do websites waste potential traffic? We’ve seen so many sites that either not understand, or plainly disregard either the www. or non-www. records of their websites.

The example that has just sprung to mind is the Trafford Centre in Manchester. The www. record works but the non-www. record does not. Why? I for one when typing an address in the browser, hardly ever use www. as it’s frankly an extra 4 characters I don’t want to type again and again.

Take 3dpixel.net for example, we have www. set up as a CNAME (DNS name to name alias) of the main A record so that they both point to the same website.

Duplicate content penalty from google? No problem! Use mod_rewrite to force it to the prefix of choice. Whichever one you want it does not matter as long as it’s ONE of them only.

In .haccess:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.3dpixel\.net$ [NC]
RewriteRule ^(.*)$ http://3dpixel.net/$1 [R=301,L]

So instead of presenting your potential visitors with a nasty 404 error. Why not get those visitors to your site. 100% free!

Apache Global Output Compression

August 5th, 2009

Something we’ve been playing with for a while… global gzip / deflate compression on apache servers. Naturally you can do this in php or via .htaccess but why not do it globally from the apache configuration?

Decided to give it a whirl on some of our own dedicated servers the other day.

Dowsides:

  • Increases CPU load
  • Increases CPU load
  • Increases CPU load

Obviously there is only one major downside. The server has to compress the page on request and this takes processor power to do.

Upsides:

  • Reduces bandwidth
  • Increases client perceived responsiveness due to reduced page side

edit the main httpd.conf /etc/httpd/conf/httpd.conf for us:

#Alans gzip optimisations
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml

Obviously you need to have the mod_deflate DSO added to apache (default configurations from RedHat / CentOS have this). It’s also advatageous to note what you want compressing – it’s not worth compressing zip files for example or binary files as you are simply wasting CPU power.

Not Gzipped

Not Gzipped

Success! We’ve since enabled this on our shared platforms as we are not currently CPU limited.

Microsoft Compass?

August 5th, 2009

A while ago we created a .kml file which is location based data for Google Maps. The link is here if you’re interested.

Saw a robot today called Microsoft Compass and it went right for the .kml file. I’m wondering if Microsoft are preparing a rival for Google Maps?

Here is the robot data:

65.55.241.216 – - [05/Aug/2009:10:55:07 +0100] “GET /robots.txt HTTP/1.1″ 200 53 “-” “Microsoft compass/1.0″
65.55.241.216 – - [05/Aug/2009:10:55:07 +0100] “GET /3dpixel-location.kml HTTP/1.1″ 200 573 “-” “Microsoft compass/1.0″

a whois on the IP shows it’s MSN / Bing’s IP:

whois 65.55.241.216

OrgName: Microsoft Corp
OrgID: MSFT
Address: One Microsoft Way
City: Redmond
StateProv: WA
PostalCode: 98052
Country: US

NetRange: 65.52.0.0 – 65.55.255.255
CIDR: 65.52.0.0/14
NetName: MICROSOFT-1BLK
NetHandle: NET-65-52-0-0-1
Parent: NET-65-0-0-0-0
NetType: Direct Assignment
NameServer: NS1.MSFT.NET
NameServer: NS5.MSFT.NET
NameServer: NS2.MSFT.NET
NameServer: NS3.MSFT.NET
NameServer: NS4.MSFT.NET
Comment:
RegDate: 2001-02-14
Updated: 2004-12-09

RTechHandle: ZM23-ARIN
RTechName: Microsoft Corporation
RTechPhone: +1-425-882-8080
RTechEmail: noc@microsoft.com

OrgAbuseHandle: ABUSE231-ARIN
OrgAbuseName: Abuse
OrgAbusePhone: +1-425-882-8080
OrgAbuseEmail: abuse@msn.com

OrgAbuseHandle: HOTMA-ARIN
OrgAbuseName: Hotmail Abuse
OrgAbusePhone: +1-425-882-8080
OrgAbuseEmail: abuse@hotmail.com

OrgAbuseHandle: MSNAB-ARIN
OrgAbuseName: MSN ABUSE
OrgAbusePhone: +1-425-882-8080
OrgAbuseEmail: abuse@msn.com

OrgNOCHandle: ZM23-ARIN
OrgNOCName: Microsoft Corporation
OrgNOCPhone: +1-425-882-8080
OrgNOCEmail: noc@microsoft.com

OrgTechHandle: MSFTP-ARIN
OrgTechName: MSFT-POC
OrgTechPhone: +1-425-882-8080
OrgTechEmail: iprrms@microsoft.com

# ARIN WHOIS database, last updated 2009-08-04 20:00
# Enter ? for additional hints on searching ARIN’s WHOIS database.