You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/03/26 20:15:08 UTC

DO NOT REPLY [Bug 18383] New: - context path is set to "/" instead of ""

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18383>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18383

context path is set to "/" instead of ""

           Summary: context path is set to "/" instead of ""
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Administration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: cybernd@cybernd.at


just tried to create a new context inside my test-virtualHost
context path field: ""

after commit changes and reloading tomcat it was impossible to delete this
context by means of the admin webapp. generated links on index pages are also
faulty => they always lead to http://file instead of http://virtualhost/file
(html source: relative link shows //file instead of /file)

i think the cause of this problem is that the path attribute is set to "/"
inside the server.xml config file. when i changed it manually to path="" (tomcat
shudown -> edit server.xml -> start again) the context worked proper

it was also possible to remove the context via admin webapp when the path is set
to ""

hth
cybi

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