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
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: rewrite rule Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dougwilki
Newbie
Newbie


Joined: 28 October 2010
Online Status: Offline
Posts: 18
Posted: 01 December 2011 at 8:14am | IP Logged Quote dougwilki

 

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 View dougwilki's Profile Search for other posts by dougwilki
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 01 December 2011 at 11:04am | IP Logged Quote Anton

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 View Anton's Profile Search for other posts by Anton
 
dougwilki
Newbie
Newbie


Joined: 28 October 2010
Online Status: Offline
Posts: 18
Posted: 01 December 2011 at 11:11am | IP Logged Quote dougwilki

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

Back to Top View dougwilki's Profile Search for other posts by dougwilki
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 02 December 2011 at 6:03am | IP Logged Quote Anton

"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 View Anton's Profile Search for other posts by Anton
 
dougwilki
Newbie
Newbie


Joined: 28 October 2010
Online Status: Offline
Posts: 18
Posted: 02 December 2011 at 12:16pm | IP Logged Quote dougwilki

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 View dougwilki's Profile Search for other posts by dougwilki
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 05 December 2011 at 5:31am | IP Logged Quote Anton

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 View Anton's Profile Search for other posts by Anton
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
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