Discussion:
"IndexIgnore not allowed here" .. Uhm, Yes it is?
(too old to reply)
Solbu
2010-05-02 23:16:26 UTC
Permalink
Hi.
I have a server (Debian Lenny) on which I want to allow the use of
IndexIgnore .htaccess on a certain folder.
(In order to hide imagefiles and not the other files.)
but apache refuses to allow this.

Here is the setup for the folder in sites-enabled/blahblah.tld
======
<Directory /some/web/folder/here/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
======

But apache dislay a "500 internal server error" and logs an error:
======
....... /some/web/folder/here/.htaccess: IndexIgnore not allowed here
======
This is all it logs.


Any idea on why it's not beeing allowed?
(Yes, I did restart/reload apache afterwards.)

- --
Solbu - http://www.solbu.net
Remove '.ugyldig' for email
PGP key ID: 0xFA687324
Solbu
2010-05-02 23:18:46 UTC
Permalink
Post by Solbu
I have a server (Debian Lenny) on which I want to allow the use of
IndexIgnore .htaccess on a certain folder.
Trying again, shall we. :-)=

I want to allow the use of IndexIgnore
in .htaccess files in one specific folder. :-)=

- --
Solbu - http://www.solbu.net
Remove '.ugyldig' for email
PGP key ID: 0xFA687324
Davide Bianchi
2010-05-03 06:29:08 UTC
Permalink
Post by Solbu
<Directory /some/web/folder/here/>
And if you use '<Directory "/some/web/folder">' ? (aka: put it between
quotes and remove the last '/')

Davide
--
Helping you to shoot yourself in the foot is not in my mission statement.
-- Shmuel (Seymour J.) Metz
Solbu
2010-05-03 10:49:31 UTC
Permalink
Post by Davide Bianchi
And if you use '<Directory "/some/web/folder">' ?
Same: "500 Internal Server Error"
and Apache logs "IndexIgnore not allowed here"

:-\

- --
Solbu - http://www.solbu.net
Remove '.ugyldig' for email
PGP key ID: 0xFA687324
Solbu
2010-05-03 11:16:30 UTC
Permalink
Post by Solbu
Any idea on why it's not beeing allowed?
And I just found the error. :-)=

On our server we use the vhost_alias module to easilly add new webpages
by symlinking to the folder containing the webpage.
Some of the domains have separate configurations, in sites-enabled/.

I also had to allow overriding the Indexes in the vhost_alias.conf file.

- --
Solbu - http://www.solbu.net
Remove '.ugyldig' for email
PGP key ID: 0xFA687324

Loading...