Great hack but I'm having a little trouble using it on Windows 2003 IIS6 and using the ISAP Rewrite dll (
http://www.isapirewrite.com/)
Basicaly it does the same job as the Apache equivalent through a ini file in the web root.
This is my httpd.ini file:
PHP Code:
[ISAPI_Rewrite]
RewriteRule /forums/archive/([^/.?]+\.html) /forums/archive/index.php\?$1 [I,L]
RewriteRule /forums/(^f([0-9]+)-([A-Za-z0-9\-]+)\.html) /forums/forumdisplay.php?f=$1 [I,L]
RewriteRule /forums/(^t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html) /forums/showthread.php?t=$1&page=$5&pp=10
[I,L]
The archive works perfectly but I'm getting 404's when I try to activate your plug in. I "think" its got something to do with the rule as I have had to add /forums/ to the condition as my config file is in the web root...
Can you help at all?