On 10 Feb 2012, at 07:21, Casper Wandahl Schmidt <kalle.pri...@gmail.com> wrote:
> Den 09-02-2012 22:02, Christopher Schultz skrev: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Casper, >> >> On 2/9/12 1:43 PM, Casper Wandahl Schmidt wrote: >>> Den 09-02-2012 19:36, Caldarale, Charles R skrev: >>>>> From: Casper Wandahl Schmidt [mailto:kalle.pri...@gmail.com] >>>>> Subject: mod_jk and URL rewriting/proxying? I don't want the >>>>> app to become ROOT since I have another app that should be >>>>> running as ROOT. >>>> And how is that one accessed? From what you described it sounds >>>> like you want the same URL to hit different webapps based on the >>>> mindset of the user. >>> Ha my bad. I use separate subdomains. Right now the localhost-host >>> uses the default ROOT (the one shipped with Tomcat) but I plan to >>> use another webapp later. >>>>> I dont like the fact that I need to restart tomcat each time I >>>>> need to add a new host >>>> Restart not required; use the host-manager webapp to add them on >>>> the fly. >>> Nice, that will be the thing to do then :) >>> >>> Thanks for the tip! >> IIRC, the host-manager won't save the server.xml back to disk, so >> you'll have to remember to update your server.xml whenever you want to >> hot-deploy a new domain name, anyway. > Well at least I don't have to restart tomcat for the changes to take effect > :) Maybe I would take some time to look at how tomcat reads from server.xml > and how the host-manager works and perhaps find a way to persist the changes > :) Any clues as to where to look for that part of the code? Look for the digester package to see how Tomcat reads from server.xml. p > > Casper >> >> - -chris >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG/MacGPG2 v2.0.17 (Darwin) >> Comment: GPGTools - http://gpgtools.org >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAk80NH0ACgkQ9CaO5/Lv0PAOYACeOE6TRto+xkg05iMtKiOUcyvP >> FSUAnROQ2VOQT+GxkHMV1nYwaIdjOD+d >> =3Kim >> -----END PGP SIGNATURE----- >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org