Forum Moderators: phranque

Message Too Old, No Replies

.htaccess directory listing

         

le_plop

7:45 pm on Jul 27, 2004 (gmt 0)



so far i've been able to customise using:

Options Indexes
IndexOptions +IgnoreCase +SuppressDescription NameWidth=* +SuppressHTMLPreamble
AddIcon (IMG,/.icons/image2.gif) .gif .jpg .xbm
IndexIgnore '.'
HeaderName .ljheader.html
HeaderName .ljfooter.html

<snip>

I'd like to be able to stop it listing the 'Parent Directory' entry, as it's not needed.

I've tried allsorts like:

IndexIgnore .
and
IndexIgnore '.'
and
IndexIgnore /

etc

...to no avail.

Any ideas?

Thanks in advance. :)

[edited by: jdMorgan at 7:53 pm (utc) on July 27, 2004]
[edit reason] Removed specifics per TOS [/edit]

encyclo

7:52 pm on Jul 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, le_plop! You might want to review the terms of service [webmasterworld.com] for the forum, particularly regarding the dropping of personal URLs.

To answer your question, you should try adding:

IndexIgnore ..

(that is, two dots)

Hope that works for you.