Simple redirection of a single url to another url

Topics: Developer Forum, Project Management Forum, User Forum
Jul 26 at 4:43 PM
Greetings everyone !

I'm running IIS 6.1 with IIRF 2.1

I want to redirect a single url to another url. I spent a few hours understanding IIRF and trying various iirf.ini

INITIAL URL : https://domain.com/directory/page.xml
REDIRECTION URL : https://sub.domain.com/directory/page.xml

I came to this :

RewriteLogLevel 3
RewriteLog c:\temp\iirf
StatusUrl /iirfStatus

RewriteCond %{SERVER_NAME} ^domain.com$
RedirectRule ^/directory/(.*) https://subdomaine.domain.com/directory/page.xml$1 [I,R=301]

I tried many variations, but nothing works. Any help ?
Jul 26 at 4:45 PM
FYI

IIRF Status Report

IIRF Global Status

IIRF Version Ionic ISAPI Rewriting Filter (IIRF) 2.1.2.3 x64 RELEASE
Built on Nov 11 2011 07:39:55
Filter DLL C:\Program Files\Ionic Shade\IIRF 2.1\IIRF.dll
PCRE Version 8.11 2010-12-10
IIRF User IIS APPPOOL\ASP.NET v4.0
Security Groups \Everyone
BUILTIN\Users
NT AUTHORITY\SERVICE
\CONSOLE LOGON
NT AUTHORITY\Authenticated Users
NT AUTHORITY\This Organization
BUILTIN\IIS_IUSRS
\LOCAL
IIRF Started 2016/07/26 16:17:26 (local time)
Current time 2016/07/26 16:35:18 (local time)
Server Ini file C:\Program Files\Ionic Shade\IIRF 2.1\IirfGlobal.ini
Last Update of Ini 2011/01/03 13:28:58 (local time)
#Lines 66
#Warnings 0
Rewrite Engine (all vdirs) ON
IIRF Vdir Status

APPL_MD_PATH /LM/W3SVC/5/ROOT
Root Vdir Ini File C:\inetpub\wwwroot\Iirf.ini
Ini file timestamp 2016/07/26 16:35:10 (local time)
Last Read 2016/07/26 16:35:17 (local time)

Ini Modules 1

Lines 19

Rules 1

Warnings 1 (see messages below)

Errors 0

Log file (does not exist) c:\temp\iirf.1038740.log
Log level 3
Rewrite Engine ON
Rewrite Base '--'
Remote Status Inquiry disabled
Cond substring flag *
Case conversion flag #
URL Decoding ON
Iteration Limit 8
Proxy Timeouts (sec.) Resolve=30 Connect=30 Send=30 Receive=30

Requests Processed 11