Re: [Resin-interest] difference between host attributes id and host-name

2011-04-07 Thread Scott Ferguson
On 04/06/2011 06:36 PM, Keith Fetterman wrote:
 In resin 4.0.16, what is the difference between thehost  tag
 attributes id and host-name?  Are they the same thing?  In the
 documentation it says:

 http://www.caucho.com/resin-4.0/reference.xtp#host

 id  -  primary host name
 host-name   - Canonical host name

 I don't think I have come across an example in Resin's documentation
 where thehost  tag uses the id attribute.

Normally, you should use host-name and ignore id. id is primarily 
for backward compatibility, although it is used for the internal version 
tag (/production/webapps/host-id/webapp-id) and for JMX, so 
theoretically you could have a different id for administration purposes 
(not sure why, though.)

-- Scott




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


Re: [Resin-interest] difference between host attributes id and host-name

2011-04-07 Thread Scott Ferguson
On 04/07/2011 10:34 AM, Scott Ferguson wrote:
 On 04/06/2011 06:36 PM, Keith Fetterman wrote:
 In resin 4.0.16, what is the difference between thehost   tag
 attributes id and host-name?  Are they the same thing?  In the
 documentation it says:

 http://www.caucho.com/resin-4.0/reference.xtp#host

 id  -  primary host name
 host-name   - Canonical host name

 I don't think I have come across an example in Resin's documentation
 where thehost   tag uses the id attribute.
 Normally, you should use host-name and ignore id. id is primarily
 for backward compatibility, although it is used for the internal version
 tag (/production/webapps/host-id/webapp-id) and for JMX, so
 theoretically you could have a different id for administration purposes
 (not sure why, though.)

Also, id= is the default host, which matches everything. For 
redirects, if you want a canonical name for the default host, you'll 
need to have id= host-name=example.com.

-- Scott

 -- Scott




 ___
 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


[Resin-interest] difference between host attributes id and host-name

2011-04-06 Thread Keith Fetterman
In resin 4.0.16, what is the difference between the host tag 
attributes id and host-name?  Are they the same thing?  In the 
documentation it says:

http://www.caucho.com/resin-4.0/reference.xtp#host

id  -  primary host name
host-name   - Canonical host name

I don't think I have come across an example in Resin's documentation 
where the host tag uses the id attribute.

-- 
-
Keith FettermanDirect: 206-319-9434
Mariner Supply, Inc.   206-780-5670
http://www.go2marine.com   kfetter...@go2marine.com

http://www.boatersline.com




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