Bug 146604

Summary: www/apache20: apache-2.0.63_11 breaks mod_redirect
Product: Ports & Packages Reporter: Stefan Bethke <stb>
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Stefan Bethke 2010-05-15 00:50:04 UTC
After upgrading to 2.0.63_11, mod_rewrite config settings are ignored, as if RewriteEngine was set to off. Downgrading to _4 makes the same configuration work again.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-05-15 00:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 admin 2010-05-16 07:57:41 UTC
confirm
I have it bug on 5 machines
2 - 8.0 i386
2 - 7.2 i386
1 - 8.0 amd64
Comment 3 Henrik Olsen 2010-05-22 01:06:27 UTC
I can conform that mod_rewrite isn't working, but it isn't completely
ignored either.
Adding rewrite logging shows that the rules are actually tested, but they
don't get triggered though they match the url and would trigger in the _3
version.

For example, a pattern of '^iw3.css$' fails to match 'iw3.css'.

Incidentally, the bug was also present in the _8 version.

7.3 amd64
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-26 02:06:07 UTC
State Changed
From-To: open->feedback

Please test - 
http://people.freebsd.org/~pgollucci/FreeBSD/diffs/www_apache20-2.0.63.diff
Comment 5 Henrik Olsen 2010-05-26 02:08:14 UTC
Confirmed still broken in _14

I don't know how this bug got classified as non-critical, it breaks Apache
for any site that uses mod_rewrite.

Is it possible to rename a bugreport? The title is very misleading as it's
mod_rewrite that is broken.
Comment 6 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-26 20:30:51 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2010-05-26 20:30:58 UTC
pgollucci    2010-05-26 19:30:45 UTC

  FreeBSD ports repository

  Modified files:
    www/apache20         Makefile 
  Added files:
    www/apache20/files   patch-pcre.diff 
  Log:
  - Partial httpd SVN MFC of r15338
    [http://svn.apache.org/viewvc?view=revision&revision=153384]
    Essentially this internalizes the pcre POSIX API in the ap_ namespace.
    Thus fixing the use of an external pcre library and hence mod_redirect
    and other consumers.
  
  - This includes an MMN bump which means you will need to recompile all your
    modules.  With ports this will happen when you upgrade via portmaster or
    portupgrade.  If you have any modules outside of ports they will need to
    be recompiled too.
  
  - There is a small chance you will need to change some of your custom modules
    to adapt to the ap_regex_t and ap_regmatch_t api changes.
  
  - For security, speed, maintenance, and simplification in the ports/ framework
    this route was chosen instead of reverting the devel/pcre change in 2.0.63_4.
  
  PR:             ports/146604
  Reported by:    Stefan Bethke <stb@lassitu.de>, serveral on ports@, apache@
  With Hat:       apache@
  
  Revision  Changes    Path
  1.291     +1 -2      ports/www/apache20/Makefile
  1.1       +1310 -0   ports/www/apache20/files/patch-pcre.diff (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"