Re: why use mod_webapp?

2002-01-31 Thread Patrick Roumanoff

 Hi Folks,

I'm already using mod_webapp for handling my tomcat traffic via

 apache.  My question from a guy here is why do we do this and not just

 create a simple re-direct page?  ie. create a directory with a 1 line

 HTML page in it that re-directs to the tomcat HTTP server.  Are there

 other advantages to using the WARP connector?


In fact, a better way to do it would be to use the proxy
capacities of apache to redirect (internally) to tomcat
so you don't have to use mod_webapp and don't have to worry
about open ports.

But maybe you don't want your tomcat to have http at all ?

pkr

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Errors compiling warp connector

2002-01-29 Thread Patrick Roumanoff

 i run the following:
 ./configure --with-apxs=/usr/local/Apache_EAPI/bin/apxs
 --with-java=/usr/j2se/
 --with-tomcat=/tomcat4.0.2-compile/jakarta-tomcat-4.0.2-b2-src/dist/

APR configure: config.status: creating include/arch/unix/apr_private.h
   Execution of ./configure --enable-static --disable-shared
 --disable-threads returned 0

did you enable mod_so with apache?
(try a 'httpd -l' to know)

 configure: error: Cannot mix gcc and native cc

looks like apache was compiled with cc and you are trying to compile
apr with gcc

pkr

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: WebAppDeploy Vs WebAppMount

2002-01-29 Thread Patrick Roumanoff

 WebAppConnection WarpConnection warp localhost:8008

 WebAppDeploy examples WarpConnection /examples

 IfModule mod_webapp.c

 WebAppConnection warpConnection warp localhost:8008

 WebAppMount examples warpConnection /examples/

 WebAppMount manager warpConnection /manager/

 WebAppMount webdav warpConnection /webdav/

 /IfModule


Obviously there is something wrong here... should be something like

IfModule mod_webapp.c

 WebAppConnection warpConnection warp localhost:8008

 WebAppDeploy examples WarpConnection /examples

 WebAppDeploy manager WarpConnection /manager
 WebAppDeploy webdav WarpConnection /webdav
/IfModule


WebAppMount is not document with mod_webapp 1.0.2-tc402

more over, manager servlet doesn't work, I guess it's because
it require BASIC authentication and the RELEASE-NOTES for tomcat
402b says it's broken in mod_webapp...

 The reason I wanted a recent version of mod_webapp is that it is

 supposed to support specification of complete path as David Smith

 mentionned in post (BTW David, I couldn't find any mod_webapp in the
 nightly

 snapshot, so that's why I used the rpm).


you can always try to compile it, it's quite easy now

hope this help

pkr

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Help with Alias in Tomcat 4.0.2

2002-01-28 Thread Patrick Roumanoff

  Host name=site1.com

  Alias name=www.site1.com /

  Alias name=wap.site1.com /

  Context path= docBase=/home/site1/public_html/ 

 debug=0 crossContext=false reloadable=true /

  /Host

As far as I can understand, the syntax for aliasing is

Aliaswww.site1.com/Alias
Aliaswap.site1.com/Alias

see documentation:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html#Host%20Name%20Aliases

hope this help

pkr

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]