David,

thanks for your suggestions and the example httpd.conf.  I'm still
having trouble saying the URL not found. I made the following steps (and
many variations thereon):
1) added "ServerName localhost"
2) added "LoadModule webapp_module modules/mod_webapp.so"
3) added "AddModule mod_webapp.c"
4) added - 
<IfModule mod_webapp.c>
WebAppConnection  conn          warp  localhost:8887
WebAppDeploy      examples      conn  /examples4
WebAppInfo        /webapp-info
</IfModule>
AddHandler default-handler .gif .jpeg

The webapp is "examples" in the tomcat4/webapps directory but would like
to access it as "examples4".  Can you see anything that I'm leaving out
or misconfigured?

Thanks again!

-- john



David Ward wrote:
> 
> Actually, you DON'T have to define your context(s) within VirtualHost
> directives.  I was finally able to get mod_webapp working against
> standalone catalina (but not with jboss/catalina).
> 
> What I had to do was this:
> 1) drop mod_webapp.so in my modules directory
> 2) make sure ServerName localhost was UNcommented
> 3) put my "LoadModule webapp_module modules/mod_webapp.so" line at the
> end of my already existing LoadModule list
> 4) put my "AddModule mod_webapp.c" line at the end of my already
> existing AddModule list
> 5) put my "<IfModule mod_webapp.c>
> WebAppConnection comm warp localhost:8008
> WebAppDeploy examples conn /examples
> WebAppInfo /webapp-info
> </IfModule>" block at the end of the file
> 
> It seemed that where I put my LoadModule and AddModule directives was
> important.  Putting them at the bottom of httpd.conf right over my
> <IfModule...> didn't work.  doing an "include" didn't work either.  I
> had to separate them for some weird reason.
> 
> I'll attach my *working* httpd.conf file so people can use it to compare
> with.
> 
> David
> 
> PS: I'm still looking forward to seeing a mod_webapp-eapi.so release...

-- 
=====================================================
John Cartwright
Professional Research Assistant / Associate Scientist
CIRES, SEG/NGDC/NOAA
(303) 497-6284
[EMAIL PROTECTED]
=====================================================

Reply via email to