Am 22.01.2015 um 01:03 schrieb Chris Arnold:
+1
And also, could you specify again what URL you are >requesting in the browser, 
which you
would expect to be proxied to Tomcat ?

https://share2.domain.tld


Looking at the log you just showed, it seemed that the >only requests ever 
passed through
mod_jk for evaluation, where things like
/>error/*
and mod_jk (rightly so) decides that they are not for >Tomcat, declines to 
process them,
and returns the request to Apache, to tell it to find >another victim to handle 
that URL.

Agreed! Which is why i need some guidance.

You have set

JkMount /share2/* worker1

which means: forward any request that hits the VirtualHost in which you have put that JkMount and where the request has a URI starting with /share2/ via the worker worker1.

Then you test with the request http://share2.domain.tld/ which has URI /. This URI does not start with /share2/ so it does not match the JkMount and the request is not being forwarded.

Attempting to map URI '/' from 1 maps
Attempting to map context URI '/share2/*=worker1' source 'JkMount'
no match for / found

Instead Apache tries to produce an error page using a new interal request with an URI starting with /error/ etc.

So either you test with the request http://share2.domain.tld/share2/what-ever-makes-sense-here or - if your really need to forward anything under http://share2.domain.tld/ you need to use

JkMount /* worker1

instead of the JkMount you are currently using.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to