Directory access
am 11.07.2007 15:35:42 von Matis
Hello,
I want to disable directory browsing by clients. I've found that I have to
put this into httpd.conf to achieve it:
AllowOverride None
Order Deny,Allow
Deny from All
I did it, but it's still possible to access directories with webbrowser.
What should I do? I use Apache 2.2.3.
Thank you,
Matis
Re: Directory access
am 11.07.2007 17:05:29 von Kurt Weber
Matis wrote:
> Hello,
>
> I want to disable directory browsing by clients. I've found that I have to
> put this into httpd.conf to achieve it:
>
>
> AllowOverride None
> Order Deny,Allow
> Deny from All
>
>
> I did it, but it's still possible to access directories with webbrowser.
> What should I do? I use Apache 2.2.3.
Did you tell Apache to reload its configuration after you made the changes?
--
Kurt M. Weber
Re: Directory access
am 11.07.2007 17:20:43 von Your Best Friend
In the root folder, add a .htaccess file. Somewhere, there should be a
line that reads Options All -Indexes
This will prevent all directory browsing from the folder it's in forwards.
Matis wrote:
> Hello,
>
> I want to disable directory browsing by clients. I've found that I have to
> put this into httpd.conf to achieve it:
>
>
> AllowOverride None
> Order Deny,Allow
> Deny from All
>
>
> I did it, but it's still possible to access directories with webbrowser.
> What should I do? I use Apache 2.2.3.
>
> Thank you,
> Matis
--
Thanks,
Bryan K
bk@bkworksproducts.com.info
To reply, remove .com
** PROUD USER OF THUNDERBIRD **
Re: Directory access
am 11.07.2007 19:40:36 von Matis
Kurt M. Weber wrote:
> Did you tell Apache to reload its configuration after you made the
> changes?
Yes, I did.
Re: Directory access
am 11.07.2007 19:46:12 von Matis
Your Best Friend wrote:
> In the root folder, add a .htaccess file. Somewhere, there should be a
> line that reads Options All -Indexes
> This will prevent all directory browsing from the folder it's in forwards.
It didn't help. I deleted "AllowOverride None" from httpd.conf, but it still
doesn't work.
Re: Directory access
am 11.07.2007 23:35:35 von kwan
On Jul 11, 12:46 pm, Matis wrote:
> Your Best Friend wrote:
> > In the root folder, add a .htaccess file. Somewhere, there should be a
> > line that reads Options All -Indexes
> > This will prevent all directory browsing from the folder it's in forwards.
>
> It didn't help. I deleted "AllowOverride None" from httpd.conf, but it still
> doesn't work.
Find all the directories that you have been setting, you may allow the
indexes or all in the Options section.
Re: Directory access [SOLVED]
am 12.07.2007 15:50:26 von Matis
Matis wrote:
> Hello,
>
> I want to disable directory browsing by clients. I've found that I have to
> put this into httpd.conf to achieve it:
>
>
> AllowOverride None
> Order Deny,Allow
> Deny from All
>
>
> I did it, but it's still possible to access directories with webbrowser.
> What should I do? I use Apache 2.2.3.
OK, I solved the problem by specifying directories which I wanted to be
restricted from public browsing.
Thanks,
Matis