href rewrite

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 14 Nov 2012, 17:27

href rewrite

14 Nov 2012, 17:36

We have setup a reverse proxy. Everything appears to be working correctly, except for the fact that the href lines are not functioning properly. Here is an example:

<?xml-stylesheet type="text/xsl" href="http://hello.goodbye.com/thepath/stuff.xsl"?>

We have set things up so that hello.goodbye.com "translates" to goodbye.com/hello/. Everything works fine if we manually change to:

<?xml-stylesheet type="text/xsl" href="http://goodbye.com/hello/thepath/stuff.xsl"?>

Basically, manually changing it to be the "translated" path.

However, these files are being auto-generated, so we have no way to change the href lines programmatically.

Any ideas are VERY welcomed!

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: href rewrite

14 Nov 2012, 20:15

Hello,

We always tell our customers that paths are supposed to be relative or root-relative in order to work correctly.

Please, specify the rules you're using, so that we could verify that we're talking about the same issues.

Regards
Andrew

User avatar
Posts: 16
Joined: 19 Nov 2012, 22:21

Re: href rewrite

20 Nov 2012, 23:44

Thanks for the tip. It is guaranteed and tested.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 0 guests