[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: Re: How do we prevent directory access in apache
From: Greg Huber <gregh3269 () gmail ! com>
Date: 2018-05-29 8:59:27
Message-ID: CAJi=3dVJ648f-BYA-8UE=C3xqRFCTLbXZJ7SXMdigVaXsogRGw () mail ! gmail ! com
[Download RAW message or body]
In httpd.conf, uncomment: Options -Indexes -FollowSymLinks
Cheers Greg
On 29 May 2018 at 08:33, Olaf Kock <tomcat@olafkock.de> wrote:
> On 29.05.2018 05:07, Jins Raju Abraham wrote:
>
>> How do we prevent a directory access in apache. Tried searching this and
>> there are a lot of suggestion about doing it in the .htaccess file.
>>
>
> "Apache Tomcat" doesn't know about .htaccess files. "Apache httpd" does,
> but you won't get an answer related to it on the Tomcat mailing list.
>
> Tomcat doesn't display listings by default - search for "listing" in
> conf/web.xml where the default is documented and explicitly configured
>
> Olaf
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic