You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/07/15 04:46:59 UTC
DO NOT REPLY [Bug 10575] -
no option to autoindex auth protected files/folders -nt-
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10575>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10575
no option to autoindex auth protected files/folders -nt-
------- Additional Comments From noisefactor@netscape.net 2003-07-15 02:46 -------
i had to tweak the mod_autoindex.c in the
latest version of apache to get it
to work right. here are my work-arounds:
//if (!(p->icon = find_icon(d, rr, 1))) {
// was getting wrong icons on folders
p->icon = find_default_icon(d, "^^DIRECTORY^^");
//}
if (!(p->alt = find_alt(d, rr, 1))) {
if (!(p->alt = find_default_alt(d, "^^DIRECTORY^^"))) {
p->alt = "DIR";
}
}
}
else {
p->icon = find_icon(d, rr, 0);
p->alt = find_alt(d, rr, 0);
p->size = rr->finfo.size;
}
p->desc = find_desc(d, rr->filename);
if ((!p->desc) && (autoindex_opts & SCAN_HTML_TITLES)) {
//added this check -- was getting garbage description on folder
if (dirent->filetype != APR_DIR)
p->desc = apr_pstrdup(r->pool, find_title(rr));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org