Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
MaxMM
Forum Newbie
Posts: 6 Joined: Wed Jan 31, 2007 10:56 am
Post
by MaxMM » Wed Jan 31, 2007 11:01 am
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
louie35
Forum Contributor
Posts: 144 Joined: Fri Jan 26, 2007 8:40 am
Location: Dublin
Contact:
Post
by louie35 » Wed Jan 31, 2007 11:16 am
add this
IndexIgnore *
MaxMM
Forum Newbie
Posts: 6 Joined: Wed Jan 31, 2007 10:56 am
Post
by MaxMM » Wed Jan 31, 2007 11:18 am
where?
louie35
Forum Contributor
Posts: 144 Joined: Fri Jan 26, 2007 8:40 am
Location: Dublin
Contact:
Post
by louie35 » Wed Jan 31, 2007 11:21 am
we are talking about the .htaccess file so in there
MaxMM
Forum Newbie
Posts: 6 Joined: Wed Jan 31, 2007 10:56 am
Post
by MaxMM » Wed Jan 31, 2007 11:23 am
if you meant like this:
# no one gets in here!
deny from all
IndexIgnore *
Still doest work.. I can still access the folder...
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Wed Jan 31, 2007 6:51 pm
Are you on an apache server?
MaxMM
Forum Newbie
Posts: 6 Joined: Wed Jan 31, 2007 10:56 am
Post
by MaxMM » Wed Jan 31, 2007 7:17 pm
yes.
Is it possible that I dont have permission to do that on my server?
Thank you.
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Thu Feb 01, 2007 12:15 am
Possible, yes. Likely, no. But you could always check with your host to see if they have disallowed it.
MaxMM
Forum Newbie
Posts: 6 Joined: Wed Jan 31, 2007 10:56 am
Post
by MaxMM » Thu Feb 01, 2007 8:38 am
do you know how to check if I have permission?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Feb 01, 2007 9:09 am
Ask your host.