Archive for the ‘Technology’ Category

New Forums!

Thursday, October 13th, 2005

I just put up a new forum!

I put it up primarily to facilitate discussion of the various unFocus projects (history keeper, flash suite, the IIS permalink hack, etc.). But feel free to post anything relating to any post on here, or anything at all that you think we might find interesting. (this is not an invitation for spam - keep posts related to the topics covered on this blog).

Enter unFocus.com Forums

permalinks on IIS

Saturday, June 11th, 2005

I got permalinks working on IIS - I consider this a small accomplishment, because I was unable to find an easy way to do it on the support boards :-).

It’s actually just a simple 404 hack. I created a file called wp-404-handler.php and then set IIS to use that as the 404 handler. File contents:


< ?php
$_SERVER['REQUEST_URI'] = substr($_SERVER['QUERY_STRING'], strpos($_SERVER['QUERY_STRING'], ':80')+3);
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
include('index.php');
?>

That’s it! It’s not very robust, but it gets the job done. It even works with Scott Yang’s Permalink Redirect plugin.


Close
E-mail It