You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jo...@desjardins.com on 2006/04/17 18:39:55 UTC

404

Why when I go to http://localhost/ I get a directory listing containing
those 2 elements:

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

And when I go to http://localhost/index.jsp I get a file not found error
although THE FILE EXISTS !

Thanks.
(using ubuntu 5.10 and tomcat 5.5.16)



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


Re: 404

Posted by Marc Farrow <ma...@gmail.com>.
So what do you have running on port 80?  Apache or Tomcat?

On 4/17/06, jonathan.pare@desjardins.com <jo...@desjardins.com>
wrote:
>
>
> Yes I've tried with the port number (in my case it's 80) and also with the
> APPLICATION_NAME.
>
> But the weird thing is that yesterday everything was going fine and now I
> get that directory listing instead of the jsp page.
>
> Here's what I get when I click on the apache2-default directory:
>                  ---------------------------------------
>   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.
>                  ---------------------------------------
>
> Is there something that I could have changed in one of the config file
> that's causing that ?
> All I remember is changing:
> -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 but I put it back the way is
> was.
>
> Thanks for your help.
>
>
>
>
>             Edoardo Panfili
>             <edoardo@aspix.it
>             >                                                           A
>                                       Tomcat Users List
>             2006-04-17 12:44          <us...@tomcat.apache.org>
>                                                                        cc
>
>             Veuillez répondre                                       Objet
>                     à                 Re: 404
>               "Tomcat Users
>                   List"
>             <users@tomcat.apa
>                 che.org>
>
>
>
>
>
>
> jonathan.pare@desjardins.com ha scritto:
> > Why when I go to http://localhost/ I get a directory listing containing
> > those 2 elements:
> >
> > [DIR] Parent Directory 15-Apr-2006 15:22 -
> > [DIR] apache2-default/ 15-Apr-2006 15:22 -
> >
> > And when I go to http://localhost/index.jsp I get a file not found error
> > although THE FILE EXISTS !
>
> Have you tried
> http://localhost:8080/
> ?
>
> or
> http://localhost:8080/APPLICATION_NAME/index.jsp
> ?
>
> Edoardo Panfili
>
> --
> edoardo@aspix.it
> AIM: edoardopn
> Jabber: edoardopa@talk.google.com
> tel:075 9142766
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


--
Marc Farrow

Re: 404

Posted by jo...@desjardins.com.
Yes I've tried with the port number (in my case it's 80) and also with the
APPLICATION_NAME.

But the weird thing is that yesterday everything was going fine and now I
get that directory listing instead of the jsp page.

Here's what I get when I click on the apache2-default directory:
                  ---------------------------------------
   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.
                  ---------------------------------------

Is there something that I could have changed in one of the config file
that's causing that ?
All I remember is changing:
-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 but I put it back the way is
was.

Thanks for your help.



                                                                           
             Edoardo Panfili                                               
             <edoardo@aspix.it                                             
             >                                                           A 
                                       Tomcat Users List                   
             2006-04-17 12:44          <us...@tomcat.apache.org>           
                                                                        cc 
                                                                           
             Veuillez répondre                                       Objet 
                     à                 Re: 404                             
               "Tomcat Users                                               
                   List"                                                   
             <users@tomcat.apa                                             
                 che.org>                                                  
                                                                           
                                                                           




jonathan.pare@desjardins.com ha scritto:
> Why when I go to http://localhost/ I get a directory listing containing
> those 2 elements:
>
> [DIR] Parent Directory 15-Apr-2006 15:22 -
> [DIR] apache2-default/ 15-Apr-2006 15:22 -
>
> And when I go to http://localhost/index.jsp I get a file not found error
> although THE FILE EXISTS !

Have you tried
http://localhost:8080/
?

or
http://localhost:8080/APPLICATION_NAME/index.jsp
?

Edoardo Panfili

--
edoardo@aspix.it
AIM: edoardopn
Jabber: edoardopa@talk.google.com
tel:075 9142766

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






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


Re: 404

Posted by Edoardo Panfili <ed...@aspix.it>.
jonathan.pare@desjardins.com ha scritto:
> Why when I go to http://localhost/ I get a directory listing containing
> those 2 elements:
> 
> [DIR] Parent Directory 15-Apr-2006 15:22 -
> [DIR] apache2-default/ 15-Apr-2006 15:22 -
> 
> And when I go to http://localhost/index.jsp I get a file not found error
> although THE FILE EXISTS !

Have you tried
http://localhost:8080/
?

or
http://localhost:8080/APPLICATION_NAME/index.jsp
?

Edoardo Panfili

-- 
edoardo@aspix.it
AIM: edoardopn
Jabber: edoardopa@talk.google.com
tel:075 9142766

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


Re: 404

Posted by Mark Thomas <ma...@apache.org>.
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this  makes your new message appear as part
of the old thread. This makes it harder for other users to find
relevant information when searching the lists.

This is known as thread hijacking and is behaviour that is frowned
upon on this list. Frequent offenders will be removed from the list.
It should also be noted that many list subscribers automatically
ignore any messages that hijack another thread.

The correct procedure is to create a new message with a new subject.
This will start a new thread.

Mark
tomcat-user-owner


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