httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Huxley <ahux...@gmx.net>
Subject [users@httpd] remove text "Index of <path>" from indexes?
Date Tue, 15 Jun 2004 07:42:15 GMT
Hi, I'm using 2.0.49 and the following in .htaccess to get indexes of
directories:

        Options Indexes FollowSymLinks
        IndexOptions NameWidth=*

I also use the rewrite engine to map a consistent URL stem to a
user-specific real underlying URL.

This combination means that users see a user-specific directory listing
when visiting the same URL. This works fine. Except ...

... that the directory listing starts with the text:

        Index of <path> 

where <path> contains the user-specific directory component, e.g. 
'fred' sees:

        Index of /stem/fred
        file1-for-fred.txt
        file2-for-fred.txt

and 'bert' sees:

        Index of /stem/bert
        file1-for-bert.txt
        file2-for-bert.txt

I would prefer that they see:

        file1-for-fred.txt
        file2-for-fred.txt

and:
 
        file1-for-bert.txt
        file2-for-bert.txt

respectively, in order that the per-user directory mapping is less
apparent.

I checked http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html
but there is nothing that works (including 'HeaderName').

Is there some way to suppress this title "index of " line? Thanks!

Alexis


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message