You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Petar Gacesa <Pe...@tim.com> on 1999/07/08 16:35:08 UTC

mod_jserv/4711: Returns wrong "URL requested"

>Number:         4711
>Category:       mod_jserv
>Synopsis:       Returns wrong "URL requested"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul  8 07:40:00 PDT 1999
>Last-Modified:
>Originator:     Petar.Gacesa@tim.com
>Organization:
apache
>Release:        Apache 1.3.6 JServ1.0
>Environment:
Linux (Red Hat 6.0), JDK1.1.1, JSDK2.0
>Description:
When you run SnoopServlet that comes with a JSDK 2.0 distribution in examples subdirectory, there is an error in what it shows as requested URL.  It always displays the server domain name regardless of what is typed in the address field of a browser.  For instance, you can access the SnoopServlet by typing the IP address/examples/SnoopServlet and it will behave as you have accessed it by typing the domain name.
>How-To-Repeat:
Access SnoopServlet that is installed on a Linux/Apache 1.3.6 platform by IP address of the server and by the domain name of the server and you will get the same result for the Requested URL which should not happen.
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]