Forum Moderators: phranque

Message Too Old, No Replies

disappears directory and files .htaccess

         

JoeBlack

4:50 am on Jan 5, 2005 (gmt 0)

10+ Year Member



when i secure directorys or files with .htaccess with something like:
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /var/www/localhost/pass
Require user xyz
the indexing system of apache dont show the directory where have a .htaccess like the showed...
can anyone tell why?... or a solution for this?

jdMorgan

11:24 pm on Jan 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



JoeBlack,

Welcome to WebmasterWorld!

I'm sorry, but I'm afraid I really don't understand your question. Can you provide any more information that might help us help you?

Thanks,
Jim

JoeBlack

2:04 am on Jan 6, 2005 (gmt 0)

10+ Year Member



ok i have apache with options Indexes
when i enter my site shows me directorys and files in the example i will put 2 directorys:

Temp
Mp3

if i put a .htaccess inside of temp and the .htaccess have something like this:

AuthType Basic
AuthName "Restricted Files"
AuthUserFile /var/www/localhost/pass
Require user xyz

when i enter again on my site the directory is not showed:

mp3

but the directory is there, the AuthType works fine because if i enter to the directory directly from the direction bar of the internet explorer is request me the user and pass.
my question is...
is possible that the directory appears with the .htaccess?