0

XBOX 360 Repair and Cleaning

15 September 2010 in Shameless Self Promotion

Oh, and just some shameless self-promotion. We are now offering XBOX 360 repair and cleaning services.

If you are seeing the RROD (red ring of death) on your XBOX and you’re having gaming withdrawals, we may be able to help. If you’re in the Shepherdsville, KY area, you can drop it off. Turn around is generally 24 hours or less. Email or call for more information or to setup a time to drop yours off.  Service generally costs $30-50 on average.

XBOX 360 failure is very common, and a lot of the problems can be resolved easily, if you know what you’re doing.  The failure rate of the XBOX 360 has been reported as high as 54.2%. On the lower side it was reported at 24%.

Feel free to contact us about this or any other computer service. We offer onsite computer repair for business and residential customers in the Shepherdsville area.

Tags: , ,

0

301 htaccess non-www vs www

15 September 2010 in Geekery

Had a client ask about how to properly do 301 redirects for forcing www traffic to the non-www URL. That is http://fiveohtwo.com versus http://www.fiveohtwo.com.

Of course, this isn’t anything new. It’s all over the internet, but hey, one more blog post won’t clog the internet any more… right?

If you use www.yoursite.com, this part is for you.

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.fiveohtwo.com$
RewriteRule (.*) http://www.fiveohtwo.com/$1 [R=301,L]

The code above will 301 redirect the non-www version to the www version. Obviously replace seo-consultant-services and co.uk with your domain name/tld.

If you prefer http://fiveohtwo.com, then see below

RewriteEngine On
RewriteCond %{HTTP_HOST} !^fiveohtwo.com$
RewriteRule (.*) http://fiveohtwo.com/$1 [R=301,L]

So, drop one or the other into your .htaccess file, update the domain to match yours, and you’re on your way.

Tags: , , , , ,

0

Apache User Agent Reports

8 September 2010 in Geekery

A client was interested to see how much of his daily web traffic was being created by robots, aka web spiders. Using a quick little awk command, I was able to show them exactly was was going on.

The command here is:

$ awk -F\” ‘{print $6}’ access.log  | grep -i “slurp\|msnbot\|googlebot” | sort | uniq -c | sort -nr

Obviously, there are other search robots, but we were only interested in the “Big Three.”  That is Yahoo (Slurp), Bing (msnbot) and Google (googlebot). So basically this command first starts with awk.  The first option splits on ” marks, the next prints the section we want. The grep command excludes everything except our three keywords. The -i tells it that it should be case insensitive. Sort, then count, then sort again.

This produces the following output for my client site:

3862 Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)
2566 msnbot/2.0b (+http://search.msn.com/msnbot.htm)
449 Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

As you can see, Yahoo loves these guys.

This is just one example of easy things you can do with an apache log file and a one liner.  Stay tuned for more quick tips and marginal hacks. ;)

Tags: , , , ,