Re direction happens to wrong url

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 3
Joined: 28 Jun 2013, 04:49

Re direction happens to wrong url

28 Jun 2013, 04:53

Hi,

we have the below two redirection conditions in httpd.conf, the problem is whenever we browse a url with /upload it's being redirected to /oam, could anyone shed some light on what's wrong with these two, although we have few more rewrite conditions the problem occurs only for /upload.

RewriteCond %{REQUEST_URI} ^/upload(.wlforward)?(/|$) [NC]
RewriteRule (.*) $1 [L]

RewriteCond %{REQUEST_URI} ^/oam(.wlforward)?(/|$) [NC]
RewriteRule (.*) $1 [L]

Thanks in advance.

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

Re: Re direction happens to wrong url

28 Jun 2013, 11:04

Hello,

these rules shouldn't cause any problem.
There must be another rule that takes place, with a more generic pattern.

Regards
Andrew

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 8 guests