In httpd.conf, uncomment: Options -Indexes -FollowSymLinks Cheers Greg
On 29 May 2018 at 08:33, Olaf Kock <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > >
