You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Alexei Kosut <ak...@hyperreal.com> on 1996/03/18 08:47:27 UTC
cvs commit: apache/src mod_userdir.c
akosut 96/03/17 23:47:27
Modified: src mod_userdir.c
Log:
Undo Jim Jagielski's changes, so CGI script userdirs work.
Revision Changes Path
1.5 +2 -5 apache/src/mod_userdir.c
Index: mod_userdir.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_userdir.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C3 -r1.4 -r1.5
*** mod_userdir.c 1996/03/18 01:55:39 1.4
--- mod_userdir.c 1996/03/18 07:47:26 1.5
***************
*** 173,186 ****
}
! /* Now see if it exists */
! if (stat(filename, &r->finfo) != -1) {
r->filename = pstrcat(r->pool, filename, dname, NULL);
return OK;
}
- /* At last entry? Then NOT_FOUND */
- if (!*userdirs)
- return NOT_FOUND;
}
return DECLINED;
--- 173,183 ----
}
! /* Now see if it exists, or we're at the last entry */
! if (!*userdirs || stat(filename, &r->finfo) != -1) {
r->filename = pstrcat(r->pool, filename, dname, NULL);
return OK;
}
}
return DECLINED;