• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Virtual Host

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
I am a newbie in using the Resin Server (3.0.6 at the moment)
I would ask the community, if someone could give me a hint in configuring a virtual host with resin.
For instance I want to link the host www.myhost.com directly to the webapplication myhost which lies under webapps/myhost.
I've already read the resin documentation but I didn't manage it.
I did the following in the resin.conf file:
<host host-name="www.myhost.com" id='www.www.myhost.com'>
<document-directory>C:\resin-3.0.6\webapps\myhost</document-directory>
</host>
this brings me to my page only if I go directly to "http://www.myhost.com/myhost" but I want to enter it by "http://www.myhost.com".
Any hints?
By the way, what is the difference between the document-directory and the root-directory ?
Thanks a lot in advance
Thomas
 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may have to use a META tag to redirect to the desired page or in the Resin.config file, set the default document.
Regards,
Tom Pridam
CIO
www.365MT.com
 
Thomas B�hler
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your answer...
Could you give me an example, plz ?
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Thomas B�hler:
Hi!
I am a newbie in using the Resin Server (3.0.6 at the moment)
I would ask the community, if someone could give me a hint in configuring a virtual host with resin.

For instance I want to link the host www.myhost.com directly to the webapplication myhost which lies under webapps/myhost.

I've already read the resin documentation but I didn't manage it.
I did the following in the resin.conf file:

<host host-name="www.myhost.com" id='www.www.myhost.com'>

<document-directory>C:\resin-3.0.6\webapps\myhost</document-directory>
</host>

this brings me to my page only if I go directly to "http://www.myhost.com/myhost" but I want to enter it by "http://www.myhost.com".

Any hints?

By the way, what is the difference between the document-directory and the root-directory ?

Thanks a lot in advance
Thomas

 
Ursi Barone
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Thomas B�hler:
Hi!
I am a newbie in using the Resin Server (3.0.6 at the moment)
I would ask the community, if someone could give me a hint in configuring a virtual host with resin.

For instance I want to link the host www.myhost.com directly to the webapplication myhost which lies under webapps/myhost.

I've already read the resin documentation but I didn't manage it.
I did the following in the resin.conf file:

<host host-name="www.myhost.com" id='www.www.myhost.com'>

<document-directory>C:\resin-3.0.6\webapps\myhost</document-directory>
</host>

this brings me to my page only if I go directly to "http://www.myhost.com/myhost" but I want to enter it by "http://www.myhost.com".

Any hints?

By the way, what is the difference between the document-directory and the root-directory ?

Thanks a lot in advance
Thomas

 
Ursi Barone
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i had the same problem. What are you dong about it now? Whathave you done in between to work on it? Looking forward to your answer.
Ursi
 
reply
    Bookmark Topic Watch Topic
  • New Topic