apache question

2005-10-07 Thread peter thesing

Hi All.

Perhaps has this question answered in previous mails but i could not 
find it. I would like to put this question to the list...
At home i have 2 webservers running . the one of my partner (iis) on 
port 80 and mine at port 8000. I would like to continue with Apache2 
because it supports php. perl and so on and i have build my website 
around it. What i want to do is to include java server applets using 
jakarta tomcat but without disabling Apache2.


Can this be done and if so how?

What additional configuration needs to be done to let's say httpd.conf
Thanks in advance

Peter

ps

since apache has no means, that i can discover, to answer  this 
technical question perhaps someone on the list can direct me to the 
proper way

Thanks
;P

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: apache question [255819:132349]

2005-10-07 Thread RTE - Meridian Club
Many thanks for your email. This is an automated response acknowledging receipt.

Please be advised that Badge mailing commences beginning of October 2005.

Should your message require a response we will respond shortly.

Regards
Meridian Club


 -Original Message-
 From: peter thesing [EMAIL PROTECTED]
 Received: 10/7/2005 5:38 PM
 To: tomcat-user@jakarta.apache.org
 Subject: apache question

 Hi All.
 
 Perhaps has this question answered in previous mails but i could not 
 find it. I would like to put this question to the list...
 At home i have 2 webservers running . the one of my partner (iis) on 
 port 80 and mine at port 8000. I would like to continue with Apache2 
 because it supports php. perl and so on and i have build my website 
 around it. What i want to do is to include java server applets using 
 jakarta tomcat but without disabling Apache2.
 
 Can this be done and if so how?
 
 What additional configuration needs to be done to let's say httpd.conf
 Thanks in advance
 
 Peter
 
 ps
 
 since apache has no means, that i can discover, to answer  this 
 technical question perhaps someone on the list can direct me to the 
 proper way
 Thanks
 ;P
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

--
Meridian Club
Unit 5, Caxton Centre
Porters Wood
St Albans
Herts
UNITED KINGDOM
AL3 6XT

Tel: +44 1727 738855
Fax: +44 1700 578955
email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: apache question [255819:132349]

2005-10-07 Thread Lyndon Tiu
Google is your friend.

also, to get you started:

http://jakarta.apache.org/tomcat/connectors-doc/index.html

On Fri, 7 Oct 2005 17:39:34  0100 tomcat-user@jakarta.apache.org wrote:
  -Original Message-
  From: peter thesing [EMAIL PROTECTED]
  Received: 10/7/2005 5:38 PM
  To: tomcat-user@jakarta.apache.org
  Subject: apache question
 
  Hi All.
 
  Perhaps has this question answered in previous mails but i could not
  find it. I would like to put this question to the list...
  At home i have 2 webservers running . the one of my partner (iis) on
  port 80 and mine at port 8000. I would like to continue with Apache2
  because it supports php. perl and so on and i have build my website
  around it. What i want to do is to include java server applets using
  jakarta tomcat but without disabling Apache2.
 
  Can this be done and if so how?
 
  What additional configuration needs to be done to let's say httpd.conf
  Thanks in advance
 
  Peter
 
  ps
 
  since apache has no means, that i can discover, to answer  this
  technical question perhaps someone on the list can direct me to the
  proper way
  Thanks
  ;P
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 --
 Meridian Club
 Unit 5, Caxton Centre
 Porters Wood
 St Albans
 Herts
 UNITED KINGDOM
 AL3 6XT
 
 Tel: +44 1727 738855
 Fax: +44 1700 578955
 email: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Lyndon Tiu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: apache question

2005-10-07 Thread F.O. Bossert
Yoo,

Use mod_jk to send request through apache to tomcat, see tomcat page for
more info
Or study the server.xml file.

Greetings O.

-Original Message-
From: peter thesing [mailto:[EMAIL PROTECTED]
Sent: 07 October 2005 18:37
To: tomcat-user@jakarta.apache.org
Subject: apache question


Hi All.

Perhaps has this question answered in previous mails but i could not
find it. I would like to put this question to the list...
At home i have 2 webservers running . the one of my partner (iis) on
port 80 and mine at port 8000. I would like to continue with Apache2
because it supports php. perl and so on and i have build my website
around it. What i want to do is to include java server applets using
jakarta tomcat but without disabling Apache2.

Can this be done and if so how?

What additional configuration needs to be done to let's say httpd.conf
Thanks in advance

Peter

ps

since apache has no means, that i can discover, to answer  this
technical question perhaps someone on the list can direct me to the
proper way
Thanks
;P

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TOMCAT AND APACHE question

2005-06-21 Thread AAKhopkar
Hey guys,

I was wondering if anybody has seen an intermittent communication error
between Apache web server and Tomcat.  We were seeing something happening
intermittently about every 15-30 minutes where the apache logs were showing
something like this:



[Tue Jun 21 14:47:25 2005] [error] [client CLIENT_IP_ADDRESS] proxy: error
reading status line from remote server MY IP ADDRESS, referer:
https://blah.blah.blah/blah/blah.do


[Tue Jun 21 14:47:25 2005] [error] [client CLIENT_IP_ADDRESS] proxy: Error
reading from remote server returned by /blah/blah.do, referer:
https://blah.blah.blah/blah/blah.do





And neither the tomcat logs nor the tomcat access logs actually showed any
entries around this time.


Amarish



NOTE:  THIS DOCUMENT MAY CONTAIN CONFIDENTIAL AND NONPUBLIC INFORMATION.  IT IS 
INTENDED ONLY FOR THE USE OF THE INDIVIDUAL(S) OR ENTITY(IES) NAMED ABOVE, AND 
OTHERS SPECIFICALLY AUTHORIZED TO RECEIVE IT.  If you are not the intended 
recipient of this document, you are notified that any review, dissemination, 
distribution or copying of this communication is prohibited.  If you have 
received this communication in error, please notify me immediately by return 
email, delete the electronic message and destroy any printed copies.  Thank you 
for your cooperation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat apache question

2003-10-27 Thread Javier Sanchez Monzon


hi there , 

Hi Matt Raible,

i have read on the Tomcat Users List [EMAIL PROTECTED] that you 
have already configured the tomcat and apache server.  I am trying to do this 
but i have some problems.  I hope you can help me.  

My scenario is: apache 1.2.37 and tomcat 4.1.27 LE. on solaris 8 and i have no 
access to root rights my make Program is: GNU Make 3.80. and I am new with 
tomcat. These aplications are already installed and configured. All works 
right.

I have not found any binary for this combination, because of this, i wanted to 
build it from source the jakarta-tomcat connector.  I choose the jk1.2.5, 
because i read that works good with my apache.  Is it right this or is easier 
to install or better to use than the jk2 connector?

While building this jk1.2.5 from source i receive this message(excuse me the 
size of the file). I built this with ./configure --with-
apxs=/opt/apache.../bin/apxs.  And then make

After going to the directory: ..native/apache1-3 i only found this files that 
are related with mod_jk: 

apache-1.3/mod_jk.a  
apache-1.3/mod_jk.dsp
apache-1.3/mod_jk.la 
apache-1.3/mod_jk.o  
apache-1.3/mod_jk.so.0@
apache-1.3/mod_jk.c  
apache-1.3/mod_jk.exp
apache-1.3/mod_jk.lo 
apache-1.3/mod_jk.so@
apache-1.3/mod_jk.so.0.0.0*

The file mod_jk.so is no there why? and I need to save it under the libraries 
libexec from apache.

I found after i did this messageAfterMake.txt file these lines:
libtool: install: warning: remember to run `libtool --
finish /opt/apache/libexec'
libtool: install: warning: remember to run `libtool --
finish /opt/apache/libexec'

I did this, but then i did not see any created files.  I change after this the 
directoy of /opt/apache/... to my home, but also there are no generated 
files.   What is wrong? Is the version from make bad?

kind regards and gladly to hear any suggestions, 
tino



-
This mail sent through IMP: http://horde.org/imp/
Making all in common
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
Making all in apache-1.3
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3'
/usr/local/bin/libtool --mode=install cp mod_jk.la `pwd`/mod_jk.so
cp .libs/mod_jk.so.0.0.0 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.so.0.0.0
(cd /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3  rm -f 
mod_jk.so.0  ln -s mod_jk.so.0.0.0 mod_jk.so.0)
(cd /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3  rm -f 
mod_jk.so  ln -s mod_jk.so.0.0.0 mod_jk.so)
chmod +x 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.so.0.0.0
cp .libs/mod_jk.lai 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.la
cp .libs/mod_jk.a 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.a
ranlib /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.a
chmod 644 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.a
make[1]: Leaving directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3'
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native'
target=all; \
list='common apache-1.3'; \
for i in $list; do \
echo Making $target in $i; \
if test $i != .; then \
   (cd $i  make $target) || exit 1; \
fi; \
done;
Making all in common
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
Making all in apache-1.3
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3'
/usr/local/bin/libtool --mode=install cp mod_jk.la `pwd`/mod_jk.so
cp .libs/mod_jk.so.0.0.0 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.so.0.0.0
(cd /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3  rm -f 
mod_jk.so.0  ln -s mod_jk.so.0.0.0 mod_jk.so.0)
(cd /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3  rm -f 
mod_jk.so  ln -s mod_jk.so.0.0.0 mod_jk.so)
chmod +x 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.so.0.0.0
cp .libs/mod_jk.lai 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.la
cp .libs/mod_jk.a 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.a
ranlib 

Authentication with Tomcat/Apache Question

2003-03-21 Thread Mete Kural
Hi,

I am perplexed at this interesting problem. We want to use JDBCRealm to authenticate 
users in Tomcat, but yet we want to serve static stuff via Apache to improve 
performance. If we set up Tomcat as a worker for Apache using the JK2 connector, I 
don't see how requests for static files are going to be authenticated via JDBCRealm, 
since Tomcat doesn't even know about these static requests in the first place due to 
the fact that Apache handles them right away without dispatching them to Tomcat. I'm 
thinking that if we could somehow set up Apache to be a worker for Tomcat, and Tomcat 
received all requests and dispatched those that are static to Apache, then all 
requests would be authenticated via JDBCRealm. But I don't know how to do that neither 
if this is possible at all. Do you have any ideas on how to authenticate every 
request with JDBCRealm yet serve only static stuff with Apache.

Thanks,
Mete


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat w/Apache Question

2003-01-09 Thread Wilson, Allen
Has anyone successfully configured Tomcat to with with Apache using the AJP connector.

I am presently trying to set up the connectors with Apache 1.3.20 and everything was
going find until I tried to do the portion for configuring mod_jk.so with the Apache
version.

I received several errors in reference to a C header file socketvar.h.

If someone could provide some insight on what the problem is or information on 
successful
configuring Apache and Tomcat to work together (I am presently using information out of
the Wrox Professional Apache Tomcat book). It would be appreciated

Thank you
Allen

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


Re: Tomcat w/Apache Question

2003-01-09 Thread Lajos Moczar
Allen -

I have some guides on my site, http://www.galatea.com/flashguides, the 
describe the details of Apache-Tomcat integration. Let me know if they help.

Regards,

Lajos


Wilson, Allen wrote:
Has anyone successfully configured Tomcat to with with Apache using the AJP connector.

I am presently trying to set up the connectors with Apache 1.3.20 and everything was
going find until I tried to do the portion for configuring mod_jk.so with the Apache
version.

I received several errors in reference to a C header file socketvar.h.

If someone could provide some insight on what the problem is or information on successful
configuring Apache and Tomcat to work together (I am presently using information out of
the Wrox Professional Apache Tomcat book). It would be appreciated

Thank you
Allen




This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
galatea.com
Cocoon training, consulting  support


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat w/Apache Question

2003-01-09 Thread Nick Sophinos
I just went through the same process the hard way.  I found the Wrox book to
be inconsistent and confusing in the section, but the apache docs were
clear, if
a little incomplete.  I just looked at Lajos's flashguide and it seems to
clearly
spell out how to do it correctly the first time. I wish I knew of them last
month ;-)

- Nick


-Original Message-
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 11:05 AM
To: Tomcat Users List
Subject: Re: Tomcat w/Apache Question


Allen -

I have some guides on my site, http://www.galatea.com/flashguides, the
describe the details of Apache-Tomcat integration. Let me know if they help.

Regards,

Lajos


Wilson, Allen wrote:
 Has anyone successfully configured Tomcat to with with Apache using the
AJP connector.

 I am presently trying to set up the connectors with Apache 1.3.20 and
everything was
 going find until I tried to do the portion for configuring mod_jk.so with
the Apache
 version.

 I received several errors in reference to a C header file socketvar.h.

 If someone could provide some insight on what the problem is or
information on successful
 configuring Apache and Tomcat to work together (I am presently using
information out of
 the Wrox Professional Apache Tomcat book). It would be appreciated

 Thank you
 Allen


 

 This message may contain proprietary or confidential company information.
 Any unauthorized use or disclosure is prohibited.




 

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
galatea.com
Cocoon training, consulting  support


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat w/Apache Question

2003-01-09 Thread Wilson, Allen
Lajos...

...this should definitely helpthanks...

Allen

-Original Message-
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 1:05 PM
To: Tomcat Users List
Subject: Re: Tomcat w/Apache Question


Allen -

I have some guides on my site, http://www.galatea.com/flashguides, the 
describe the details of Apache-Tomcat integration. Let me know if they help.

Regards,

Lajos


Wilson, Allen wrote:
 Has anyone successfully configured Tomcat to with with Apache using the AJP 
connector.
 
 I am presently trying to set up the connectors with Apache 1.3.20 and everything was
 going find until I tried to do the portion for configuring mod_jk.so with the Apache
 version.
 
 I received several errors in reference to a C header file socketvar.h.
 
 If someone could provide some insight on what the problem is or information on 
successful
 configuring Apache and Tomcat to work together (I am presently using information out 
of
 the Wrox Professional Apache Tomcat book). It would be appreciated
 
 Thank you
 Allen
 
 
 
 
 This message may contain proprietary or confidential company information.
 Any unauthorized use or disclosure is prohibited.
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


-- 
galatea.com
Cocoon training, consulting  support


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Tomcat w/Apache Question

2003-01-09 Thread Turner, John

The connector modules are Apache version sensitive. .20 is pretty old.  I
wouldn't spend a lot of time on this without upgrading to .27 first, but
that's me.

Many, many people (including me) have connected Apache to Tomcat with
mod_jk.  It does work, and for me, it works quite well.

Along with the guides at galatea.com, I have a couple as well:
http://www.johnturner.com/howto.

John

 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 09, 2003 2:02 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat w/Apache Question
 
 
 Has anyone successfully configured Tomcat to with with Apache 
 using the AJP connector.
 
 I am presently trying to set up the connectors with Apache 
 1.3.20 and everything was
 going find until I tried to do the portion for configuring 
 mod_jk.so with the Apache
 version.
 
 I received several errors in reference to a C header file socketvar.h.
 
 If someone could provide some insight on what the problem is 
 or information on successful
 configuring Apache and Tomcat to work together (I am 
 presently using information out of
 the Wrox Professional Apache Tomcat book). It would be appreciated
 
 Thank you
 Allen
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat w/Apache Question

2003-01-09 Thread Turner, John

Strange, I found the Wrox book quite good on the topic.

John


 -Original Message-
 From: Nick Sophinos [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 09, 2003 2:23 PM
 To: Tomcat Users List
 Subject: RE: Tomcat w/Apache Question
 
 
 I just went through the same process the hard way.  I found 
 the Wrox book to
 be inconsistent and confusing in the section, but the apache docs were
 clear, if
 a little incomplete.  I just looked at Lajos's flashguide and 
 it seems to
 clearly
 spell out how to do it correctly the first time. I wish I 
 knew of them last
 month ;-)
 
 - Nick
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat w/Apache Question

2003-01-09 Thread Kemp Randy-W18971
There is a tutorial at http://www.johnturner.com

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject: Tomcat w/Apache Question


Has anyone successfully configured Tomcat to with with Apache using the AJP
connector.

I am presently trying to set up the connectors with Apache 1.3.20 and
everything was
going find until I tried to do the portion for configuring mod_jk.so with
the Apache
version.

I received several errors in reference to a C header file socketvar.h.

If someone could provide some insight on what the problem is or information
on successful
configuring Apache and Tomcat to work together (I am presently using
information out of
the Wrox Professional Apache Tomcat book). It would be appreciated

Thank you
Allen

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_webapp or perhaps apache question

2002-08-03 Thread Markus Bengts

On Fri, 2 Aug 2002, Milt Epstein wrote:

 On Sat, 3 Aug 2002, Markus Bengts wrote:

  On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:
 
   If webmail isn't a directory under qvdintra, then I don't see a
   problem.
 
  webmail is not under qvdintra. It is possible to use it like this with
  servlet/ or _/ or some other extra string in the url-path to every
  servlet. I just don't want to have something extra in the path to
  servlets.

 I may be wrong, but I'm not sure you're going to be able to do that.
 Because when you give WebAppDeploy the URL pattern /, you're
 effectively telling it that Apache should pass everything to Tomcat.
 I'm not sure you can make it do everything but this one thing.

Ok. Thanks. I thought there would be a way to configure apache to do:

  if ( path starts with /webmail ) use Alias;
  else use WebAppDeploy;

  
   I want to have:
  
 WebAppDeployqvdintra defConn/
  
   But still I need to have apache serving urls that have /webmail in the
   beginning of the path. (The webmail application is written in php.)
  


  Markus



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




mod_webapp or perhaps apache question

2002-08-02 Thread Markus Bengts


Hello,

In my apache conf I have these lines for a virtual host:

#
Alias /webmail /home/qvd/www/webmail
# Tomcat configurations
IfModule mod_webapp.c
WebAppDeploy qvdintra   defConn /_
/IfModule

I don't want to have _/ in my servlet urls, but if I remove '_' my
webmail stops working. I want to send everything else to tomcat except for
urls with /webmail in the beginning of the path.

Can anyone help me with this configuration? I thought the alias before the
WebAppDeploy would help, but it seems that order doesn't matter here.


  Markus


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira


What's the directory layout? Is qvdintra a directory? It would be a good
idea to send the directory layout. This way someone could give you an
informed answer

FYI:-
The WebAppDeploy syntax is:

WebAppDeploy application_name connection_name url_path
where,
application_name - the directory present under your webapps directory
connection_name - the name declared in your WebAppConnection statement
url_path - the url path where the application will be deployed i.e. the URL
you enter in your browser to access this webapplication.

Alias:
Alias allows files to be stored in the filesystem other than under
DocumentRoot.

RS



   

  Markus Bengts

  [EMAIL PROTECTED]To:   
[EMAIL PROTECTED]
  p.ficc: 

   Subject:  mod_webapp or perhaps apache 
question 
  08/02/02 03:20 PM

  Please respond to

  Tomcat Users

  List

   

   






Hello,

In my apache conf I have these lines for a virtual host:

#
Alias /webmail /home/qvd/www/webmail
# Tomcat configurations
IfModule mod_webapp.c
WebAppDeploy qvdintra   defConn /_
/IfModule

I don't want to have _/ in my servlet urls, but if I remove '_' my
webmail stops working. I want to send everything else to tomcat except for
urls with /webmail in the beginning of the path.

Can anyone help me with this configuration? I thought the alias before the
WebAppDeploy would help, but it seems that order doesn't matter here.


  Markus


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]







--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_webapp or perhaps apache question

2002-08-02 Thread Markus Bengts

On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:


 What's the directory layout? Is qvdintra a directory?

 The WebAppDeploy syntax is:

 WebAppDeploy application_name connection_name url_path

qvdintra is an application name which is the same as the directory present
under my webapps directory. The connection works fine. My problem is
that the webmail should be served by apache and everything else by tomcat.

I want to have:

WebAppDeploy qvdintra   defConn /

But still I need to have apache serving urls that have /webmail in the
beginning of the path. (The webmail application is written in php.)


 In my apache conf I have these lines for a virtual host:

 #
 Alias /webmail /home/qvd/www/webmail
 # Tomcat configurations
 IfModule mod_webapp.c
 WebAppDeploy qvdintra   defConn /_
 /IfModule

 I don't want to have _/ in my servlet urls, but if I remove '_' my
 webmail stops working. I want to send everything else to tomcat except for
 urls with /webmail in the beginning of the path.

 Can anyone help me with this configuration? I thought the alias before the
 WebAppDeploy would help, but it seems that order doesn't matter here.


   Markus



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira


Is webmail a directory under qvdintra? If it is, then you are better
off using mod_jk as a connector rather than mod_webapp. With mod_jk you
have better control over the what is being passed to Tomcat. You could pass
only *.jsp and everything that has /servlet. With mod_webapp everything
under the application_directory (in your case, qvdintra) would be passed
to Tomcat. OR you could move webmail outside the qvdintra directory, if you
still wish to stick with mod_webapp.
If webmail isn't a directory under qvdintra, then I don't see a
problem.

RS


   

  Markus Bengts

  [EMAIL PROTECTED]To:   Tomcat Users List 

  p.fi [EMAIL PROTECTED]   

   cc: 

  08/02/02 04:25 PMSubject:  Re: mod_webapp or perhaps 
apache question 
  Please respond to

  Tomcat Users

  List

   

   





On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:


 What's the directory layout? Is qvdintra a directory?

 The WebAppDeploy syntax is:

 WebAppDeploy application_name connection_name url_path

qvdintra is an application name which is the same as the directory present
under my webapps directory. The connection works fine. My problem is
that the webmail should be served by apache and everything else by tomcat.

I want to have:

 WebAppDeploy qvdintra defConn   /

But still I need to have apache serving urls that have /webmail in the
beginning of the path. (The webmail application is written in php.)


 In my apache conf I have these lines for a virtual host:

 #
 Alias /webmail /home/qvd/www/webmail
 # Tomcat configurations
 IfModule mod_webapp.c
 WebAppDeploy qvdintra   defConn /_
 /IfModule

 I don't want to have _/ in my servlet urls, but if I remove '_' my
 webmail stops working. I want to send everything else to tomcat except
for
 urls with /webmail in the beginning of the path.

 Can anyone help me with this configuration? I thought the alias before
the
 WebAppDeploy would help, but it seems that order doesn't matter here.


   Markus



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]







--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_webapp or perhaps apache question

2002-08-02 Thread Markus Bengts

On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:


 If webmail isn't a directory under qvdintra, then I don't see a
 problem.

webmail is not under qvdintra. It is possible to use it like this with
servlet/ or _/ or some other extra string in the url-path to every
servlet. I just don't want to have something extra in the path to
servlets.


 On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:

 
  What's the directory layout? Is qvdintra a directory?

  The WebAppDeploy syntax is:
 
  WebAppDeploy application_name connection_name url_path

 qvdintra is an application name which is the same as the directory present
 under my webapps directory. The connection works fine. My problem is
 that the webmail should be served by apache and everything else by tomcat.

 I want to have:

  WebAppDeploy qvdintra defConn   /

 But still I need to have apache serving urls that have /webmail in the
 beginning of the path. (The webmail application is written in php.)


  In my apache conf I have these lines for a virtual host:
 
  #
  Alias /webmail /home/qvd/www/webmail
  # Tomcat configurations
  IfModule mod_webapp.c
  WebAppDeploy qvdintra   defConn /_
  /IfModule
 
  I don't want to have _/ in my servlet urls, but if I remove '_' my
  webmail stops working. I want to send everything else to tomcat except
 for
  urls with /webmail in the beginning of the path.
 
  Can anyone help me with this configuration? I thought the alias before
 the
  WebAppDeploy would help, but it seems that order doesn't matter here.
 

Markus


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira


Maybe it's just me or maybe it's Friday. But I'm sorry, I'm a little
confused. What is _? Is that some directory you defined or is that
something you just put in your email. _ generally is used when you define
a Root context and wish to access your site as http://domain-name/
Let's try once again. Since webmail is a php application, it will be
handled by Apache. You would create an Alias for webmail if it isn't
under your DocumentRoot. And you have jsps and servlets under qvdintra
which will go to Tomcat as directed by your WebAppDeploy statement. You
would access your servlets with under qvdintra by prefixing the className
(or url-mapping. see web.xml) with servlet/

RS





   

  Markus Bengts

  [EMAIL PROTECTED]To:   Tomcat Users List 

  p.fi [EMAIL PROTECTED]   

   cc: 

  08/02/02 04:48 PMSubject:  Re: mod_webapp or perhaps 
apache question 
  Please respond to

  Tomcat Users

  List

   

   





On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:


 If webmail isn't a directory under qvdintra, then I don't see a
 problem.

webmail is not under qvdintra. It is possible to use it like this with
servlet/ or _/ or some other extra string in the url-path to every
servlet. I just don't want to have something extra in the path to
servlets.


 On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:

 
  What's the directory layout? Is qvdintra a directory?

  The WebAppDeploy syntax is:
 
  WebAppDeploy application_name connection_name url_path

 qvdintra is an application name which is the same as the directory
present
 under my webapps directory. The connection works fine. My problem is
 that the webmail should be served by apache and everything else by
tomcat.

 I want to have:

  WebAppDeploy qvdintra defConn
/

 But still I need to have apache serving urls that have /webmail in the
 beginning of the path. (The webmail application is written in php.)


  In my apache conf I have these lines for a virtual host:
 
  #
  Alias /webmail /home/qvd/www/webmail
  # Tomcat configurations
  IfModule mod_webapp.c
  WebAppDeploy qvdintra   defConn /_
  /IfModule
 
  I don't want to have _/ in my servlet urls, but if I remove '_' my
  webmail stops working. I want to send everything else to tomcat except
 for
  urls with /webmail in the beginning of the path.
 
  Can anyone help me with this configuration? I thought the alias before
 the
  WebAppDeploy would help, but it seems that order doesn't matter here.
 

Markus


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]







--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_webapp or perhaps apache question

2002-08-02 Thread Milt Epstein

On Sat, 3 Aug 2002, Markus Bengts wrote:

 On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:

  If webmail isn't a directory under qvdintra, then I don't see a
  problem.

 webmail is not under qvdintra. It is possible to use it like this with
 servlet/ or _/ or some other extra string in the url-path to every
 servlet. I just don't want to have something extra in the path to
 servlets.

I may be wrong, but I'm not sure you're going to be able to do that.
Because when you give WebAppDeploy the URL pattern /, you're
effectively telling it that Apache should pass everything to Tomcat.
I'm not sure you can make it do everything but this one thing.  You
might have to put something there, like /qvdintra (and then that has
to be included in every URL).

One thing, my understanding is that when you use mod_webapp to connect
Apache to Tomcat, it passes every URL under the specified URL (in a
WebAppDeploy) to Tomcat, even static content.  But supposedly with
mod_jk you have finer grain control, and it allows you to have Apache
handle static content within a Tomcat context (although I'm not sure I
fully understand how it does that, because there are things for which
it isn't obvious from just the URL whether it's static or dynamic
content).  Anyway, someone suggested using mod_jk instead of
mod_webapp.  You might try that to see if it allows you to do what you
want.


  On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:
 
  
   What's the directory layout? Is qvdintra a directory?
 
   The WebAppDeploy syntax is:
  
   WebAppDeploy application_name connection_name url_path
 
  qvdintra is an application name which is the same as the directory present
  under my webapps directory. The connection works fine. My problem is
  that the webmail should be served by apache and everything else by tomcat.
 
  I want to have:
 
   WebAppDeploy qvdintra defConn   /
 
  But still I need to have apache serving urls that have /webmail in the
  beginning of the path. (The webmail application is written in php.)
 
 
   In my apache conf I have these lines for a virtual host:
  
   #
   Alias /webmail /home/qvd/www/webmail
   # Tomcat configurations
   IfModule mod_webapp.c
   WebAppDeploy qvdintra   defConn /_
   /IfModule
  
   I don't want to have _/ in my servlet urls, but if I remove '_' my
   webmail stops working. I want to send everything else to tomcat except
  for
   urls with /webmail in the beginning of the path.
  
   Can anyone help me with this configuration? I thought the alias before
  the
   WebAppDeploy would help, but it seems that order doesn't matter here.
  
 
 Markus


 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]