This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: rewrite rule
Author
Message |
dougwilki
Newbie


Joined: 28 October 2010
Posts: 18
Posted: 01 December 2011 at 8:14am

 

What versions of windows is isapi 2.0 compatible with ?

I would like to make a redirect for a page/directory that does not exits to an existiong one.

Something like:

rewrite rule source domoain\local path that does not exits\anything after that %1 /folder that exists.

RewriteRule (.*)^/about/work/.*?  $1/work-here [I,L,RP]

 

This does not seem to work unless I have a source file directory avalible. ?????  any help would be great.

 

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 01 December 2011 at 11:04am

Please try to fix your config like this:

[ISAPI_Rewrite]
RewriteRule /about/work/.* /work-here [I,RP]

As for the Windows versions, they are: NT4, 2000, XP, 2003, Vista and 2008 x86.

__________________
Regards,
Anton
Back to Top
 
dougwilki
Newbie


Joined: 28 October 2010
Posts: 18
Posted: 01 December 2011 at 11:11am

Do I need the source folder or file to be avalible for the re-direct to work ?

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 02 December 2011 at 6:03am

"Do I need the source folder or file to be avalible for the re-direct to work ?"
- No, you need only a valid destination.

__________________
Regards,
Anton
Back to Top
 
dougwilki
Newbie


Joined: 28 October 2010
Posts: 18
Posted: 02 December 2011 at 12:16pm

My isapi install appera to work on and off. What are the requirements for installtion in windows 2008 32 bit.

I installed the MSI for windows 32 bit and entered the license file. I have the hhtd.ini file pushed to the servers via a script. Am i missing something.

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 05 December 2011 at 5:31am

First, try to put the following test rule into global httpd.ini:

RewriteRule /testtest http\://www.google.com [I,RP]

And make request to anysite.com/testtest. You should see the Google page as a result. Please report.
Then remove the rule from global httpd.ini and put it into httpd.ini under the site and redo the request. Report again.
Also have a look into httpd.parse.errors file for possible errors.

__________________
Regards,
Anton
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum