One thing I do from time to time is share a folder structure in many ways. This could include HTTP and AppleShare both (especially using SharePoints or equivalent to share a folder structure separate from the user's Public Site).
However, if I allow Directory Listing for that folder structure, I end up with that ugly "Icon?" file, assuming that I added my own, more pretty or informative icon to any of the folders in the Finder. So, I looked up the correct directive to hide any file/folder pattern in Apache, and blocked that darn "Icon?" file from showing as follows:
- Become the root (superuser)
- Type cd /etc/httpd
- Edit httpd.conf (using your favorite editor - vi is mine)
- Find the string "IndexIgnore"
- Add Icon? to the end of that line. The line looks as follows (once the change is added):
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t Icon?
- Write and Quit
- Retart your Apache Web Server (Personal Web Sharing).
Cheers!