What's the opposite of: IndexIgnore *

Operating system       Linux
Kernel version      2.4.21-27.0.2.EL
Apache version      1.3.33 (Unix)


If to .htaccess I add

Options -Indexes

I can re-enable indexing for a subdirectory by adding to a new .htaccess

Options Indexes


But if the parent directory's .htaccess contains

IndexIgnore *

how can I re-enable directory listing for the subdirectory with it's respective .htaccess without altering the parent .htaccess?  AND without root access (to modify other config files)??
paradoxlossAsked:
Who is Participating?
 
caterham_wwwCommented:
ok, I took a look at the manual and it says that you cannot override the IndexIgnore directive, is added to the parent one.
Since there seems to be no IndexDontIgnore, you cannot use IndexIgnore * if you want allow to show some files in subdirs
0
 
caterham_wwwCommented:
just use i.e.

Options +Indexes
IndexIgnore .htaccess .htpasswd

in your subdirectory
0
 
paradoxlossAuthor Commented:

That doesn't work for me:

http://img45.echo.cx/img45/9905/nope0fd.png


/IEstar
  .htaccess
     IndexIgnore *

/IEstar/OplusE
  .htaccess
     Options +Indexes
     IndexIgnore .htaccess .htpasswd


Cannot see list of files in  /IEstar/OplusE  (see screencap above)



Any other suggestions?


thanks for trying
0
 
paradoxlossAuthor Commented:
Oh and /.htaccess contains

IndexOptions +FancyIndexing +FoldersFirst +SuppressLastModified +SuppressDescription +NameWidth=80

But that doesn't impact the first question.  That's only to explain the screenshot should you have had questions.
0
 
paradoxlossAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.