I don't know much about Jetty, but if you are using JBoss with Tomcat, you
could add your virtual host in the tomcat configuration file.
Check out the Host element in server.xml.
<Host name="www.myhost.com" debug="0" appBase="webapps" unpackWARs="true">
<Alias>myhost.com</Alias>

And then add an entry in the DNS or your hosts file (good for quick
testing)

RS



                                                                                       
                              
                      "Valter Nogueira"                                                
                              
                      <[EMAIL PROTECTED]>           To:       
[EMAIL PROTECTED]                  
                      Sent by:                           cc:                           
                              
                      [EMAIL PROTECTED]        Subject:  RE: [JBoss-user] 
Virtual Hosts                    
                      ceforge.net                                                      
                              
                                                                                       
                              
                                                                                       
                              
                      12/18/02 08:05 AM                                                
                              
                      Please respond to                                                
                              
                      jboss-user                                                       
                              
                                                                                       
                              
                                                                                       
                              




Brian,

I already read that guide but I didn't understand.

I thought that <virtual-host> tag was about a server name like
www.myhost.com. And this make me really confuse.

Shouldn't www.myhost.com be setted at DNS or hosts file?

I read an answer sugesting add an <alias> tag for myhost.com, instead of
redirecting it using DNS.

Just to add another novice question I don't get the issue about port 80.

Maybe I am missing an important point in security or I am too Windows/ASP
to
see it. I know its is really of topic, but the problem would occur with
diferent web server (iis, apache, tomcat, websphere)? Or just with Jetty?

Together this post I am sending my solemn oath

"That I will not post such stupid questions again!", since I believe I will

not be soo stupid after reading Stark's book.

Anyway, thank you for your help.

Valter


_________________________________________________________________
MSN Messenger: converse com os seus amigos online.
http://messenger.msn.com.br



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





This transmission is intended to be strictly confidential. If you are not
the intended recipient of this message, you may not disclose, print, copy
or disseminate this information. If you have received this in error, please
reply and notify the sender (only) and delete the message. Unauthorized
interception of this e-mail is a violation of federal criminal law.




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to