Daniel,

The easiest and fastest way is to add and empty file called index.jsp
to your /cnpi directory. This will be read instead of showing the
directory listing.

Good luck,

Ike
__________________________________________________________

 Isaac Arias
 Tokenzone                     <w> www.tokenzone.com </w>
__________________________________________________________
   Man will occasionally stumble over the truth, but most
         of the time he will pick himself up and continue.
                                      - Winston Churchill

> -----Original Message-----
> From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 11:20 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Directory Listing
>
>
> yes
> iīm using 8080
> but īmy app dir is mapped at Apache, and I donīt need to
> use :8080 but itīs
> allowing directory listing !
> is it possible to avoid that ?
> regards
> Daniel
> _______________________
> Daniel de Almeida Alvares
> Santos - SP - Brasil
> [EMAIL PROTECTED]
> ----- Original Message -----
> From: "Denis" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 19, 2001 12:20 PM
> Subject: Re: Directory Listing
>
>
> > check your configuration file
> > what port are u using ? 8080 ajpv12 ajpv13
> > if 8080
> > try http://localhot:8080
> > can u see tomcat app ?
> >
> >
> >
> > At 12:09 19/07/01 -0300, you wrote:
> > >Hi,
> > >I am configuring Tomcat and Apache. They seem to be
> integrated, but when
> I
> > >type for example:
> > >
> > ><http://localhost/cnpi>http://localhost/cnpi
> > >
> > >I can see this:
> > >
> > >
> > >
> > >Index of /cnpi
> > >
> > >
> > >
> > >
> > >blank.gif
> > ><http://daniel/cnpi/?N=D>Name
> > ><http://daniel/cnpi/?M=A>Last
> > >modified       <http://daniel/cnpi/?S=A>Size
> > ><http://daniel/cnpi/?D=A>Description
> > >
> > >----------
> > >
> > >
> > >
> > >folder.gif <http://daniel/>Parent Directory        18-Jul-2001
>       -
> > >folder.gif
> > ><http://daniel/cnpi/META-INF/>META-INF/               19-Jun-2001
> > >10:27      -
> > >folder.gif
> > ><http://daniel/cnpi/WEB-INF/>WEB-INF/                19-Jun-2001
>       -
> > >folder.gif <http://daniel/cnpi/bd/>bd/
>   16-Jul-2001
> > >16:52      -
> > >folder.gif <http://daniel/cnpi/images/>images/
> 28-Jun-2001
> > >17:48      -
> > >folder.gif <http://daniel/cnpi/jsp/>jsp/
>    16-Jul-2001
> > >15:42      -
> > >folder.gif <http://daniel/cnpi/old/>old/
>    19-Jun-2001
> > >10:27      -
> > >folder.gif <http://daniel/cnpi/temp/>temp/
>     26-Jun-2001
> > >17:53      -
> > >
> > >----------
> > >Apache/1.3.12 Server at daniel Port 80         How can I
> avoid directory
> > >listing ?????   Regards   Daniel   _______________________
> > >Daniel de Almeida Alvares
> > >Santos - SP - Brasil
> > ><mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
> > >
> >
>

Reply via email to