httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51576] New: mod_rewrite rule stopped working
Date Thu, 28 Jul 2011 17:12:55 GMT

             Bug #: 51576
           Summary: mod_rewrite rule stopped working
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite
    Classification: Unclassified

I recently updated Apache 2.2.6 > 2.2.17 (latest ubuntu server apt-get
release), and a rewrite rule stopped working.

Virtual host config:

/$1/$2$3 [L]

URL accessed:

The rewrite log shows the (correct) information: - - [28/Jul/2011:11:54:35 --0500]
[][rid#7fccf422ece0/initial] (3) applying
to uri '/media/crotw/2011/2011-07-28_crotw_car.v6.30.jpg' - - [28/Jul/2011:11:54:35 --0500]
[][rid#7fccf422ece0/initial] (2) rewrite
'/media/crotw/2011/2011-07-28_crotw_car.v6.30.jpg' ->
'/media/crotw/2011/2011-07-28_crotw_car.jpg' - - [28/Jul/2011:11:54:35 --0500]
[][rid#7fccf422ece0/initial] (2) local path
result: /media/crotw/2011/2011-07-28_crotw_car.jpg - - [28/Jul/2011:11:54:35 --0500]
[][rid#7fccf422ece0/initial] (1) go-ahead with
/media/crotw/2011/2011-07-28_crotw_car.jpg [OK]

However, I get a 404 error, and the error log shows:

[Thu Jul 28 12:07:57 2011] [error] [client] File does not exist:

Notice everything missing past the crotw part.

File permissions are OK, and I can copy/paste the go-ahead address in the
browser address bar and the image shows just fine. So, it appears that the
internal rewrite is not working in Apache any more, as it did in 2.2.6.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message