From: Mladen Turk <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: mod_jk garbled - how to change JK* directives for ProxyPass?
Date: Wed, 06 Sep 2006 19:29:12 +0200
Jim Weir wrote:
From: Pid <[EMAIL PROTECTED]>
Tom wrote:
>
> Mladen Turk wrote:
>> David Smith wrote:
You should really consider learning how to quote :)
If I am following this thread correctly it seems that with Apache 2.2.3
the better(suggested?) way to connect to Tomcat is to use mod_proxy_ajp,
which is compiled into Apache by default.
Yes. There are some advanced load balancing things present
in mod_jk only, but we are porting them to mod_proxy_balancer.
Is that the case? Is this the technical direction the AJP connector will
be taking?
Yes, mod_jk will continue to support pre 2.2 apaches and
other servers like IIS depending on their relevance.
For Apache 2.2+ (like said) use mod_proxy_*.
Of course, we'll continue to have mod_jk buildable on
apache 2.2+ (if you need 2.2+ and wish to keep your
old configs).
Regards,
Mladen.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
...bye bye JK and worker.properties...I am now using only mod_proxy_ajp,
undid all my JK changes.
The only problem I have with this is that I lose all my formatting from a
site build with Forrest. It seems to be returning only HTML and dropping
all the CSS...
(http://forrest.apache.org/)
When I point the URL to a directory to a java Servlet based site everything
is fine.
Why would it do this? Should I enable a certain return type in the
VirtualHost?
<VirtualHost *:80>
ServerName www.mysite.org
ServerAdmin [EMAIL PROTECTED]
ServerAlias mysite.org *.mysite.org
DocumentRoot /usr/opt/tomcat/webapps/mysite
ErrorLog logs/mysite.org-error_log
CustomLog logs/mysite.org-access_log common
<Directory "/usr/opt/tomcat/webapps/mysite">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Proxy balancer://mycluster2>
BalancerMember ajp://www.mysite.org:8009/mysite
</Proxy>
<Location /mysite>
ProxyPass balancer://mycluster2
</Location>
</VirtualHost>
_________________________________________________________________
Get the new Windows Live Messenger!
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]