I'm trying to get around a configuration issue.

My webapp builds dynamic script content but the generated scripts are not accessible.

For example, calling http://domain.tld/index.jsp? ip=192.168.0.10&count=10&key=robot" should generate some subdirectories and builds some jsp pages with content and this seems to work as expected but from apache these are not accessible but from the Tomcat port I can access the pages without issue, is there a way to resolve this?

I can't pre-define the mount points for the subdirectories because I don't know what they are in advance, there doesn't seem to be a way to define access to Tomcat based on the file extension since it wont let you assign a mount point without a leading "/".

Maybe I should be using a different protocol that allows assignment by file extension (if one exists) but google has done nothing but create more confusion for me.

_______________________________________

My apache config contains:
_______________________________________

<IfModule mod_jk.c>
        JKWorkersFile /etc/httpd/workers.ajp13.properties
        JKLogFile /var/log/httpd/mod_jk.log
        JKLogLevel debug
        JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
        JkMount /*.jsp ajp13
        JkOptions +ForwardKeySize +ForwardURICompat
</IfModule>
_______________________________________

my workers.ajp13.properties contains:
_______________________________________

ps=/

# Define 1 real worker using ajp13
worker.list=ajp13

# ------------------------
# First worker server
# ------------------------
# Set properties for ajp13 (ajp13)
worker.ajp13.host=localhost
worker.ajp13.port=8019
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

#
# END workers.properties
#
_______________________________________


-- Dale



Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to