geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-479) Root of WebApp Displays WEB-INF and META-INF Directories
Date Wed, 21 Sep 2005 16:04:38 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-479?page=comments#action_12330106 ] 

Kevan Miller commented on GERONIMO-479:
---------------------------------------

I just verified that HEAD is behaving as Petr previously described. I also had a look at the
Servlet Spec.

Section SRV.9.10 "Welcome Files" seems to cover this scenario. It states that if a welcome
file is not found, the container can do what it wants. Returning a 404 or a directory listing
are options listed as things that a container might want to do. So, Jetty is perfectly within
its rights...

So, I say close this one out... 

> Root of WebApp Displays WEB-INF and META-INF Directories
> --------------------------------------------------------
>
>          Key: GERONIMO-479
>          URL: http://issues.apache.org/jira/browse/GERONIMO-479
>      Project: Geronimo
>         Type: Bug
>   Components: web
>     Versions: 1.0-M3
>  Environment: WinXP, JDK 1.4.2
>     Reporter: Seth Ladd
>     Priority: Critical
>      Fix For: 1.0-M5
>  Attachments: listBug.ear
>
> I deployed a simple webapp containing nothing more than a web.xml.  There is no welcome.jsp
configured or provided.
> The deploy was OK, but when I browse to http://localhost:8080/testbed I see a directory
listing, with the directories WEB-INF and META-INF listed.  This, itself, should not happen.
> When clicking on WEB-INF, I generate a StackOverflow.  I would expect a nice "Forbidden"
message, or even a 404 (or whatever the Servlet spec says).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message