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                                               
             <[EMAIL PROTECTED]                                             
             >                                                           A 
                                       Tomcat Users List                   
             2006-04-17 12:44          <users@tomcat.apache.org>           
                                                                        cc 
                                                                           
             Veuillez répondre                                       Objet 
                     à                 Re: 404                             
               "Tomcat Users                                               
                   List"                                                   
             <[EMAIL PROTECTED]                                             
                 che.org>                                                  
                                                                           
                                                                           




[EMAIL PROTECTED] 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

--
[EMAIL PROTECTED]
AIM: edoardopn
Jabber: [EMAIL PROTECTED]
tel:075 9142766

---------------------------------------------------------------------
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]

Reply via email to