httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55909] New: RewriteRules doesn't work if RewriteEngine ON is outside of the Directory tag
Date Wed, 18 Dec 2013 22:44:04 GMT
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: bugs@httpd.apache.org
          Reporter: grobs38@gmail.com

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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message