1 Replies - 1697 Views - Last Post: 14 July 2012 - 05:50 PM

#1 UziTech  Icon User is offline

  • D.I.C Head

Reputation: 7
  • View blog
  • Posts: 64
  • Joined: 26-October 10

apache mod_autoindex indexignore or indexallow?

Posted 14 July 2012 - 05:45 PM

I am looking for a way to only allow certain files with .htaccess usin mod_autoindex. I have been using IndexIgnore filedenied1, filedenied2, filedenied3... the problem is everytime I add a file to the directory I have to change .htaccess if I don't want that file viewed. I know indexIgnore allows wildcards but I tried IndexIgnore !(fileallowed1,fileallowed2) but that does not work. I haven't found anything like IndexAllow (Even though they should add that) but does anyone know if there is a not wildcard for IndexIgnore? or any other way to do this?

Is This A Good Question/Topic? 0
  • +

Replies To: apache mod_autoindex indexignore or indexallow?

#2 no2pencil  Icon User is online

  • Admiral Fancy Pants
  • member icon

Reputation: 5382
  • View blog
  • Posts: 27,350
  • Joined: 10-May 07

Re: apache mod_autoindex indexignore or indexallow?

Posted 14 July 2012 - 05:50 PM

Because Apache is a webserver & this questions is in regards to it's configuration, I'm moving it to WebServers & Hosting for better view.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1