In addition to that....
I usually throw a file named index.php in the directory that contains
<?php
header("Location: http://yourserver/");
exit;
?>
This provideds a better user exerpience as it doesn't present a nasty
access denied error.
mike helmick
------------------------------------------------------
Michael T Helmick, M.S. 2004 NKU, B.S. 2000 XU
Ph.D. Student - University of Cincinnati, College of Engineering
Web: http://mikehelmick.com/
------------------------------------------------------
Help stamp out and abolish redundancy.
> Nevermind. I found it. Just remove the Indexes
> option on the Options directive in the <Directory>
> entry for htdocs in the httpd.conf.
>
>
> -Jason
> --- Jason Kretzer <jrkretzer@xxxxxxxxx> wrote:
>> Hello all:
>>
>> Its been so long since I set up Apache, I cannot
>> remember how to turn off the directory listing. For
>> example, in htdocs I have a directory called images.
>>
>> When I go to localhost/images I get a listing of all
>> the files there. How would I turn this off? I am
>> looking for the solution that produces this kind of
>> error message.
>>
>>
>> You don't have permission to access /images/ on this
>> server.
>>
>> Thanks for helping with my brain lapse.
>>
>> -Jason
>>
>>
>>
>>
>> __________________________________
>> Yahoo! Messenger
>> Show us what our next emoticon should look like.
>> Join the fun.
>> http://www.advision.webevents.yahoo.com/emoticontest
>>
>> ---------
>> You may unsubscribe from this mailing list
>> by sending a blank email addressed to:
>> users-unsubscribe@xxxxxxxxxx
>>
>> --
>> Find additional help by sending a blank email
>> addressed to:
>> users-help@xxxxxxxxxx
>>
>>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 250MB free storage. Do more. Manage less.
> http://info.mail.yahoo.com/mail_250
>
> ---------
> You may unsubscribe from this mailing list
> by sending a blank email addressed to:
> users-unsubscribe@xxxxxxxxxx
>
> --
> Find additional help by sending a blank email
> addressed to:
> users-help@xxxxxxxxxx
>
|