July 1st, 2008Wordpress MU on IIS7 POC
This Blogging Platform is built on Wordpress MU, Wordpress MU is slightly different to Wordpress in that it has support for multiple independent blogs on top of a single user database, when running in folder per blog mode Wordpress MU is totally dependent on the apache MOD-ReWrite feature to rebuild URL in the fly. This is a feature that has been missing from IIS until now, Microsoft have released, albeit CTP1 at the moment, a URL rewrite module for IIS7.
Wordpress and Wordpress MU can also use url-rewrite to create “friendly” permalinks
Well I did it, installed a copy of Wordpress MU on IIS7 in folder per blog mode
- Server 2008 enterprise
- IIS7 URL-ReWrite CTP1
- Wordpress MU 1.5.1
- mysql-5.1.25-rc-win32
- ZendCore-2.5.0-Windows-x86
Using the URL-Write Module and some help from IIS.net, it was fairly straight forward; URL-ReWrite is still in CTP1 and has a few known issues. For instance the import wizard correctly identifies the [L] parameter in .htaccess and create the correct XML, but the ”stopProcessing” attribute does not get copied to the web.config file and the ReWritecondition flag created a NEW rule with no action , rather than apply the condition to the next rule.
So after a bit of fiddling and some help from IIS.NET I got it all working including CSS and themes for folder based blogs.
The Only issue I did not fix was an issue with ONE of the CSS files which controls the layout of the TOP of the admin pages,
SORTED !!!!!!!!!!
Just so i dont lose it the web.config file is here
And dont forget the rewrite server variable fix too