Skip to main content
Inspiring
July 20, 2006
Question

.htAccess - not blocking directories

  • July 20, 2006
  • 9 replies
  • 520 views
Can I please get somebody to check my directory? It is *not* allowing me
access in FF, but is in IE.

Obviously, this seems completely bass-ackward, so I'm rebooting and will
check back here in a bit.

my .htaccess file resides in my www/ directory. with the following code:
IndexIgnore */*

http://demo.mediachurch.com/images/

Giver her a whirl and let me know how she dances..

--

TIA,

Jon Parkhurst
PriivaWeb
http://priiva.net.


This topic has been closed for replies.

9 replies

Inspiring
July 21, 2006
Sure thing. I've got to do some work on it this weekend and will be
discussing it with the senior developer here, so we'll see how that goes.
Hopefully he can spot it, if not, I'll be revisiting this Monday.

Have a good weekend!

Jon

>
> De nada. On the other - php database problem - I'm out of town for the
> weekend; if it's still a problem, drop me a note on Monday (link below).


Inspiring
July 21, 2006
On 21 Jul 2006 in macromedia.dreamweaver.appdev, crash wrote:

> Thanks for your help Joe, it's much appreciated.

De nada. On the other - php database problem - I'm out of town for the
weekend; if it's still a problem, drop me a note on Monday (link below).

--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php
Inspiring
July 21, 2006
hehee, that's what I've got now. I'm more worried that somebody find out
what our 'common' aplpication directory is and try somehow to get into that.

Dunno, probably not that big of a deal at all. I guess as long as I can
stop the spiders. One of them followed a delete link the other day that
took out my articles.

(talk about a "duh" moment when another guy told me what he'd found, felt a
bit foolish).

Thanks for your help Joe, it's much appreciated.

Jon

"Joe Makowiec" <makowiec@invalid.invalid> wrote in message
news:Xns9806B26CB6D8DmakowiecatnycapdotrE@216.104.212.96...
> On Thu 20 Jul 2006 05:26:06p, crash wrote in
> macromedia.dreamweaver.appdev:
>
>> Is ther ea way to get around the directory just looking empty?
>
> <html>
> <head>
> <title>Go away</title>
> </head>
> <body></body>
> </html>


Inspiring
July 20, 2006
On Thu 20 Jul 2006 05:26:06p, crash wrote in macromedia.dreamweaver.appdev:

> Is ther ea way to get around the directory just looking empty?

<html>
<head>
<title>Go away</title>
</head>
<body></body>
</html>
Inspiring
July 20, 2006
hmmmmm

OK, now it's blocking *files, but not the entire directory. (see,
http://demo.mediachurch.com/test/)

Does anybody use Frontpage and can they tell me what lines mess it up?

Mine line (that was in the file) looked like this:

IndexIgnore */* .htaccess */.??* *~ *# */HEADER* */README* */_vti*

I put in the */*, but dont' really know what the rest of the junk is, and am
very curious as to the */.??** stuff. Is that why it's showing me a
directory exists, but not the files?

Is ther ea way to get around the directory just looking empty?

(I'm also trygin to read, but this is hard to find info on).

TIA,

Jon


Inspiring
July 20, 2006
On Thu 20 Jul 2006 04:51:10p, crash wrote in
macromedia.dreamweaver.appdev:

> no, i don't want it browsable. i'm trying to figure out how to protect
> everything below www from an htaccess on www.
>
> not there yet, i'm complely locked out now. :O)

Flailing around here:

Try:
o In .htaccess:
Options -Indexes

o Default on recent versions of Apache has been to prohibit directory
browsing. Do you have access to httpd.conf? If so, look for a block
which looks like
<Directory ...>
stuff stuff indexes stuff ...
</Directory>

Copy the line with indexes in it; comment the copy out; remove indexes
from the working line so that it looks like:
<Directory ...>
; stuff stuff indexes stuff ...
stuff stuff stuff ...
</Directory>

In other words, back up the working configuration... Restart Apache.
Inspiring
July 20, 2006
no, i don't want it browsable. i'm trying to figure out how to protect
everything below www from an htaccess on www.

not there yet, i'm complely locked out now. :O)


"Joe Makowiec" <makowiec@invalid.invalid> wrote in message
news:Xns9806AAA0437DCmakowiecatnycapdotrE@216.104.212.96...
> On Thu 20 Jul 2006 04:19:24p, crash wrote in
> macromedia.dreamweaver.appdev:
>
>> Can I please get somebody to check my directory? It is *not* allowing
>> me access in FF, but is in IE.
>>
>> Obviously, this seems completely bass-ackward, so I'm rebooting and
>> will check back here in a bit.
>>
>> my .htaccess file resides in my www/ directory. with the following
>> code: IndexIgnore */*
>>
>> http://demo.mediachurch.com/images/
>>
>> Giver her a whirl and let me know how she dances..
>
> You mean you want it browsable? It worked in both FF and IE from here.


Inspiring
July 20, 2006
On Thu 20 Jul 2006 04:19:24p, crash wrote in
macromedia.dreamweaver.appdev:

> Can I please get somebody to check my directory? It is *not* allowing
> me access in FF, but is in IE.
>
> Obviously, this seems completely bass-ackward, so I'm rebooting and
> will check back here in a bit.
>
> my .htaccess file resides in my www/ directory. with the following
> code: IndexIgnore */*
>
> http://demo.mediachurch.com/images/
>
> Giver her a whirl and let me know how she dances..

You mean you want it browsable? It worked in both FF and IE from here.
Inspiring
July 20, 2006
got it, everythign worked on reboot. strange. thanks anyway.