tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <Filip.Ha...@evant.com>
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"

Filip

-----Original Message-----
From: Trevor Hurst [mailto:trev@sgi.com]
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
server. 

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"
debug="0"
                 reloadable="true" crossContext="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="ens-dev_secure_log." suffix=".txt"
                  timestamp="true"/>

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

Thanks!

-- Trev

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


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


Mime
View raw message