I've setup a yourls.org (URL shortening service) on a windows 2003 VPS server I have, using ISAPI rewrite. I already have ISAPI rewrite installed and working with Wordpress, so I know that is working. I have used the rules suggested from the page:
http://code.google.com/p/yourls/wiki/htaccess
In my ISAPI rewrite, but the redirects are not working. The page is looping, trying to redirect to itself.
I'm not familiar with Rewrite rules so any help would be appreciated. The rules I've applied are:
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (/|\.php|/[^.]*)$ [NC]
RewriteRule ^(.*)$ /yourls-loader.php [L]
I added the third conditional line based on something I found in the wiki of the application.
If anyone could shed any light on why this isn't working, I'd appreciate it.
T