3 Replies Latest reply on Aug 21, 2008 3:59 AM by erasmo2 marciano2

    Issue with the Virtual Host

    Rodrigo Martinez Heredia Newbie

      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"

      <DefaultContext cookies="true" crossContext="true" override="true"/

      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"?>
      <!-- <security-domain flushOnSessionInvalidation="false"/>-->

      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