That's a bit of a bummer... I'm stumped, I don't know what could be
going wrong.
It seems that the rewrite rule is working, the request is being sent
to ajp and the only response is "No host matches server name
mydomain.com".
Perhaps in the rewrite rules I need to specify that the request
Yes, it will handle your config without problems. But you don't get
Apache: Add forwarding uri to debug log. (rjung)
(from the changelog). :(
Regards,
Rainer
Shug Boabby schrieb:
> On 4 Nov 2007, at 18:26, Rainer Jung wrote:
>> Then you are using an older version of JK. The up to date vers
On 4 Nov 2007, at 18:26, Rainer Jung wrote:
Then you are using an older version of JK. The up to date version is
1.2.25.
By the looks of it, the latest Ubuntu Gutsy has 1.2.23... can it
handle this configuration?
-
To star
Shug Boabby schrieb:
> I'm using pretty much the stock config for Tomcat... although I have
> added SSL support.
>
> On 4 Nov 2007, at 17:14, Rainer Jung wrote:
>> There should be a line in the jk debug log similar to:
>>
>> [debug] init_ws_service::mod_jk.c (806): Service protocol=HTTP/1.1
>> met
I'm using pretty much the stock config for Tomcat... although I have
added SSL support.
On 4 Nov 2007, at 17:14, Rainer Jung wrote:
There should be a line in the jk debug log similar to:
[debug] init_ws_service::mod_jk.c (806): Service protocol=HTTP/1.1
method=GET host=(null) addr=127.0.0.1 n
Shug Boabby schrieb:
> Thanks Rainer... I've added the JK debugging and this has helped
> identify a problem... the response that Apache gets (and doesn't forward
> to the client) is that "No host matches server name myserver.com".
Tomcat gets the host name from the forwarded Host header. Are yo
Thanks Rainer... I've added the JK debugging and this has helped
identify a problem... the response that Apache gets (and doesn't
forward to the client) is that "No host matches server name
myserver.com".
I'm not seeing any output at all in the RewriteLog (btw, it's
RewriteLog not Rewrite
Shug Boabby schrieb:
> Thanks again Rainer,
>
> I think we're getting somewhere with this... but unfortunately all
> responses to myserver.com/tomcat/anything are completely empty. This
> means something is happening because the response to myserver.com/tomcat
> is that it doesn't exist (because t
Thanks again Rainer,
I think we're getting somewhere with this... but unfortunately all
responses to myserver.com/tomcat/anything are completely empty. This
means something is happening because the response to myserver.com/
tomcat is that it doesn't exist (because the rewrite rule doesn't
OK, but that doesn't fit into your first mail.
So here is the proposed solution:
LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine On
RewriteRule /tomcat/(.*) /$1
[E=JK_WORKER_NAME:myworker,H=jakarta-servlet,PT]
The RewriteRule line extends until "PT]"
This will activate JK forward
On 4 Nov 2007, at 13:48, Rainer Jung wrote:
To reiterate what I would like to do... I want to be able to set up
http://myserver.com/tomcat to point to http://myserver.com:8180 and
likewise for SSL. It surprises me that more people do not want a
simple,
hassle-free setup like this!
This requi
Concerning webapp deployment in nested directories:
have a look at
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Look out for the character "#" and using a *.xml deployment descriptor.
But please think about my previous question first :)
Regards,
Rainer
Shug Boabby schrieb:
> O
Let's first start with what you actually want to achieve:
Shug Boabby schrieb:
> Thanks Rainer and Janning,
>
> I'm afraid my question is still unanswered... but I am particularly
> interested in what you say here
>
> On 4 Nov 2007, at 12:43, Rainer Jung wrote:
>> You can though deploy your weba
Thanks Rainer and Janning,
I'm afraid my question is still unanswered... but I am particularly
interested in what you say here
On 4 Nov 2007, at 12:43, Rainer Jung wrote:
You can though deploy your webapps not on the top level directory,
but instead into a sub directory (using a path, that
Hi,
actually there are two things to discuss here:
1) How to express rules which requests should be forwarded
2) Rewriting URLs
and finally, how does one combine the two.
Concerning 1)
-
First the case, where you don't want to rewrite the URL, e.g. the
browser really asks for /serv
Hello everyone,
There does not appear to be a separate list for mod_jk discussions...
so I assume this is the most relevant place to ask questions. Please
let me know if there is somewhere more specific for me to bring this.
I have mod_jk up and running with Apache 2 and Tomcat 5.5. However
16 matches
Mail list logo