Archive - Software Category

Switching to permalinks

Saturday, February 28th, 2009

If you haven’t already, you should really switch to permalinks. /?p= is an unfriendly, unSEO link. Go to your settings –> Permalink and set custom like this /%category%/%postname%/

Okay, so at first glance that seems easy enough right? Well yeah.. Not so much. First of all, I had to enable mod_rewrite in apache. (Remember I’m on a VPS) That wasn’t difficult, you just use the command a2enmod on Ubuntu/Debian systems. Now with that done, I could use the .htaccess file generated by WordPress to serve up the new fancy URLs. Wait.. My old /?p= are not being forwarded to the new fancy urls. Well, a simple plugin called Permalink Redirect solves that issue.

Now comes the real fun. Everytime I go to try and access my stats, I get a 404. The stats folder is clearly there, but I cannot access it. So, I remove the .htaccess on that folder. I can now access it, but it’s no longer password protected :D I really wasn’t sure if this was caused by ISPConfig or the .htaccess.

So I searched around for quite some time. The solution is simple, when you go to a password protected area it looks for the 401 and 403 error files first, before giving you a login prompt. With the new rewrite in place, all the errors are now on the WordPress theme. It doesn’t have these errors, so the resulting error is 404 not found.

Anyway, how do you fix this issue? Simple, add the following lines to your .htaccess file in the root directory.

ErrorDocument 401 /[path_to_file]/myerror.html

ErrorDocument 403 /[path_to_file]/myerror.html

That’s it! Problem solved. I can now access my stats directory with the password, and permalinks are working.

Forum

Discussion

Analytics vs Webalizer

Sunday, February 22nd, 2009

Analytics

Analytics states that I’m getting approximately 117 – 150 unique per day, since I started dropping less with Entrecard.

analytics

(Click to enlarge)

Now, switching over to just search engine traffic with analytics we see that approximately 50% of my traffic per day recorded by Analytics is search engine based. It’s growing slowly.

analyticsearchengines

(Click to enlarge)

Analytics seems fairly consistent with my ProjectWonderful stats, which means that various blocking plugins for FireFox are not only blocking ProjectWonderful, but Analytics as well.

Webalizer

Now let’s have a look at what webalizer has to say about my traffic.

webalizer

(Click to enlarge)

Seems as if Webalizer is painting an entirely different picture. It shows that my traffic really didn’t drop off when I started to drop less on Entrecard. I believe this can be explained by my search engine traffic growing, which lead to my drop off of EC not showing up. It’s actually quite apparent to me I’m part of the search engines. Why? Well, I get a lot of spam comments even with BadBehavior running. Without BadBehavior, I once received 50 spam comments in one day.

Conclusion

If you’re using Analytics, I would consider switching to something that is blocked less by the various plugins out there. Clicky analytics was recommended by nukeit.org, and I have to agree. Anything that is being blocked by NoScript/Adblock Plus and the other assortment of things out there, is not going to give you reliable stats. The best stats come from log analyzers such as Webalizer.

Comodo Internet Security Review

Monday, February 2nd, 2009

1176739790comodo13c2970cd3Well, I’m a long time ZoneAlarm user. I just recently pulled a switch to the comodo security suite. Instantly, I’m greeted with dialogs just like I would expect from ZoneAlarm. However, Comodo takes it a step further. It seems to monitor every little thing a program does, from modifying any little registry value in windows, to internet access attempts. Why didn’t I try out Comodo sooner? Well, I was under the impression that ZoneAlarm was awesome, and there couldn’t be something better. Well, I was wrong, dead wrong in fact. I see that comodo does virus scans, updates automatically, secures internet, and monitors programs very closely. Many say that Comodo is less resource heavy as well.

Here’s the real kicker, Comodo is free! ZoneAlarm Pro is not. The regular ZoneAlarm doesn’t come with nearly as many features as the free version of Comodo does. I think I have just found my new favorite software firewall and antivirus. Anyone not running something like ZoneAlarm or Comodo needs to go get one of the two now. No matter how savvy you think you are, there are a lot of strange things on the internet that could trick you, and Comodo or ZoneAlarm will block such things.

In conclusion, Comodo gets my vote now, ZoneAlarm is good, but I don’t think it’s as good as Comodo even in the “pro” version.

Living on Limited Resources with CrunchBang Linux

Wednesday, January 28th, 2009

Well, I was getting tired of things loading very slow on my 256MB Gateway M210S with Windows XP. (If you don’t know, I’m using this laptop because my Bios went corrupt on my main PC.) What did I do about it? I installed a light weight distribution called CrunchBang. It’s based off of Ubuntu. Installing it wasn’t the hard part.

All my issues getting CrunchBang up and running correctly.. Maybe this will  help someone?

I ran into some issues with my Ethernet controller and my sound card! Those two things did not work at all out of the box. I searched around for my prism wireless card and was able to get online. I found what the model number the problematic hardware was via lspci. I found it was the BCM4401. Then I tried to enable the module via modprobe b44. It gave me errors. I searched around for the answer to this on the Ubuntu forums, and found it was related to my Kernel version, or possibly an installed package. Anyway, I removed that certain package, because I didn’t need it for my Wifi which doesn’t need any special drivers.

Eventually what I did was edit the sources.list file in /etc/apt and removed all the commented out lines did sudo apt-get update and sudo apt-get upgrade. Restarted, wow ethernet works.

Next issue: SOUND! ICH4 – Intel 82801DB-ICH4 did not work at all! Went through the guides to get audio working, checked alsamixer to see if anything was muted or something weird. Apparently it’s related to external amplifier and all the switches. You can enable external amplifier in Alsa, and then go into your sound controller and uncheck all the switches. It works.

So, now everything works. Yay. Now I have a laptop that is 15X faster booting up and running applications. Worth the trouble? I think so. Maybe others wouldn’t. It took some time to get all the bugs fixed. I have gotten too used to Linux working out of the box, but with older laptop components, it doesn’t seem like that’s the way it goes. I know some wifi cards aren’t even supported, so you should definitely pick up a prism based wifi card if you’re using Linux on a laptop.

CrunchBang Review

CrunchBang is a modified Ubuntu distribution with a light weight open box GUI. Perfect for lower resource computers. I could barely play a youtube video in Windows XP, on CrunchBang, it’s no problem. Why use CrunchBang instead of some of the other light weight distros? Some of those light weight distros are a real pain to configure, probably A LOT worse than what I had to deal with.

CruchBang is a nice mix of usability while still being light weight. All you have to do is right click on the desktop to get a list of all the applications installed, and there’s many that come already installed. Almost anything you would want is already there. Because it’s Debian/Ubuntu based, you can also just use apt-get or aptitude to install various things without issues. It can’t get much easier :)

Also, CrunchBang is open-box meaning you can customize the GUI the way you want it. Personally, I like the default config, it looks fine.

So, have a low resource computer you want to get a little more out of? Try out CrunchBang Linux. If your computer is really low resource however, you may need to look into something like Slackware Linux with a very light weight GUI.