Permalink Plugin Error

I activated this plugin.. however when I try to go to permalinks I created.. i get this error:

Notice: Undefined index: REQUEST_URI in XXXXXXXXX\plugins\permalinks\permalinks_dispatcher.php on line 12 Dispatcher: No mod_rewrite url detected!

what am i doing wrong?

By Dave - November 5, 2014

Hi s2smedia, 

What version of permalinks are you using?  (It should say under the plugins menu).

Can you try adding a @ in front of $_SERVER['REQUEST_URI'] in permalinks_dispatcher.php, like this: @$_SERVER['REQUEST_URI']

And let me know if that resolves the issue?

Thanks!

Dave Edis - Senior Developer
interactivetools.com

1.02

I added the "@"

now I get error:

Dispatcher: No mod_rewrite url detected!

Any update with this? I emailed you all of the info.

By Dave - November 12, 2014

Hi s2smedia, 

I tracked this down.  It looks like you have a Windows Server with a version of  ISAPI_Rewrite installed that doesn't set REQUEST_URI  and instead sets a variable called HTTP_X_REWRITE_URL.

References: 

I added HTTP_X_REWRITE_URL to the list of variables to check for the current URL in the Permalinks plugin, patched your version, and updated our code for the next release.

It should be working now.  Stay tuned I'm going to send you some more details via email as well that refer to the paths on the server.

Let me know any other questions (after you get the email).  Thanks!

Dave Edis - Senior Developer
interactivetools.com