tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lisa D Beggs/AC/VCU <ldbe...@vcu.edu>
Subject Trouble setting up virtual host
Date Wed, 22 Jul 2009 19:10:43 GMT
I am hoping you can help me.  I am trying to get a DNS entry that we set 
up www.websitename.edu (alias websitename.edu) to point to another page on 
our Crystal Reports Server (Infoview). 

We are running Tomcat 5.5.20.  I was told I need to set up a virtual host, 
I need to point the DNS entries to the logon.jsp page that is located in 
the Tomcat55\webapps\InfoViewApp\ directory. 

When I type in the above website from the server however, I get the 
default Tomcat home page.  So essentially I need to set it up so that the 
URL to the logon page is redirected to http://websitename.edu/logon.jsp or 
http://www.websitename.edu/logon.jsp and not the current - 
http://myserver:/InfoViewApp/logon.jsp.

Any suggestions, this is all new to me.

THANKS!



<Server port="8005" shutdown="SHUTDOWN">

  <GlobalNamingResources>
    <!-- Used by Manager webapp -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
           factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <Service name="Catalina">
    <Connector port="80" />

    <Connector URIEncoding="UTF-8" acceptCount="100" 
connectionTimeout="20000" disableUploadTimeout="true" 
enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" 
maxThreads="150" minSpareThreads="25" port="8080" redirectPort="8443"/>

    <!-- This is here for compatibility only, not required -->
    <Connector port="8009" protocol="AJP/1.3" />

    <Engine name="Catalina" defaultHost="localhost">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase" /> <Host name="localhost" 
appBase="webapps" />
</Engine>
 
        <Host name="www.websitename.edu" 
appBase="\webapps\InfoViewApp\logon.jsp" unpackWARs="false" 
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
        <Context path="" docBase="."/>
        <Alias>websitename.edu</Alias>
      </Host>

    </Service>

  </Server>





_____________________________________________
"Change is the essence of life. Be willing to surrender what you are, for 
what you could become". 

Lisa D. Beggs 
Information Technology Specialist
Business Application Services
Phone:  804 828-2098
Fax:   804 828-0322

Don't be a phishing victim - VCU and other reputable organizations will 
never use email to request that you reply with your password, social 
security number or confidential personal information.  For more details 
visit http://infosecurity.vcu.edu/phishing.html 





Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message