|
From: <lan...@us...> - 2002-11-15 07:59:22
|
Update of /cvsroot/webmacro/webmacro/distroot
In directory usw-pr-cvs1:/tmp/cvs-serv21803/distroot
Modified Files:
CONFIGURING-EXAMPLES
Log Message:
update for resin alternate example
Index: CONFIGURING-EXAMPLES
===================================================================
RCS file: /cvsroot/webmacro/webmacro/distroot/CONFIGURING-EXAMPLES,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CONFIGURING-EXAMPLES 30 Oct 2001 07:44:58 -0000 1.2
--- CONFIGURING-EXAMPLES 15 Nov 2002 01:15:22 -0000 1.3
***************
*** 71,74 ****
--- 71,92 ----
<welcome-file-list>index.html</welcome-file-list>
</web-app>
+
+ *ALTERNATIVE CONFIGURATION FOR RESIN*
+
+ This technique avoids moving directories all over the place.
+
+ Assume that you have placed webmacro/ in /usr/local/web
+ and /usr/local/web is an application directory for http://localhost
+
+ 1) Copy webmacro.jar to <resin_home>/lib
+ 2) Add the following to your resin.conf:
+ <web-app id='wm' app-dir='webmacro/examples'>
+ <servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/>
+ <welcome-file-list>index.html</welcome-file-list>
+ </web-app>
+
+ http://localhost/wm should serve up the index.html page and the links in the page
+ should serve up the servlets.
+
*NOTE ON TEMPLATE PATHS*
|