RE: jkmount possibilities

2002-08-29 Thread Turner, John


I have the EAPI version for apache 1.3.26.  Contact me off-list if you want
it.

Also, have you tried the binaries here?
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i38
6/

The tomcat 3 binaries work fine for tomcat 4.

John Turner
[EMAIL PROTECTED]

 -Original Message-
 From: Chris Stokes [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 28, 2002 10:57 PM
 To: Tomcat Users List
 Subject: RE: jkmount possibilities
 
 
 Does anyone have a new (1.26 or newer) Binary version of 
 mod_jk.so for this config
 
 RH7.2
 Apache 1.3.20 (comes with RH7.2) no eapi
 Tomcat 4.03 / 4.04
 
 I can't find any binaries for new versions in the 
 tomcat-downloads area and my efforts to compile my own have 
 ended in tears and recriminations.
 
 Regards
 
 Chris Stokes
 Senior Systems Consultant
 Bass Software Pty Ltd
 [EMAIL PROTECTED]
  __ _
| __ )  __ _ ___ ___/ ___|  ___  / _| |___   _ _ __ ___
|  _ \ / _` / __/ __\___ \ / _ \| |_| __\ \ /\ / / _` 
 | '__/ _ \
| |_) | (_| \__ \__ \___) | (_) |  _| |_ \ V  V / (_| 
 | | |  __/
|/ \__,_|___/___// \___/|_|  \__| \_/\_/ 
 \__,_|_|  \___|
 
  -Original Message-
 From: Glenn Nielsen [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, 28 August 2002 9:46 PM
 To:   Tomcat Users List
 Subject:  Re: jkmount possibilities
 
 If you are using mod_jk 1.2 you can use the JkAutoAlias directive to
 tell Apache to automatically serve static content for all webapps.
 
 pUse the mod_jk JkAutoAlias directive to map all web 
 application context
 directories into Apache's document space. Attempts to access 
 the codeWEB-INF/code
 or codeMETA-INF/code directories within a web application 
 context or a
 Web Archive code*.war/code within the Tomcat Host appBase 
 (webapps) directory
 will fail with an HTTP 403, Access Forbidden./p
 p
 Example configuration for an Apache VirtualHost:
 
 pre
 # Static files in all Tomcat webapp context directories are 
 served by apache
 JkAutoAlias /export/home/web/host2/webapps
 /pre
 /p
 
 Chris Stokes wrote:
  Hi
  I was wondering if what I want to do is possible
  
  Tomcat 4.03
  Apache 1.3.20
  RHLinux 7.3
  
  I have not defined any contexts in my server.xml I just 
 want them auto generated when I start tomcat4. To do this I 
 tried a number of different settings for jkmount and 
 eventually settled on
  JkMount /*/servlet/* ajp13
  This seemed to work as all my html and serlvets seemed to work fine.
  However - now I discover that Tomcat is serving all content ie.
  JkMount /*/servlet/* ajp13
  Seems to work the same as
  JkMount /* ajp13
  
  Is this the case?
  I only want tomcat to serve anything with servlet in the 
 uri no matter what precedes it eg
  
  http://server/context1/servlet/myservlet
  http://server/context2/servlet/myservlet
  
  
  This is in my httpd.conf
  
  LoadModule jk_module modules/mod_jk.so
  AddModule mod_jk.c
  
  IfModule mod_jk.c
  JkWorkersFile /etc/httpd/conf/workers.properties
  JkLogFile logs/mod_jk.log
  JkLogLevel error
  /IfModule
  
  NameVirtualHost 192.168.192.103
  
  VirtualHost 192.168.192.103:80
  ServerAdmin email@address
  DocumentRoot /home/bass/iAP21
  ServerName server.name.com
  ErrorLog logs/ap21-error_log
  CustomLog logs/ap21-access_log common
  JkMount /*/servlet/* ajp13
  /VirtualHost
  
  Chris Stokes
  Senior Systems Consultant
  Bass Software Pty Ltd
  [EMAIL PROTECTED]
  
  
  
  --
  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]




--
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: jkmount possibilities

2002-08-28 Thread Glenn Nielsen

If you are using mod_jk 1.2 you can use the JkAutoAlias directive to
tell Apache to automatically serve static content for all webapps.

pUse the mod_jk JkAutoAlias directive to map all web application context
directories into Apache's document space. Attempts to access the codeWEB-INF/code
or codeMETA-INF/code directories within a web application context or a
Web Archive code*.war/code within the Tomcat Host appBase (webapps) directory
will fail with an HTTP 403, Access Forbidden./p
p
Example configuration for an Apache VirtualHost:

pre
# Static files in all Tomcat webapp context directories are served by apache
JkAutoAlias /export/home/web/host2/webapps
/pre
/p

Chris Stokes wrote:
 Hi
 I was wondering if what I want to do is possible
 
 Tomcat 4.03
 Apache 1.3.20
 RHLinux 7.3
 
 I have not defined any contexts in my server.xml I just want them auto generated 
when I start tomcat4. To do this I tried a number of different settings for jkmount 
and eventually settled on
 JkMount /*/servlet/* ajp13
 This seemed to work as all my html and serlvets seemed to work fine.
 However - now I discover that Tomcat is serving all content ie.
 JkMount /*/servlet/* ajp13
 Seems to work the same as
 JkMount /* ajp13
 
 Is this the case?
 I only want tomcat to serve anything with servlet in the uri no matter what 
precedes it eg
 
 http://server/context1/servlet/myservlet
 http://server/context2/servlet/myservlet
 
 
 This is in my httpd.conf
 
 LoadModule jk_module modules/mod_jk.so
 AddModule mod_jk.c
 
 IfModule mod_jk.c
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLevel error
 /IfModule
 
 NameVirtualHost 192.168.192.103
 
 VirtualHost 192.168.192.103:80
 ServerAdmin email@address
 DocumentRoot /home/bass/iAP21
 ServerName server.name.com
 ErrorLog logs/ap21-error_log
 CustomLog logs/ap21-access_log common
 JkMount /*/servlet/* ajp13
 /VirtualHost
 
 Chris Stokes
 Senior Systems Consultant
 Bass Software Pty Ltd
 [EMAIL PROTECTED]
 
 
 
 --
 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: jkmount possibilities

2002-08-28 Thread Ray Madigan

I have tried to insertthis directive in a VirtualHost section of httpd.conf
and apache2 will not start - Invalid Command: JkAutoAlias perhaps
mispelled...

How did u get this to work?

Thanks


-Original Message-
From: Glenn Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 4:46 AM
To: Tomcat Users List
Subject: Re: jkmount possibilities


If you are using mod_jk 1.2 you can use the JkAutoAlias directive to
tell Apache to automatically serve static content for all webapps.

pUse the mod_jk JkAutoAlias directive to map all web application context
directories into Apache's document space. Attempts to access the
codeWEB-INF/code
or codeMETA-INF/code directories within a web application context or a
Web Archive code*.war/code within the Tomcat Host appBase (webapps)
directory
will fail with an HTTP 403, Access Forbidden./p
p
Example configuration for an Apache VirtualHost:

pre
# Static files in all Tomcat webapp context directories are served by apache
JkAutoAlias /export/home/web/host2/webapps
/pre
/p

Chris Stokes wrote:
 Hi
 I was wondering if what I want to do is possible

 Tomcat 4.03
 Apache 1.3.20
 RHLinux 7.3

 I have not defined any contexts in my server.xml I just want them auto
generated when I start tomcat4. To do this I tried a number of different
settings for jkmount and eventually settled on
 JkMount /*/servlet/* ajp13
 This seemed to work as all my html and serlvets seemed to work fine.
 However - now I discover that Tomcat is serving all content ie.
 JkMount /*/servlet/* ajp13
 Seems to work the same as
 JkMount /* ajp13

 Is this the case?
 I only want tomcat to serve anything with servlet in the uri no matter
what precedes it eg

 http://server/context1/servlet/myservlet
 http://server/context2/servlet/myservlet


 This is in my httpd.conf

 LoadModule jk_module modules/mod_jk.so
 AddModule mod_jk.c

 IfModule mod_jk.c
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLevel error
 /IfModule

 NameVirtualHost 192.168.192.103

 VirtualHost 192.168.192.103:80
 ServerAdmin email@address
 DocumentRoot /home/bass/iAP21
 ServerName server.name.com
 ErrorLog logs/ap21-error_log
 CustomLog logs/ap21-access_log common
 JkMount /*/servlet/* ajp13
 /VirtualHost

 Chris Stokes
 Senior Systems Consultant
 Bass Software Pty Ltd
 [EMAIL PROTECTED]



 --
 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]


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




Re: jkmount possibilities

2002-08-28 Thread Glenn Nielsen

Oops, I should have clarified that those directives are only available for
Apache 1.3.  Sorry.

Ray Madigan wrote:
 I have tried to insertthis directive in a VirtualHost section of httpd.conf
 and apache2 will not start - Invalid Command: JkAutoAlias perhaps
 mispelled...
 
 How did u get this to work?
 
 Thanks
 
 
 -Original Message-
 From: Glenn Nielsen [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 28, 2002 4:46 AM
 To: Tomcat Users List
 Subject: Re: jkmount possibilities
 
 
 If you are using mod_jk 1.2 you can use the JkAutoAlias directive to
 tell Apache to automatically serve static content for all webapps.
 
 pUse the mod_jk JkAutoAlias directive to map all web application context
 directories into Apache's document space. Attempts to access the
 codeWEB-INF/code
 or codeMETA-INF/code directories within a web application context or a
 Web Archive code*.war/code within the Tomcat Host appBase (webapps)
 directory
 will fail with an HTTP 403, Access Forbidden./p
 p
 Example configuration for an Apache VirtualHost:
 
 pre
 # Static files in all Tomcat webapp context directories are served by apache
 JkAutoAlias /export/home/web/host2/webapps
 /pre
 /p
 
 Chris Stokes wrote:
 
Hi
I was wondering if what I want to do is possible

Tomcat 4.03
Apache 1.3.20
RHLinux 7.3

I have not defined any contexts in my server.xml I just want them auto
 
 generated when I start tomcat4. To do this I tried a number of different
 settings for jkmount and eventually settled on
 
JkMount /*/servlet/* ajp13
This seemed to work as all my html and serlvets seemed to work fine.
However - now I discover that Tomcat is serving all content ie.
JkMount /*/servlet/* ajp13
Seems to work the same as
JkMount /* ajp13

Is this the case?
I only want tomcat to serve anything with servlet in the uri no matter
 
 what precedes it eg
 
http://server/context1/servlet/myservlet
http://server/context2/servlet/myservlet


This is in my httpd.conf

LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c

IfModule mod_jk.c
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel error
/IfModule

NameVirtualHost 192.168.192.103

VirtualHost 192.168.192.103:80
ServerAdmin email@address
DocumentRoot /home/bass/iAP21
ServerName server.name.com
ErrorLog logs/ap21-error_log
CustomLog logs/ap21-access_log common
JkMount /*/servlet/* ajp13
/VirtualHost

Chris Stokes
Senior Systems Consultant
Bass Software Pty Ltd
[EMAIL PROTECTED]



--
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]
 
 
 --
 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: jkmount possibilities

2002-08-28 Thread Chris Stokes

Does anyone have a new (1.26 or newer) Binary version of mod_jk.so for this config

RH7.2
Apache 1.3.20 (comes with RH7.2) no eapi
Tomcat 4.03 / 4.04

I can't find any binaries for new versions in the tomcat-downloads area and my efforts 
to compile my own have ended in tears and recriminations.

Regards

Chris Stokes
Senior Systems Consultant
Bass Software Pty Ltd
[EMAIL PROTECTED]
 __ _
   | __ )  __ _ ___ ___/ ___|  ___  / _| |___   _ _ __ ___
   |  _ \ / _` / __/ __\___ \ / _ \| |_| __\ \ /\ / / _` | '__/ _ \
   | |_) | (_| \__ \__ \___) | (_) |  _| |_ \ V  V / (_| | | |  __/
   |/ \__,_|___/___// \___/|_|  \__| \_/\_/ \__,_|_|  \___|

 -Original Message-
From:   Glenn Nielsen [mailto:[EMAIL PROTECTED]] 
Sent:   Wednesday, 28 August 2002 9:46 PM
To: Tomcat Users List
Subject:Re: jkmount possibilities

If you are using mod_jk 1.2 you can use the JkAutoAlias directive to
tell Apache to automatically serve static content for all webapps.

pUse the mod_jk JkAutoAlias directive to map all web application context
directories into Apache's document space. Attempts to access the codeWEB-INF/code
or codeMETA-INF/code directories within a web application context or a
Web Archive code*.war/code within the Tomcat Host appBase (webapps) directory
will fail with an HTTP 403, Access Forbidden./p
p
Example configuration for an Apache VirtualHost:

pre
# Static files in all Tomcat webapp context directories are served by apache
JkAutoAlias /export/home/web/host2/webapps
/pre
/p

Chris Stokes wrote:
 Hi
 I was wondering if what I want to do is possible
 
 Tomcat 4.03
 Apache 1.3.20
 RHLinux 7.3
 
 I have not defined any contexts in my server.xml I just want them auto generated 
when I start tomcat4. To do this I tried a number of different settings for jkmount 
and eventually settled on
 JkMount /*/servlet/* ajp13
 This seemed to work as all my html and serlvets seemed to work fine.
 However - now I discover that Tomcat is serving all content ie.
 JkMount /*/servlet/* ajp13
 Seems to work the same as
 JkMount /* ajp13
 
 Is this the case?
 I only want tomcat to serve anything with servlet in the uri no matter what 
precedes it eg
 
 http://server/context1/servlet/myservlet
 http://server/context2/servlet/myservlet
 
 
 This is in my httpd.conf
 
 LoadModule jk_module modules/mod_jk.so
 AddModule mod_jk.c
 
 IfModule mod_jk.c
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLevel error
 /IfModule
 
 NameVirtualHost 192.168.192.103
 
 VirtualHost 192.168.192.103:80
 ServerAdmin email@address
 DocumentRoot /home/bass/iAP21
 ServerName server.name.com
 ErrorLog logs/ap21-error_log
 CustomLog logs/ap21-access_log common
 JkMount /*/servlet/* ajp13
 /VirtualHost
 
 Chris Stokes
 Senior Systems Consultant
 Bass Software Pty Ltd
 [EMAIL PROTECTED]
 
 
 
 --
 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]




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