MyBB Community Forums

Full Version: how to deny /images directory root access
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

I want deny access to /images folder root. Now www.mysite.com/images/ shows a white blank page. I want to give a 404 error for that page.

I tried adding
Options -Indexes

to an .htaccess file and put in the /images directory, but then it returns "internal server error" and all my images in the forum went off.

How can I do that ? Please help me
Its not really a 404 though is it? Your site has that directory. If you are showing a white page that is because you have an index.html file in there. Try renaming that and see what you get when you try to access the images folder via url
Hi Leefish
Thanks for the reply.
I never thought that directory has an index file. Now renamed it and everything fine