Blog / Tech

VMware ESXi

August 30, 2008

I just found out last night that VMware ESXi, VMware’s bare metal hypervisor, is now available for free. I got really excited and wanted to try it out right away so I decided to use my Lenovo ThinkPad X60s laptop as a test machine. I backed up all my files last night so I can play around with ESXi on it today.

So I installed it from the bootable CD which seem to have …

How to query Active Directory using SQL Server

August 25, 2008

Here is one of those things that I wish I had known much sooner. Very useful and a big time saver. I just found out about this a few months ago when I wanted to run a report against AD to see if the account info are consistent and up to date, to see which accounts have passwords set to never expire, when they were created/last updated, etc.

So I asked myself whether it’s possible …

Cisco 871 DHCP Problems

July 26, 2008

Ran into a problem last week where our vendor’s Cyclades TS100 devices couldn’t acquire an IP address from our Cisco 871 router’s DHCP service.

This was a big problem for us because we have about 70 locations using this router and all of them will have these Cyclades TS100s installed in the next two weeks.

After about two days of troubleshooting/testing and working with the vendor we finally figured out the problem. All we had …

Microsoft Tech Ed 2008 IT Pros

July 25, 2008

Happy System Administrator Appreciation Day!

I know this post is a bit late.

Anyway, we attended the Tech Ed 2008 IT Professionals in Orlando, Florida last month (June 10-13) and it was a lot of fun! Lots to do and learn. There were a lot of people who attended (close to 9,500 according to Microsoft).

This is my first Tech Ed and I’m really glad I was able to go to this one. There were …

Apache: Redirecting http to https using a .htaccess file

March 23, 2008

To redirect http traffic to https in Apache, create a .htaccess file with the following content:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Place the .htaccess file in your website directory and that should be it.

NOTE: The rewrite module in Apache must be enabled for this to work. To check whether it is enabled, open your httpd.conf and make sure the line below is not commented:

LoadModule rewrite_module modules/mod_rewrite.so

If you’re running Apache …