Not able to pass GET parameters from apache

Hi,

I have successfully connected apache 1.3 with tomcat 4. My application
is also running fine with it. But there is this problem

http://<server ip>/<my-app>/Welcome.jsp works fine but
http://<server ip>/<my-app>/Welcome.jsp?textlength=77 does not work.
Apache is not able not locate this file and gives a page not found
error.
Apache is not able to pass GET parameters. With POST it's working
fine. My requirement here is to use GET.

Help would be appreciated as I am running out of time :)

Below is the configuration contents

#
# workers.properties
#

# Not sure if this is needed (windows users use \)
ps=/

# Define workers list (not sure if only need loadbalancer but this way
# works for me).
worker.list=worker2
worker.maintain=60


# Set properties for worker2 (e.g. tomcat 4.0.x)
worker.worker2.type=ajp13
worker.worker2.host=172.16.2.212
# Ensure that your servlet engine will use a matching port
worker.worker2.port=8009
worker.worker2.socket_timeout=300
worker.worker2.local_worker=1

-----------------------------------

#
# mod-jk.conf (to be included in httpd.conf)
#

JkWorkersFile /etc/apache/workers.properties

JkLogFile /var/apache/logs/jk.log

JkLogLevel debug

JkShmFile /var/apache/logs/jk.shm

# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T %p %q %r %s"

#Alias /<my-app>/var/apache/tomcat/webapps/<my-app>

JkMount /<my-app>/* worker2
-----------------------------------

I have added the following lines at appropriate places in httpd.conf
file

LoadModule jk_module libexec/mod_jk.so

AddModule mod_jk.c

include /etc/apache/mod-jk.conf

Thanks in advance

Vinay
vinay.rajeev [ Mo, 08 Oktober 2007 15:47 ] [ ID #1839299 ]
Webserver » alt.apache.configuration » Not able to pass GET parameters from apache

Vorheriges Thema: mod_rewrite in user directory
Nächstes Thema: manual apache2 doesn't work