On Mar 30, 2007, at 3:33 PM, Jay Ballinger wrote:

> I am setting up a new resin installation and ran into a fork in the  
> config.
>
> We would like to have http://foo.bar.com and https://foo.bar.com to be
> answered by the same resin, but with different webapps defined for
> each.
>
> http://foo.bar.com would answer with a welcome page while ...
> https://foo.bar.com would have all the functional pages.
>
> Looking at the resin.conf file, I find the following options...
>
> 1 - configure a different host which would require foo.bar.com:80 and
> baz.bar.com:443 to be defined if I want to run with one resin
> instance.
>
> 2 - run separate resin instances - one for port 80 and the other  
> for port 443
>
> 3 - run one resin instance and allow both ports to serve all content
> (and do some fancy url checking in the application to keep them parked
> on 443)
>
>
> Is there any possible way to have one resin instance with port 80
> defined with a webapp and port 443 defined with different webapps?

Sure, just use

<host id="bar.baz.com">
   ..
</host>

<host id="bar.baz.com:443">
   ...
</host>

-- Scott

>
>
> Thanks for the help.
>
>
> + jay
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to