Hi everyone, I hope I am in the right forum.
Well I have to make a virtual host, but I am not sure how to do it, I was looking to make
a virtual Host, so I add the next code to the file
$JbossHome/server/default/deploy/jbossweb-tomcat55.sar/server.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Host name="vhost" autoDeploy="false"
deployOnstartup="false" deployXML="false"
Alias>rocky.webpage</Alias
<DefaultContext cookies="true" crossContext="true"
override="true"/
</Host
So I created the Host vhost, as virtual with its Alias. and also I tried to change the
$MyProjectRoot/web/WEB-INF/jboss-web.xml, and I added
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<!-- <security-domain flushOnSessionInvalidation="false"/>-->
<context-root>/JbossRocky</context-root>
<virtual-host>vhost</virtual-host>
</jboss-web>
I made that change, but my server just doesn't respond , I want to make that the Jboss
Server answers with the url:
http://rocky.webpage/JbossRocky instead of
http://localhost:8080/JbossRocky , I looked for all parts and found out that method, but
I am not sure if that's enough or what else do I need, and I want to make those
changes in a Mac Server and a Windows Server (the last one I want to that answer the doman
http://wap.mycompany.com If I ommited some signs of '<' or '>' it is
because it was considering as a HTML in this text, but the name of the host is
"vhost" and its alias is "rocky.webpage"
Thanks by the way
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170655#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...