Friday, November 28, 2008

Drupal Issues on Window Server 2008/Vista SP1 and IIS7

Early monday morning my phone started ringing. It was a recruiter. He was saying my client in Sydney CBD is looking for Drupal Expert. He asked couple of questions..I was saying yes yes yes.. drupal.. no problem..I will have some sample sites ready by the week.

I am expert in PHP and I have hands-on experience with Joomla on responsibletravelnepal.com but I never had an oppurtunity to work in Drupal. Anyway being PHP Geek, I know i can quickly grab anything if its related with PHP. So, I did some googling, downloaded Drupal and bought some books on Drupal (Pro Drupal Development & Learning Drupal 6 Module Development) and video tutorial from Lynda (Drupal Essential Training), I spend around two days reading and watching.

I installed Drupal 6 on my Laptop. It has Vista SP1 and IIS 7. Installation was very simple and smooth. I was smiling thinking it easy. I tried adding Users but it was not registering. I tried creating Blocks again in vain. I copied it to my apache server and It worked fine. I had absolutely no idea what was happening but at least I know its IIS7 issues. I Google for the solutions and found out that FAST CGI module in IIS7 sets the REQUEST_URI server variable incorrectly. Microsoft has released an update to fix this bug (KB 954946).

I installed it and now it’s running well. I also installed Microsoft URL Rewrite Module for IIS 7.0 (x86), which allows .htaccess to work correctly. I found the following sites useful. Check em:

  1. Using Drupal with Microsoft URL Rewrite Module for IIS 7

  2. Using URL Rewrite Module

Monday, November 03, 2008

I liked Prado as its is Delphi Style Coding. Sice