infinite loop

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 4
Joined: 25 Jan 2013, 04:25

infinite loop

29 Nov 2013, 06:58

This single rule :

RewriteRule ^/en/shop/$ /en/shop/chocolate-online\.htm [NC,QSA,R=301,L]


Is getting me into an infinite loop :

(2) init rewrite engine with requested uri /en/shop/
(1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
(1) Htaccess process request d:\inetpub\frucon\godivachocolates.eu\.htaccess
(3) applying pattern '^([^.?]+[^.?/])$' to uri '/en/shop/'
(3) applying pattern '^/en/shop/$' to uri '/en/shop/'
(1) escaping /en/shop/chocolate-online.htm
(2) explicitly forcing redirect with http://godivachocolates.test.frucon.net/en/shop/chocolate-online.htm
(2) internal redirect with /en/shop/ [INTERNAL REDIRECT]

(2) init rewrite engine with requested uri /en/shop/
(1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
(1) Htaccess process request d:\inetpub\frucon\godivachocolates.eu\.htaccess
(3) applying pattern '^([^.?]+[^.?/])$' to uri '/en/shop/'
(3) applying pattern '^/en/shop/$' to uri '/en/shop/'
(1) escaping /en/shop/chocolate-online.htm
(2) explicitly forcing redirect with http://godivachocolates.test.frucon.net/en/shop/chocolate-online.htm
(2) internal redirect with /en/shop/ [INTERNAL REDIRECT]
etcetera... etcetera...


What suprises me, are the last 2 lines.
First it's redirecting me to "http://godivachocolates.test.frucon.net/en/shop/chocolate-online.htm" (which it should).
But internally it seems to be redirecting to "/en/shop/", which was the original requested URL again, causing the infinite loop.


Any help would be appreciated!

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

Re: infinite loop

30 Nov 2013, 23:48

Hello,

Something is not write here. It reminds me about the double registration.
Please, see the following article - http://www.helicontech.com/articles/isa ... istration/

Regards
Andrew

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 0 guests