It looks like you want to change the URL during forwarding.

Have a look at

http://tomcat.apache.org/connectors-doc/reference/iis.html

and search for the word "rewrite".

Regards,

Rainer

rcgeorge23 wrote:
Hi Chuck,

Thanks for that. I've now downloaded and attempted to set up the jk
connector - I think I've got a little further but I'm still not seeing the
page that should be served up by Tomcat.

I've set up a simple set of config files (essentially just grabbing them
from the jakarta how-to and changing the paths), and have attempted to visit
www.mydomain.com/main.jsp however I'm still getting a 404.

I'm trying to map mydomain.com/ to the tomcat context 'ols-web' but this is
the bit that doesn't seem to be working. The isapi_redirect.log indicates
that that requests are being forwarded to tomcat, I think:

=============================================
[Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_uri_worker_map.c (601):
Attempting to map context URI '/*=worker1' source 'uriworkermap'
[Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_uri_worker_map.c (616):
Found a wildchar match '/*=worker1'
[Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_isapi_plugin.c (1270):
check if [/main.jsp] is points to the web-inf directory
[Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_isapi_plugin.c (1287):
[/main.jsp] is a servlet url - should redirect to worker1
=============================================

...but possibly not to the right context. Any ideas? My config files are
shown below...

Cheers,
Richard

workers.properties:
==============================================
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=XXX.XXX.220.132
worker.worker1.port=8009
worker.worker1.mount=/ols-web /ols-web/*
==============================================

uriworkermap.properties:
==============================================
/*=worker1
==============================================

isapi_redirect.properties:
==============================================
# Configuration file for the Jakarta ISAPI Redirector

# The path to the ISAPI Redirector Extension, relative to the website
# This must be in a virtual directory with execute privileges
extension_uri=/jakarta/isapi_redirect.dll

# Full path to the log file for the ISAPI Redirector
log_file=d:\tomcat 5.5\logs\isapi_redirect.log

# Log level (debug, info, warn, error or trace)
log_level=debug

# Full path to the workers.properties file
worker_file=d:\tomcat 5.5\conf\workers.properties

# Full path to the uriworkermap.properties file
worker_mount_file=d:\tomcat 5.5\conf\uriworkermap.properties
==============================================


Caldarale, Charles R wrote:
From: rcgeorge23 [mailto:[EMAIL PROTECTED] Subject: Configuring Tomcat 5.5 and IIS 6

I downloaded jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip,
Oops.  The mod_jk2 package has been deprecated for over two years; you
should be using mod_jk.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to