CodeIgniter .htaccess for DreamHost
February 6th, 2008
Recently I had an issue with CodeIgniter on my DreamHost account. I uploaded the basic .htaccess file that I’ve used on every CodeIgniter install that I’ve done. Including another one on my DreamHost account. After spending two hour searching the CodeIgniter forums and trying the different suggestions, I contacted DreamHost support to verify my Private Server had the mod_rewrite module installed.
Of course they come back and say that it is indeed installed. So I ended up exactly where I was when I started, until I went through my log files and started removing lines from my .htaccess file until the error my logs revealed disappeared. Now, I have no idea how the original .htaccess file works on one sub-domain, but not another. It doesn’t really matter to me either, I’ll just be using the new one from now on.
CodeIgniter
January 20th, 2008
EllisLab has this amazing PHP framework called CodeIgniter. Up until the end of September I guess, I had never used a web framework. I played with Ruby on Rails a bit before, so I new what <acronym title=”Model View Controller”>MVC</acronym> frameworks were, but I didn’t want use them because it required I learn more for what I saw as little benefit. In September I was thrown into a project at work that two other developers had been working on for months, and they were using CodeIgniter. At first glance I thought, “what the fuck am I going to be able to help them with?”, and for the first month I only was asked to make only text and style changes (the fact that we were using SVN also made things interesting).
Then the opportunity arrised where I could learn the framework. I was working on a larger project and I was sick of having so many pages, plus anyone who looked at the site could figure out it’s PHP. I downloaded CodeIgniter and in about a week I had recreated what had taken me about a month to do in normal PHP. I’ve since been able to make more changes to the original project that I was thrown into. I’m using CodeIgniter on more projects as they come in at work, and on some of my own which will hopefully launch soon.
ElliLab has done an amazing job of creating a framework, and I applaud them for releasing this to the community as open-source.