You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Cliff Skolnick <cl...@organic.com> on 1996/05/09 22:14:39 UTC
WWW Form Bug Report: "CERN Metafiles don't work for "indexed" dirs" on Solaris 2.x (fwd)
no ack sent
--
Cliff Skolnick cliff@organic.com
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759
---------- Forwarded message ----------
Date: Thu May 9 12:42:35 1996
From: appro@fy.chalmers.se
To: cliff@organic.com
Subject: WWW Form Bug Report: "CERN Metafiles don't work for "indexed" dirs" on Solaris 2.x
Submitter: appro@fy.chalmers.se
Operating system: Solaris 2.x, version:
Version of Apache Used: 1.1b2
Extra Modules used:
URL exhibiting problem:
Symptoms:
--
Me again!
I found that CERN Metafiles are not "played" for
DirectoryIndex files. I mean http://acme.com/
and http://acme.com/index.html carry different
MIME headers... Not neat either... Below is a
patch for mod_cern_meta.c :-)
Cheers. Andy.
*** mod_cern_meta.c.orig Mon Mar 11 10:14:41 1996
--- mod_cern_meta.c Wed May 8 18:33:55 1996
***************
*** 253,259 ****
};
/* does uri end in a trailing slash? */
! if ( r->uri[strlen(r->uri) - 1] == '/' ) {
return DECLINED;
};
--- 253,259 ----
};
/* does uri end in a trailing slash? */
! if ( r->uri[strlen(r->uri) - 1] == '/' && S_ISDIR(r->finfo.st_mode)) {
return DECLINED;
};
--
Backtrace:
--
--