Bug 22237 - option to disable ServerSignature on index pages
Summary: option to disable ServerSignature on index pages
Status: RESOLVED WONTFIX
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_autoindex (show other bugs)
Version: 2.0.47
Hardware: All All
: P3 enhancement with 2 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2003-08-08 04:20 UTC by John Belmonte
Modified: 2016-08-11 12:31 UTC (History)
0 users



Attachments
mod_autoindex.c.diff (1.74 KB, patch)
2003-09-15 20:27 UTC, David Shane Holden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Belmonte 2003-08-08 04:20:48 UTC
I would like a mod_autoindex option to disable display of the server signature
on index pages.
Comment 1 André Malo 2003-08-08 09:19:43 UTC
Why is the <http://httpd.apache.org/docs-2.0/mod/core.html#serversignature>
directive not sufficient?
Comment 2 John Belmonte 2003-08-08 13:17:40 UTC
I would still like to show the server signature on error pages, mod_info pages,
etc.  I don't want it cluttering index pages, which a user sees in normal
circumstances.
Comment 3 André Malo 2003-08-08 13:43:09 UTC
Hmm. An empty readmefile should do the same then (untested).
I don't think, that this would justify a new directive or option.
Comment 4 John Belmonte 2003-08-08 15:35:22 UTC
Are you suggesting that I populate my file tree with hundreds of empty README
files rather than allowing me to just write

    IndexOptions +SupressServerSignature

in one place?
Comment 5 André Malo 2003-08-08 17:18:20 UTC
ehm, no. I'm suggesting to use one file, such as

ReadmeName /icons/readme

or similar.
Comment 6 John Belmonte 2003-08-08 18:01:16 UTC
The problem I see with that workaround is that if some directories actually have
README files that I would like used, I have to manually change the ReadmeName
directive in those locations.  I would rather not take on that extra
maintenance.  Furthermore, it's also unworkable if the user has permissions to
change the directory contents but not the ReadmeName directive.

Instead of adding a new option, another solution would be to disable display of
the server signature on index pages altogether.  Consider:

    * What relevance does server info have to the displaying of a file index?

    * If indeed it has some relevance, why would you want it to disappear just
because a README exists?
Comment 7 David Shane Holden 2003-09-15 20:27:33 UTC
Created attachment 8237 [details]
mod_autoindex.c.diff
Comment 8 David Shane Holden 2003-09-15 20:28:33 UTC
Here's a patch for ya... add +SuppressServerSignature to IndexOptions and the
sig will be gone.
Comment 9 Jeff Trawick 2003-11-21 17:34:01 UTC
I'm going through the bug db to make sure patches are findable.  Please see 
http://httpd.apache.org/dev/patches.html
Comment 10 Paul Querna 2004-08-30 11:27:17 UTC
nd: Are you still -1 on adding a "+SupressServerSignature" to mod_autoindex?
Comment 11 Luca Toscano 2016-08-11 12:31:28 UTC
After all this time I am inclined to close this bug request as wontfix. Please re-open it if something is missing.