RE: Directory listing

2011-07-12 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] 
> Subject: Directory listing

> Can that be done simply with TC (any version), or do I 
> need to fake it with a java.io.File object and create 
> the listing display in code?

Look at the  element for the DefaultServlet config in conf/web.xml.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Directory listing

2011-07-12 Thread Jesse Farinacci
Greetings,

On Tue, Jul 12, 2011 at 8:27 AM, David kerber  wrote:
> You know how IIS and httpd can be configured to let you simply get a
> directory listing in your browser?  Can that be done simply with TC (any
> version), or do I need to fake it with a java.io.File object and create the
> listing display in code?

http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/servlets/DefaultServlet.html#listings

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: directory listing using context.xml

2010-09-10 Thread Caldarale, Charles R
> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] 
> Subject: directory listing using context.xml

> If you want to create a web app that shows nothing more 
> than a directory listing, you use the docBase attribute
> of context.xml in META-INF for your web app?

You don't need a  element at all for this.  BTW, the docBase attribute 
is not allowed when the  element is in META-INF/context.xml.

> You would also need a default servlet and mapping in web.xml
> that enables directory listing.

Yes, you'll need to copy the  declaration for the DefaultServlet class 
from conf/web.xml into your own WEB-INF/web.xml, change the  to 
something unique, set the listings parameter to true, and add a mapping for the 
new servlet-name.

> Sorry for the two questions in one day.

No problem.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Directory Listing issue

2006-05-23 Thread Patil, Sheetal
Hi you can set "listing" to false in tomcat's web.xml file

-Original Message-
From: Prafulla Nawale [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 23, 2006 3:16 PM
To: users@tomcat.apache.org
Subject: Directory Listing issue

Hi,
I am using tomcat 4.1. In my web application, there are some
downloadable files. All these downloadable files are stored in one
directory. And this directory is inside the docBase of the application
but outside WEB-INF folder. So when i enter the url of my application
and append directory name containing the downloadable files to this url,
it shows the listing of all the files in this directory. 
But our requirement is not to show the listing of all files in this
directory. How can i achieve it.

Thanks
Prafulla

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Directory listing... what happened ?

2006-04-18 Thread Jonathan Pare
Thanks a lot. You guys are great.  I found this tutorial on how to install AND 
connect tomcat to apache so here it is just in case it might help someone else:
http://agiletesting.blogspot.com/2005/10/configuring-apache-2-and-tomcat-55.html
 



> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: RE: Re: 
> Directory listing... what happened ?> Date: Tue, 18 Apr 2006 08:18:49 -0500> 
> > ask in an ubuntu-related forum for help on permanently disabling your 
> apache> server, or, connect your apache server to tomcat with mod_jk.   > > 
> If you're unsure of how to do the first, you probably will feel more pain> 
> trying the second (so do that first thing).> > > > > -Original 
> Message-> > From: Jonathan Pare [mailto:[EMAIL PROTECTED] > > Sent: 
> Monday, April 17, 2006 5:20 PM> > To: Tomcat Users List> > Subject: RE: Re: 
> Directory listing... what happened ?> > > > > > That's it ! Thaks a lot !  I 
> changed the tomcat port back to > > 8080 and everything went back to normal.  
> But then I > > remembered why I change the port in the first place.  It's > > 
> because I want to use dyndns to access my website from > > outside my 
> network, so I have to use (I think) the port 80. > > Any suggestion ?> > > > 
> > > > From: [EMAIL PROTECTED]> > > 
> To: users@tomcat.apache.org> > > Subject: RE: Re: Directory listing... what 
> happened ?> > > Date: Mon, 17 Apr 2006 16:43:33 -0500> > > > > > buried in 
> your stacktrace:> > > > > > SEVERE: Error initializing endpoint> > > 
> java.net.BindException: Address already in use:80> > > > > > Combine this 
> with your previous statement "... until I rebooted my > > > computer"> > 
> > > > > Most likely there is a version of Apache web server that > > was 
> enabled > > > with your ubuntu installation, that at some point in the > > 
> past, you or > > > someone else turned off (and have subsequently forgotten > 
> > about).  On > > > restart, ubuntu is configured to start apache, which it > 
> > does, and it > > > grabs port 80.> > > > > > Then, tomcat fails to start as 
> stated in its logs.> > > > > > Which is why you see the default "congrats on 
> setting up apache" > > > message from apache. Even though you didn't install 
> apache, > > it's part > > > of your ubuntu setup and it restarts with your 
> box.> > > > > > > > > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

RE: Re: Directory listing... what happened ?

2006-04-18 Thread GB Developer
ask in an ubuntu-related forum for help on permanently disabling your apache
server, or, connect your apache server to tomcat with mod_jk.   

If you're unsure of how to do the first, you probably will feel more pain
trying the second (so do that first thing).



> -Original Message-
> From: Jonathan Pare [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 17, 2006 5:20 PM
> To: Tomcat Users List
> Subject: RE: Re: Directory listing... what happened ?
> 
> 
> That's it ! Thaks a lot !  I changed the tomcat port back to 
> 8080 and everything went back to normal.  But then I 
> remembered why I change the port in the first place.  It's 
> because I want to use dyndns to access my website from 
> outside my network, so I have to use (I think) the port 80. 
> Any suggestion ?
> 
> 
> > From: [EMAIL PROTECTED]
> > To: users@tomcat.apache.org
> > Subject: RE: Re: Directory listing... what happened ?
> > Date: Mon, 17 Apr 2006 16:43:33 -0500
> > 
> > buried in your stacktrace:
> > 
> > SEVERE: Error initializing endpoint
> > java.net.BindException: Address already in use:80
> > 
> > Combine this with your previous statement "... until I rebooted my 
> > computer"
> > 
> > Most likely there is a version of Apache web server that 
> was enabled 
> > with your ubuntu installation, that at some point in the 
> past, you or 
> > someone else turned off (and have subsequently forgotten 
> about).  On 
> > restart, ubuntu is configured to start apache, which it 
> does, and it 
> > grabs port 80.
> > 
> > Then, tomcat fails to start as stated in its logs.
> > 
> > Which is why you see the default "congrats on setting up apache" 
> > message from apache. Even though you didn't install apache, 
> it's part 
> > of your ubuntu setup and it restarts with your box.
> > 
> > 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists

just disable your apache server, on some linux that would be

chkconfig --del httpd, what it is on your, I don't know, so read the docs :)

Filip

Jonathan Pare wrote:

That's it ! Thaks a lot !  I changed the tomcat port back to 8080 and 
everything went back to normal.  But then I remembered why I change the port in 
the first place.  It's because I want to use dyndns to access my website from 
outside my network, so I have to use (I think) the port 80. Any suggestion ?


  

From: [EMAIL PROTECTED]
To: users@tomcat.apache.org
Subject: RE: Re: Directory listing... what happened ?
Date: Mon, 17 Apr 2006 16:43:33 -0500

buried in your stacktrace: 


SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:80

Combine this with your previous statement "... until I rebooted my
computer"

Most likely there is a version of Apache web server that was enabled with
your ubuntu installation, that at some point in the past, you or someone
else turned off (and have subsequently forgotten about).  On restart, ubuntu
is configured to start apache, which it does, and it grabs port 80.

Then, tomcat fails to start as stated in its logs. 


Which is why you see the default "congrats on setting up apache" message
from apache. Even though you didn't install apache, it's part of your ubuntu
setup and it restarts with your box. 







-Original Message-
From: Jonathan Pare [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 4:18 PM

To: Tomcat Users List
Subject: RE: Re: Directory listing... what happened ?


There are my 2 logs:

SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:80
	at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTc
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
That's it ! Thaks a lot !  I changed the tomcat port back to 8080 and 
everything went back to normal.  But then I remembered why I change the port in 
the first place.  It's because I want to use dyndns to access my website from 
outside my network, so I have to use (I think) the port 80. Any suggestion ?


> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: RE: Re: Directory listing... what happened ?
> Date: Mon, 17 Apr 2006 16:43:33 -0500
> 
> buried in your stacktrace: 
> 
> SEVERE: Error initializing endpoint
> java.net.BindException: Address already in use:80
> 
> Combine this with your previous statement "... until I rebooted my
> computer"
> 
> Most likely there is a version of Apache web server that was enabled with
> your ubuntu installation, that at some point in the past, you or someone
> else turned off (and have subsequently forgotten about).  On restart, ubuntu
> is configured to start apache, which it does, and it grabs port 80.
> 
> Then, tomcat fails to start as stated in its logs. 
> 
> Which is why you see the default "congrats on setting up apache" message
> from apache. Even though you didn't install apache, it's part of your ubuntu
> setup and it restarts with your box. 
> 
> 
> 
> 
> > -Original Message-
> > From: Jonathan Pare [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, April 17, 2006 4:18 PM
> > To: Tomcat Users List
> > Subject: RE: Re: Directory listing... what happened ?
> > 
> > 
> > There are my 2 logs:
> > 
> > SEVERE: Error initializing endpoint
> > java.net.BindException: Address already in use:80
> > at 
> > org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTc
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Directory listing... what happened ?

2006-04-17 Thread GB Developer
buried in your stacktrace: 

SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:80

Combine this with your previous statement "... until I rebooted my
computer"

Most likely there is a version of Apache web server that was enabled with
your ubuntu installation, that at some point in the past, you or someone
else turned off (and have subsequently forgotten about).  On restart, ubuntu
is configured to start apache, which it does, and it grabs port 80.

Then, tomcat fails to start as stated in its logs. 

Which is why you see the default "congrats on setting up apache" message
from apache. Even though you didn't install apache, it's part of your ubuntu
setup and it restarts with your box. 




> -Original Message-
> From: Jonathan Pare [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 17, 2006 4:18 PM
> To: Tomcat Users List
> Subject: RE: Re: Directory listing... what happened ?
> 
> 
> There are my 2 logs:
> 
> SEVERE: Error initializing endpoint
> java.net.BindException: Address already in use:80
>   at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTc


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
9)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17-Apr-2006 5:02:50 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7924 ms
--



> Date: Mon, 17 Apr 2006 15:07:27 -0400
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: Directory listing... what happened ?
> 
> Have you looked at your logs?   This stinks of Apache HTTPd  on port 80 
> instead of Tomcat.   You might also want to use netstat to see what is 
> running and on what ports.
> 
>  --David
> 
> Jonathan Pare wrote:
> > I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat 
> > who's listening on port 80. 
> > But why the index.jsp file in the webapps/ROOT/index.jsp is not showing 
> > when I go to http://localhost/ 
> > ?
> > And why do I have a file not found when I go to http://localhost/index.jsp 
> > ? (and the file exists !)
> >
> >   
> >> Date: Mon, 17 Apr 2006 13:43:03 -0500> From: [EMAIL PROTECTED]> To: 
> >> users@tomcat.apache.org> Subject: Re: Directory listing... what happened 
> >> ?> > who listens to port 80? Apache? if so, consult your apache docs.> > 
> >> if Tomcat listens to port 80, then the webapps/ROOT/ is your root > 
> >> application "/"> > Filip> > [EMAIL PROTECTED] wrote:> > Hi,> >> > I'm 
> >> running Ubuntu 5.10.> > I installed Tomcat 5.5.16.> >> > My webserver was 
> >> going fine until I rebooted my computer.> > Now when I go to 
> >> http://localhost/ I get a directory listing of "Index of/"> > with those 2 
> >> entries:> >> > [DIR]   Parent Directory  15-Apr-2006 15:22   -> > 
> >> [DIR]   apache2-default/  15-Apr-2006 15:22   -> >> > instead of 
> >> my webpage that I previously had. If I click on apache2-default/> > 
> >> directory this page appears:> >> >   
> >> ---> >If you can see this, it 
> >> means that the installation of the Apache web> >  server software on this 
> >> system was successful. You may now add content to> >
> >> this directory and replace this page.> >> >  Seeing this 
> >> instead of the website you expected?> >> >  This page is here because 
> >> the site administrator has changed the> > configuration of this web 
> >> server. Please contact the person responsible for> >   maintaining this 
> >> server with questions. The Apache Software Foundation,> >  which wrote the 
> >> web server software this site administrator is using, has> >  nothing 
> >> to do with maintaining this site and cannot help resolve> >
> >> configuration issues.> >   
> >> ---> >> > What's wrong with my server 
> >> ?> >> > All I remember changing is> > -the owner of the 
> >> /usr/local/tomcat/webapps/root/ from "root" to myself so> > I could edit 
> >> the files.> > -I renamed the file web.xml to web_bak.xml just to see if it 
> >> was really> > needed in the /webapps/root/WEB-INF/ (but I put it back the 
> >> way is was).> >> >> > Thank you.> >> >> >> > 
> >> -> > 
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]> > For additional commands, 
> >> e-mail: [EMAIL PROTECTED]> >> >   > > > 
> >> -> To 
> >> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> >> [EMAIL PROTECTED]> 
> >> 
> > _
> > Profitez des puissants filtres de courriels indésirables articulés sur la 
> > technologie brevetée MicrosoftMD SmartScreen.
> > http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
> >   
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Directory listing... what happened ?

2006-04-17 Thread David Smith
Have you looked at your logs?   This stinks of Apache HTTPd  on port 80 
instead of Tomcat.   You might also want to use netstat to see what is 
running and on what ports.


--David

Jonathan Pare wrote:
I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who's listening on port 80. 
But why the index.jsp file in the webapps/ROOT/index.jsp is not showing when I go to http://localhost/ 
?
And why do I have a file not found when I go to http://localhost/index.jsp 
? (and the file exists !)


  
Date: Mon, 17 Apr 2006 13:43:03 -0500> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: Directory listing... what happened ?> > who listens to port 80? Apache? if so, consult your apache docs.> > if Tomcat listens to port 80, then the webapps/ROOT/ is your root > application "/"> > Filip> > [EMAIL PROTECTED] wrote:> > Hi,> >> > I'm running Ubuntu 5.10.> > I installed Tomcat 5.5.16.> >> > My webserver was going fine until I rebooted my computer.> > Now when I go to http://localhost/ I get a directory listing of "Index of/"> > with those 2 entries:> >> > [DIR]   Parent Directory  15-Apr-2006 15:22   -> > [DIR]   apache2-default/  15-Apr-2006 15:22   -> >> > instead of my webpage that I previously had. If I click on apache2-default/> > directory this page appears:> >> >   ---> >If you can see this, it means that the installation of the Apache web> >  server software on this system was successful. You may now add content to> >this directory and replace this page.> >> >  Seeing this instead of the website you expected?> >> >  This page is here because the site administrator has changed the> > configuration of this web server. Please contact the person responsible for> >   maintaining this server with questions. The Apache Software Foundation,> >  which wrote the web server software this site administrator is using, has> >  nothing to do with maintaining this site and cannot help resolve> >configuration issues.> >   ---> >> > What's wrong with my server ?> >> > All I remember changing is> > -the owner of the /usr/local/tomcat/webapps/root/ from "root" to myself so> > I could edit the files.> > -I renamed the file web.xml to web_bak.xml just to see if it was really> > needed in the /webapps/root/WEB-INF/ (but I put it back the way is was).> >> >> > Thank you.> >> >> >> > -> > To unsubscribe, e-mail: [EMAIL PROTECTED]> > For additional commands, e-mail: [EMAIL PROTECTED]> >> >   > > > -> To unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]> 


_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
  




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
Thanks for the reply,
I changed the port to 80:
 
File:
usr/local/tomcat/conf/server.xml
 
Changed this:
 Date: Mon, 17 Apr 2006 13:56:41 -0500> From: [EMAIL PROTECTED]> To: 
> users@tomcat.apache.org> Subject: Re: Directory listing... what happened ?> > 
> tomcat by default listens to port 8080, not 80, so if you just installed > 
> Tomcat, http://localhost:8080/> is the correct path> > Filip> > > Jonathan 
> Pare wrote:> > I didn't install apache, I just installed tomcat 5.5.16. So 
> it's tomcat who's listening on port 80. > > But why the index.jsp file in the 
> webapps/ROOT/index.jsp is not showing when I go to http://localhost/ > > ?> > 
> And why do I have a file not found when I go to http://localhost/index.jsp > 
> > ? (and the file exists !)> >> >   > >> Date: Mon, 17 Apr 2006 13:43:03 
> -0500> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: 
> Directory listing... what happened ?> > who listens to port 80? Apache? if 
> so, consult your apache docs.> > if Tomcat listens to port 80, then the 
> webapps/ROOT/ is your root > application "/"> > Filip> > [EMAIL PROTECTED] 
> wrote:> > Hi,> >> > I'm running Ubuntu 5.10.> > I installed Tomcat 5.5.16.> 
> >> > My webserver was going fine until I rebooted my computer.> > Now when I 
> go to http://localhost/ I get a directory listing of "Index of/"> > with 
> those 2 entries:> >> > [DIR]   Parent Directory  15-Apr-2006 15:22   
> -> > [DIR]   apache2-default/  15-Apr-2006 15:22   -> >> > instead of 
> my webpage that I previously had. If I click on apache2-default/> > directory 
> this page appears:> >> >   
> ---> >If you can see this, it means 
> that the installation of the Apache web> >  server software on this system 
> was successful. You may now add content to> >this 
> directory and replace this page.> >> >  Seeing this instead of 
> the website you expected?> >> >  This page is here because the site 
> administrator has changed the> > configuration of this web server. Please 
> contact the person responsible for> >   maintaining this server with 
> questions. The Apache Software Foundation,> >  which wrote the web server 
> software this site administrator is using, has> >  nothing to do with 
> maintaining this site and cannot help resolve> >
> configuration issues.> >   
> ---> >> > What's wrong with my server ?> 
> >> > All I remember changing is> > -the owner of the 
> /usr/local/tomcat/webapps/root/ from "root" to myself so> > I could edit the 
> files.> > -I renamed the file web.xml to web_bak.xml just to see if it was 
> really> > needed in the /webapps/root/WEB-INF/ (but I put it back the way is 
> was).> >> >> > Thank you.> >> >> >> > 
> -> > To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> > For additional commands, e-mail: 
> [EMAIL PROTECTED]> >> >   > > > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> > >> > > 
> _> > Profitez 
> des puissants filtres de courriels indésirables articulés sur la technologie 
> brevetée MicrosoftMD SmartScreen.> > 
> http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail> >   > > > > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists
tomcat by default listens to port 8080, not 80, so if you just installed 
Tomcat, http://localhost:8080/

is the correct path

Filip


Jonathan Pare wrote:
I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who's listening on port 80. 
But why the index.jsp file in the webapps/ROOT/index.jsp is not showing when I go to http://localhost/ 
?
And why do I have a file not found when I go to http://localhost/index.jsp 
? (and the file exists !)


  
Date: Mon, 17 Apr 2006 13:43:03 -0500> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: Directory listing... what happened ?> > who listens to port 80? Apache? if so, consult your apache docs.> > if Tomcat listens to port 80, then the webapps/ROOT/ is your root > application "/"> > Filip> > [EMAIL PROTECTED] wrote:> > Hi,> >> > I'm running Ubuntu 5.10.> > I installed Tomcat 5.5.16.> >> > My webserver was going fine until I rebooted my computer.> > Now when I go to http://localhost/ I get a directory listing of "Index of/"> > with those 2 entries:> >> > [DIR]   Parent Directory  15-Apr-2006 15:22   -> > [DIR]   apache2-default/  15-Apr-2006 15:22   -> >> > instead of my webpage that I previously had. If I click on apache2-default/> > directory this page appears:> >> >   ---> >If you can see this, it means that the installation of the Apache web> >  server software on this system was successful. You may now add content to> >this directory and replace this page.> >> >  Seeing this instead of the website you expected?> >> >  This page is here because the site administrator has changed the> > configuration of this web server. Please contact the person responsible for> >   maintaining this server with questions. The Apache Software Foundation,> >  which wrote the web server software this site administrator is using, has> >  nothing to do with maintaining this site and cannot help resolve> >configuration issues.> >   ---> >> > What's wrong with my server ?> >> > All I remember changing is> > -the owner of the /usr/local/tomcat/webapps/root/ from "root" to myself so> > I could edit the files.> > -I renamed the file web.xml to web_bak.xml just to see if it was really> > needed in the /webapps/root/WEB-INF/ (but I put it back the way is was).> >> >> > Thank you.> >> >> >> > -> > To unsubscribe, e-mail: [EMAIL PROTECTED]> > For additional commands, e-mail: [EMAIL PROTECTED]> >> >   > > > -> To unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]> 


_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
  




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare

I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who's 
listening on port 80. 
But why the index.jsp file in the webapps/ROOT/index.jsp is not showing when I 
go to http://localhost/ 
?
And why do I have a file not found when I go to http://localhost/index.jsp 
? (and the file exists !)

> Date: Mon, 17 Apr 2006 13:43:03 -0500> From: [EMAIL PROTECTED]> To: 
> users@tomcat.apache.org> Subject: Re: Directory listing... what happened ?> > 
> who listens to port 80? Apache? if so, consult your apache docs.> > if Tomcat 
> listens to port 80, then the webapps/ROOT/ is your root > application "/"> > 
> Filip> > [EMAIL PROTECTED] wrote:> > Hi,> >> > I'm running Ubuntu 5.10.> > I 
> installed Tomcat 5.5.16.> >> > My webserver was going fine until I rebooted 
> my computer.> > Now when I go to http://localhost/ I get a directory listing 
> of "Index of/"> > with those 2 entries:> >> > [DIR]   Parent Directory  
> 15-Apr-2006 15:22   -> > [DIR]   apache2-default/  15-Apr-2006 15:22  
>  -> >> > instead of my webpage that I previously had. If I click on 
> apache2-default/> > directory this page appears:> >> >   
> ---> >If you can see this, it means 
> that the installation of the Apache web> >  server software on this system 
> was successful. You may now add content to> >this 
> directory and replace this page.> >> >  Seeing this instead of 
> the website you expected?> >> >  This page is here because the site 
> administrator has changed the> > configuration of this web server. Please 
> contact the person responsible for> >   maintaining this server with 
> questions. The Apache Software Foundation,> >  which wrote the web server 
> software this site administrator is using, has> >  nothing to do with 
> maintaining this site and cannot help resolve> >
> configuration issues.> >   
> ---> >> > What's wrong with my server ?> 
> >> > All I remember changing is> > -the owner of the 
> /usr/local/tomcat/webapps/root/ from "root" to myself so> > I could edit the 
> files.> > -I renamed the file web.xml to web_bak.xml just to see if it was 
> really> > needed in the /webapps/root/WEB-INF/ (but I put it back the way is 
> was).> >> >> > Thank you.> >> >> >> > 
> -> > To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> > For additional commands, e-mail: 
> [EMAIL PROTECTED]> >> >   > > > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists

who listens to port 80? Apache? if so, consult your apache docs.

if Tomcat listens to port 80, then the webapps/ROOT/ is your root 
application "/"


Filip

[EMAIL PROTECTED] wrote:

Hi,

I'm running Ubuntu 5.10.
I installed Tomcat 5.5.16.

My webserver was going fine until I rebooted my computer.
Now when I go to http://localhost/ I get a directory listing of "Index of/"
with those 2 entries:

[DIR]   Parent Directory  15-Apr-2006 15:22   -
[DIR]   apache2-default/  15-Apr-2006 15:22   -

instead of my webpage that I previously had. If I click on apache2-default/
directory this page appears:

  ---
   If you can see this, it means that the installation of the Apache web
 server software on this system was successful. You may now add content to
   this directory and replace this page.

 Seeing this instead of the website you expected?

 This page is here because the site administrator has changed the
configuration of this web server. Please contact the person responsible for
  maintaining this server with questions. The Apache Software Foundation,
 which wrote the web server software this site administrator is using, has
 nothing to do with maintaining this site and cannot help resolve
   configuration issues.
  ---

What's wrong with my server ?

All I remember changing is
-the owner of the /usr/local/tomcat/webapps/root/ from "root" to myself so
I could edit the files.
-I renamed the file web.xml to web_bak.xml just to see if it was really
needed in the /webapps/root/WEB-INF/ (but I put it back the way is was).


Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Directory listing in Tomcat 5.5.14.

2006-01-03 Thread Tim Funk
Directory listings are disabled by default. This is because there is a speed 
issue with tomcat trying to list very large directories. This could cause a 
DOS attack for those in a default configuration and having a directory with a 
LOT of files in it. See the FAQ for how to enable/disable directory listings.


http://tomcat.apache.org/faq/misc.html#listing

-Tim

[EMAIL PROTECTED] wrote:

Dear  All,


I am able to see the directory listings in Tomcat 4.1.30, but not in
Tomcat 5.5.14, if there are no welcome files .


Why is it so?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]