Hi! Just a quick question ~
I am wondering how to make directories inaccessible to people visiting my sites like "/images".
I guess it just feels kind of personal and I don't want anyone accessing it?
I have a 403 forbidden page, but it doesn't actually keep you from getting into the directory? Is there something else I need to do?
Thanks a bunch in advance if anyone knows :)
403 Forbidden
403 Forbidden
VICTORY ♦ WITH EVERYTHING WE HAVE
Re: 403 Forbidden
If there's no index the .htaccess usually kicks in and redirects. I haven't tested this, so I don't know if/how it works, but I found this page about preventing directory listings and this other one about deniying access to folders. Both are related to the .htaccess file. Sorry I couldn't be more helpful, I haven't tried to do this before.
-
- Communications Staffer
- Posts: 1078
- Joined: Sat Oct 13, 2012 7:55 pm
- Location: Canada
- Contact:
Re: 403 Forbidden
Mikari is right, you need an .htaccess file to prevent people from looking at your directory. OR you can make a blank index page and put it in every directory you don't want people looking into :D
Join in the Tale, in the Blight, of Conquest and Lies
Come the Sun, to Tarnish in the Sky
Vow that we shall Tear the Light - Dark seizes the Throne
Lost in thoughts, all alone
Come the Sun, to Tarnish in the Sky
Vow that we shall Tear the Light - Dark seizes the Throne
Lost in thoughts, all alone