Hi!
Actually I never got JkMount to work, so I would say something like:
ServerName app1.example.com
# you do not want to have a loop
RewriteCond %{REQUEST_FILENAME} !^/app1/
RewriteRule ^/(.*)$ /app1/$1 [PT]
SetEnv JK_WORKER_NAME worker_for_app1
SetHandler jakarta-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Erik,
Erik Melkersson wrote:
> Hi! I wanted to do something similar. (but without the two virtual
> hosts).
It sounds like a solution might be something like this:
ServerName app1.example.com
RewriteRule ^(.*)$ /app1/$1 [PT]
JkMount /
Hi!
I wanted to do something similar. (but without the two virtual hosts).
I did like this:
# The directory the user sees
RewriteRule ^/test/aaa/(.*) /tomcat-dir/$1 [PT]
RewriteRule ^/test/bbb/(.*) /tomcat-dir/stuff/$1 [PT]
# The directory tomcat serves the stuff on:
SetEnv JK_WORKER_NAME wo
On 23/03/2007, at 8:49 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Harrison wrote:
I wish to map different Apache urls across to specific Tomcat
contexts,
for example:
http://app1.example.com/ to TOMCAT/app1.
http://app2.example.com/ to TOMCAT/a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Harrison wrote:
> I wish to map different Apache urls across to specific Tomcat contexts,
> for example:
> http://app1.example.com/ to TOMCAT/app1.
> http://app2.example.com/ to TOMCAT/app2
This should be relatively straightforward.
Fir
Hi,
I am a little lost when it comes to linking Tomcat to Apache in
circumstances where the urls to not map directly across to each other.
For example I have a Tomcat server with the following applications
deployed:
TOMCAT/app1
TOMCAT/app2
I wish to map different Apache urls across to spec