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: [email protected]
          Reporter: [email protected]
  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to