Software runs my life

Tag: IIS

PHP Frameworks not displaying error 500 remotely

I found when using Kohana in FastCGI mode that I was getting error 500 messages without the usual stack trace or error message. This was only happening when I accessed the development server remotely, not when I ran it locally (i.e. http://localhost/). Turns out this is actually the default behaviour for IIS7 with FastCGI. To change this you simply run the following command:

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpErrors -errorMode:Detailed

All fixed! If you want to change it back when you put the server into production then change the errorMode to “DetailedLocalOnly”.

WordPress URL Rewriting in IIS

If you host WordPress on an IIS Server then there is only one choice for URL rewriting, the Binary Fortress WordPress URL Rewriting tool. I have been using it for about 6 months now, but a shiny new v1.0 was released about a month ago. Time to upgrade I think!

URL Rewriting is one of the more critical parts of my attempts at SEO. There are a number of pages that discuss in more detail the benefits of clean links.

People employed to improve SEO have one of the truly great IT jobs I think. There is enough science to provide credibility, it is enough of a black art to avoid direct accountability and the target is constantly moving meaning your contract/role never looks like it has expired. Wow I really am feeling cynical tonight… 🙂

Powered by WordPress & Theme by Anders Norén