• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

.htaccess

Question

timsweb    1

Hey,

If i use: IndexIgnore *

It stops people viewing the index when theres no index file, and it does the same to subdirectorys, how can i make it do the folder its in, but theres 1 subdirectorie i dont want it to do it to, how do i do this?

I guess i have another .htaccess in the subdirectorie, if so what do i put in it?

Thanks, Tim

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
+M2Ys4U    97

have you tried just putting IndexIgnore by itself?

Share this post


Link to post
Share on other sites
  • 0
timsweb    1

That would still do it to all the subsolders, do you mean put that in the news .htaccess in the subdirectorie?

EDIT: If so, it didnt work

Share this post


Link to post
Share on other sites
  • 0
+M2Ys4U    97

in the subdirectory.

interesting.. I don't know, then, to be honest

Share this post


Link to post
Share on other sites
  • 0
timsweb    1

ok, anyone else have a solution or idea?

Share this post


Link to post
Share on other sites
  • 0
metal_dragen    30

Make a .htaccess in the subdirectory you want to have this not happen in, and put 'Options +Indexes' in it.

Share this post


Link to post
Share on other sites
  • 0
timsweb    1

Oh, will test, but im just about reinstall my laptop which im on, so il do it once im back :)

Thanks, Tim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.