httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Ralf S. Engelschall)
Subject Re: [BUG]: "mod-rewrite broke from 1.2b4 to 1.2b6" on Solaris 2.x (fwd)
Date Tue, 28 Jan 1997 14:31:35 GMT

In article <> you wrote:

> One for Ralf..

> http://.../people/username to the relevant home directories.
> This is done so that the people don't actually need
> accounts on the server.  The automounter takes care
> of some of the work.

> Here are the rewrite rules:

> RewriteEngine on
> RewriteRule /people/([a-z0-9A-Z]+)$ /people/$1/ [L,R]
> RewriteRule /people/([a-z0-9A-Z]+)/$ /users/$1/www/ [L]
> RewriteRule /people/([a-z0-9A-Z]+)/(.*) /users/$1/www/$2

> Somehow, it's mapping /people/stange/index.html
> into /use

> This works correctly in 1.2b4.

No, this is the 4-character problem of the broken mod_rewrite in 1.2b6. It
seems to be related to the recent snprintf/strncpy changes the Apache Group
did. A lot of bug reports arrive here. I diff'ed the 1.2b6 version of
mod_rewrite and found a lot of changes by the Apache Group. Hmmm...

I would again prefer to include mod_rewrite 2.4.1 into 1.2b7, perhaps with
snprintf/strncpy changes incorporated.

Has anyone already fixed this bug?

                                        Ralf S. Engelschall

View raw message