Page 1 of 1

Problem with .htaccess

Posted: Wed Jan 31, 2007 11:01 am
by MaxMM
Hi
I am having some problems with .htaccess. It does not work proparly.
Please let me know what am I doing wrong.


I created and placed that file [ .htaccess ] in a folder where I dont want people to access my files/folders directly on the web
and inside the file I wrote:

# no one gets in here!
deny from all

But it does not work.. I can still access the files/folders from web http

Thank you.
MM

Posted: Wed Jan 31, 2007 11:16 am
by louie35
add this

IndexIgnore *

Posted: Wed Jan 31, 2007 11:18 am
by MaxMM
where?

Posted: Wed Jan 31, 2007 11:21 am
by louie35
we are talking about the .htaccess file so in there

Posted: Wed Jan 31, 2007 11:23 am
by MaxMM
if you meant like this:


# no one gets in here!
deny from all
IndexIgnore *

Still doest work.. I can still access the folder...

Posted: Wed Jan 31, 2007 6:51 pm
by RobertGonzalez
Are you on an apache server?

Posted: Wed Jan 31, 2007 7:17 pm
by MaxMM
yes.

Is it possible that I dont have permission to do that on my server?

Thank you.

Posted: Thu Feb 01, 2007 12:15 am
by RobertGonzalez
Possible, yes. Likely, no. But you could always check with your host to see if they have disallowed it.

Posted: Thu Feb 01, 2007 8:38 am
by MaxMM
do you know how to check if I have permission?

Posted: Thu Feb 01, 2007 9:09 am
by feyd
Ask your host.