You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Paul J. Reder" <re...@raleigh.ibm.com> on 2000/01/07 16:44:17 UTC

[Patch]: Fix mod_rewrite to properly use the new finfo struct.

This is a patch to get mod_rewrite compiling again under 2.0 
with Ryan's latest finfo changes. It compiles and comes up. I
am testing this and other modules more extensively right now.


-- 
Paul J. Reder
------------------------------------------------------------
"Remember, Information is not knowledge; Knowledge is not Wisdom;
Wisdom is not truth; Truth is not beauty; Beauty is not love;
Love is not music; Music is the best." -- Frank Zappa



Index: mod_rewrite.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_rewrite.c,v
retrieving revision 1.8
diff -r1.8 mod_rewrite.c
3765,3766c3765,3766
<         if (r->finfo.st_mode != 0) {
<             if ((pw = getpwuid(r->finfo.st_uid)) != NULL) {
---
>         if (r->finfo.protection != 0) {
>             if ((pw = getpwuid(r->finfo.user)) != NULL) {
3780,3781c3780,3781
<         if (r->finfo.st_mode != 0) {
<             if ((gr = getgrgid(r->finfo.st_gid)) != NULL) {
---
>         if (r->finfo.protection != 0) {
>             if ((gr = getgrgid(r->finfo.group)) != NULL) {