(nl85@orpheus7)/global/tc/app/tcweb-managed-apache/conf/vhosts> nslookup coeus.cit.cornell.edu 
Server:  dns1.cit.cornell.edu
Address:  128.253.180.2

Name:    tcweb-infp.cit.cornell.edu
Address:  128.253.161.232
Aliases:  coeus.cit.cornell.edu
#
# tc12-infp.cit.cornell.edu
#
<VirtualHost 128.253.161.232:80>

    ServerName coeus.cit.cornell.edu
    
    DocumentRoot /global/tc/app/tc12/webapps

    RewriteEngine on
    include /global/tc/app/apache/standard/*.inc
    LogLevel debug

   
    JkMount /* tc12        
    JkUnMount /logs/* tc12 
    JkUnMount /icons/* tc12
    JkUnMount /ajpstatus tc12
#    JkUnMount /coeus/coeus.jnlp tc12
    JkUnMount /coeus/brokers.jar tc12
    JkUnMount /coeus/admin.jar tc12
    JkUnMount /coeus/commonlib.jar tc12
    JkUnMount /coeus/award.jar tc12
    JkUnMount /coeus/centraladmin.jar tc12
    JkUnMount /coeus/proposal.jar tc12
    JkUnMount /coeus/irb.jar tc12
    JkUnMount /coeus/propdev.jar tc12
    JkUnMount /coeus/resources.jar tc12
    JkUnMount /coeus/fop.jar tc12
    JkUnMount /coeus/mapsrules.jar tc12
    JkUnMount /coeus/s2s.jar tc12
    JkUnMount /coeus/avalon-framework-cvs-20020806.jar tc12
    JkUnMount /coeus/batik.jar tc12
    JkUnMount /coeus/jakarta-poi-1.10.0-dev-20030222.jar tc12
    JkUnMount /coeus/questionnaire.jar tc12
    JkUnMount /coeus/mail.jar tc12
    JkUnMount /coeus/routing.jar tc12
    JkUnMount /coeus/umdnjcoeus.jar tc12
    JkUnMount /coeus/jsr173_1.0_api.jar tc12
    JkUnMount /coeus/xbean_xpath.jar tc12
    JkUnMount /coeus/xbean.jar tc12
    JkUnMount /coeus/personalization_swing.jar tc12
    JkUnMount /coeus/coeus-personalization.jar tc12

  <FilesMatch "^\.jar">
    Order allow,deny
    allow from all
  </FilesMatch>

  <FilesMatch "^\.jnlp">
    Order allow,deny
    allow from all
  </FilesMatch>

  <FilesMatch "^\.gif">
    Order allow,deny
    allow from all
  </FilesMatch>

AccessFileName .htaccess
 #
 # The following lines prevent .htaccess and .htpasswd files from being
 # viewed by Web clients.
 #
  <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
  </FilesMatch>
 
 <Location /logs>
    Options Indexes FollowSymLinks Includes
    AuthType all
    AuthName Cornell
    AuthAuthoritative off
    AllowOverride AuthConfig
    require permit cit.ps.orb.Administrators.ColdFusion cit.ps.orb.Administrators.Tomcat.developers
    #require valid-user
#  CUWAproxyAllow all
  </Location>

 

#  <Location />
#    Options FollowSymLinks
#    AllowOverride AuthConfig FileInfo Indexes
#    AuthType all
#    AuthName Cornell
#    AuthAuthoritative off
#    require valid-user
    #require netid nl85 mdo1 jrh28
#  </Location>

</VirtualHost>

<Server port="8135" address="tc12-infp.cit.cornell.edu" shutdown="SHUTDOWN">

  <!-- Comment these entries out to disable JMX MBeans support used for the 
       administration web application -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener" />
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>

  <!-- Global JNDI resources -->
  <GlobalNamingResources>

    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>

    <!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate users -->
    <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>

  <!-- A "Service" is a collection of one or more "Connectors" that share
       a single "Container" (and therefore the web applications visible
       within that Container).  Normally, that Container is an "Engine",
       but this is not required.

       Note:  A "Service" is not itself a "Container", so you may not
       define subcomponents such as "Valves" or "Loggers" at this level.
   -->

  <!-- Define the Tomcat Stand-Alone Service -->
  <Service name="Catalina">

    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->

    <Connector port="8444" address="tc12-infp.cit.cornell.edu" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />


    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8139" address="tc12-infp.cit.cornell.edu" 
               enableLookups="false" tomcatAuthentication="false" redirectPort="8443" protocol="AJP/1.3" />

         
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">

      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase"/>

      <Host name="localhost" appBase="webapps"
       unpackWARs="true" deployXML="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

<Context path="/coeus" debug="0" reloadable="true" crossContext="true">
  <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost__log." suffix=".txt" timestamp="true" /> 
  <Resource name="jdbc/coeus" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@ldap://oidmaster.cit.cornell.edu:389/raisprod,cn=oraclecontext" username="coeus43" password="xxxxxxxxx" maxActive="20" maxIdle="10" maxWait="-1" /> 
  </Context>
      </Host>

    </Engine>

  </Service>

</Server>

Th1st1m3

  • No labels