https://issues.apache.org/bugzilla/show_bug.cgi?id=51624

             Bug #: 51624
           Summary: Request is not forwarded to servlet... goes to 404
                    instead.
           Product: Tomcat 7
           Version: 7.0.19
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: rui.da...@gmail.com
    Classification: Unclassified


I have a local server that i use for testing named like "yaw".
Requests under a url that starts with "http://yaw/yaw/"; will return a 404
error, without ever invoking the servlet.
I tried with diferent server/folder names, and believe that the cause is that
the server name equals the first folder in path, since other paths work fine...

At first i thought it also had to do with the undotted name,
since this one works: http://alphabit.org/alphabit.org/ddd.css
or this one: http://www.alphabit.org/www.alphabit.org/dss.css

But then i found that this one does not:
http://under-construction.homeunix.net/under-construction.homeunix.net/ddd
should return something like this:
http://under-construction.homeunix.net/under-
construction.unix.net/ddd
or this one: http://thai.homeunix.net/thai.homeunix.net/sdsd.css
should return something like this:
http://thai.homeunix.net/thai.home.net/sdsd.css

@ server.xml ...
<Host name="nameWithNoDot" unpackWARs="false" appBase="/http/webapp">
  <Context allowLinking="true" path="" docBase=""/>
</Host>

@ web.xml
<servlet-mapping>
  <servlet-name>KISSLet</servlet-name>
  <url-pattern>/*</url-pattern>
</servlet-mapping>

at least since version 7.0.8

[]r.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to