Re direction happens to wrong url
2 posts
• Page 1 of 1
Re direction happens to wrong url
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.
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.
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Re direction happens to wrong url
Hello,
these rules shouldn't cause any problem.
There must be another rule that takes place, with a more generic pattern.
Regards
Andrew
these rules shouldn't cause any problem.
There must be another rule that takes place, with a more generic pattern.
Regards
Andrew
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests