tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <>
Subject RE: URI for x.jsp outside of webapps???
Date Wed, 05 Feb 2003 00:48:23 GMT
<Context path="/examples" docBase="/data/docs/html/secure">

Change the path="/examples" to path="/secure"


-----Original Message-----
From: Trevor Hurst []
Sent: Tuesday, February 04, 2003 4:44 PM
To: Tomcat Users List
Subject: URI for x.jsp outside of webapps???

Okay, I'm almost there. I've got the connectors
to work properly and all of the JSP examples work
that are inside of ${tomcat}/webapps from Apache2

The only problem I am having is how do I configure
the server to load x.jsp pages from the doc_root
that apache uses?

For example:

If I goto https://server.corp/secure 

I get the following:

<jsp:include page="header.jsp" flush="true" />
<jsp:include page="side.jsp" flush="true"/>
<jsp:include page="body.jsp" flush="true"/>
<jsp:include page="tail.jsp" flush="true" />

I've tried adding a Context Tag and even a seperate
Virtual Host in the ${tomcat}/conf/server.xml.

Such as the following:

        <Context path="/examples" docBase="/data/docs/html/secure"
                 reloadable="true" crossContext="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="ens-dev_secure_log." suffix=".txt"

Still doesn't want to work.. Do I need to add some uri: entries
to my apache2/conf/ ?


-- Trev

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message