https://issues.apache.org/bugzilla/show_bug.cgi?id=55909

            Bug ID: 55909
           Summary: RewriteRules doesn't work if RewriteEngine ON is
                    outside of the Directory tag
           Product: Apache httpd-2
           Version: 2.2.22
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: mod_rewrite
          Assignee: [email protected]
          Reporter: [email protected]

Hi,

I hope that bug is a real bug and not a feature but I didn't find anything on
that so...

--------------------------------------------------------

# DOESN'T WORK

RewriteEngine On
<Directory /home/wwwroot/mywebsite/www/>
    RewriteRule /this /will_never_work [R=301,L]
</Directory>

--------------------------------------------------------

# WORKS WELL

<Directory /home/wwwroot/mywebsite/www/>
    RewriteEngine On
    RewriteRule /and_this /will_work_properly [R=301,L]
</Directory>

--------------------------------------------------------

Tom

-- 
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