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 2013/12/18 23:44:04 UTC
[Bug 55909] New: RewriteRules doesn't work if RewriteEngine ON is
outside of the Directory tag
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
[Bug 55909] RewriteRules doesn't work if RewriteEngine ON is outside
of the Directory tag
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55909
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Eric Covener <co...@gmail.com> ---
Did you mark it as a regression in BZ intentionally?
I think this is working as designed per the odd per-directory handling in
mod_rewrite, and barring some recent regression I don't think it is safe to
change.
If it has really regressed release to release for you, please re-open with
details.
--
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