Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 1 Month, 2 Weeks ago how to deny /images directory root access
#1
Solved: 4 Years, 1 Month, 2 Weeks ago
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
Reply
#2
Solved: 4 Years, 1 Month, 2 Weeks ago
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
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#3
Solved: 4 Years, 1 Month, 2 Weeks ago
Hi Leefish
Thanks for the reply.
I never thought that directory has an index file. Now renamed it and everything fine
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)