Discussion:
how to config apache so it will NOT using timestamp of index.html for directoy indexes
(too old to reply)
o***@gmail.com
2012-08-29 14:17:02 UTC
Permalink
Hello,
I'm using the following config for apache:
<Directory "/">
Options Indexes FollowSymLinks
</Directory>
But for sub directory that have index.html, apache will use the timestamp ofindex.html instead of the time stamp of the directory itself, eg:

<a>
<b>
index.html
<c>
index.html

When apache create the auto index file list for a, it will show b's time stamp using 'b/index.html'.
I'd like to know how to disable it and show the time stamp of b itself.

Thanks.
Ivan Shmakov
2012-08-30 03:40:58 UTC
Permalink
[Cross-posting to news:alt.apache.configuration, for I wonder if
its subscribers could answer this one? TIA.]

[...]
Post by o***@gmail.com
But for sub directory that have index.html, apache will use the
timestamp ofindex.html instead of the time stamp of the directory
<a>
<b>
index.html
<c>
index.html
When apache create the auto index file list for a, it will show b's
time stamp using 'b/index.html'. I'd like to know how to disable it
and show the time stamp of b itself.
If the intent is for Apache to manage indices by itself, my
suggestion would be to configure it to ignore the index.html
files completely, like:

<Directory /whatever>
<IfModule mod_dir.c>
DirectoryIndex .no.index.at.all.html
</IfModule>
</Directory>
--
FSF associate member #7257 http://sf-day.org/
Loading...