tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Alias' and the like
Date Wed, 12 Jul 2006 21:21:53 GMT
  personally I caution against OS specific constructs
  to use Apache or Tomcat specific directives
  including mod-rewrite

  e.g. httpd.conf 
     <VirtualHost *>
      ServerName /usr/local/tomcat/dev/webapps/bmtest/admin
      ServerAlias admin1
      ...
      </VirtualHost>
  Good Luck

  *********************************************************************
  This email message and any files transmitted with it contain confidential
  information intended only for the person(s) to whom this email message is
  addressed.  If you have received this email message in error, please notify
  the sender immediately by telephone or email and destroy the original
  message without making a copy.  Thank you.



----- Original Message ----- 
From: "Brian Munroe" <brian.e.munroe@gmail.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, July 12, 2006 4:47 PM
Subject: Re: Alias' and the like


> On 7/12/06, Martin Gainty <mgainty@hotmail.com> wrote:
> 
>> This solution works if you're front-ending with Apache-
>> I have seen CGI/Perl do this to specifically route incoming requests to CGI/Perl
site 1 to their folder
>> (and consequent access to site2 to Tomcat)
> 
> Do you have any configuration file examples?  I can't get it to work.
> Here is my test
> 
> Alias /admin1 /usr/local/tomcat/dev/webapps/bmtest/admin
> Alias /service /usr/local/tomcat/dev/webapps/bmtest/service
> JkMount /admin1* dev
> JkMount /service* dev
> 
> Inside of my bmtest/admin and bmtest/service directories I have very
> basic JSP files.  I get a Tomcat level 404
> 
> I am still not convinced that JkMount respects the Alias directive.
> 
> -- brian
> 
> ps.  While we continue to beat this dead horse, I think Mladen Turk
> came up with a vaild solution.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>
Mime
View raw message