This solution utilizes Apache directives exclusively for achieving the desired result. Although my response to this question is belated, I am leaving this information here for future reference. These directives are applicable for Apache v2.0 and above.
The following directives are necessary:
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing
IndexOptions SuppressLastModified
IndexOptions SuppressSize
</IfModule>
The optimal placement for these directives would likely be in the .htaccess file within the targeted directory.
Important Note: The FancyIndexing
option is crucial for activating the two Suppress
options. Without it, they will not function as intended.
Access Official Apache IndexOptions Documentation Here