You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2019/04/23 08:53:41 UTC

[Bug 63376] New: .htaccess rewriterule is going in a infinity loop when [p]

https://bz.apache.org/bugzilla/show_bug.cgi?id=63376

            Bug ID: 63376
           Summary: .htaccess rewriterule is going in a infinity loop when
                    [p]
           Product: Apache httpd-2
           Version: 2.4.34
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: chatis12@msn.com
  Target Milestone: ---

in a domain, I have a .htaccess that is configured like this :

RewriteEngine on
RewriteRule ^admin$ /admin/ [R,L]

RewriteRule (.*)
http://www.example.com/sf2/sub/%{REQUEST_URI}?%{QUERY_STRING}&id=7 [P]

in the old server, this is working very well, but in the new server, the rule
is going in a loop and it's impossible to come in the website.

When I open the page, I have this error :

Forbidden
You don't have permission to access
/sf2/sub/sf2/sub/sf2/sub/......./sf2/sub/sub.php

As you can see, the rule is calling infinity time !!! and I want only one time. 

I know that this is nothing to do with .htaccess because this is working well
in other server that call the same file.

this is only not working when the both domains are in the same server. When the
domain is external of example.com, this is working well

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 63376] .htaccess rewriterule is going in a infinity loop when [p]

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63376

chatis <ch...@msn.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Mac OS X 10.1               |Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org