tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arif Tayebali <atayeb...@acom.com>
Subject RE: IF UR ON APACHE + WINNT + TOMCAT...LISTEN UP!
Date Wed, 21 Mar 2001 22:18:22 GMT
I apologize for making the directions high-leve.
 
Good catch!

-----Original Message-----
From: guyr@zephion.net [mailto:guyr@zephion.net]
Sent: Wednesday, March 21, 2001 1:41 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: IF UR ON APACHE + WINNT + TOMCAT...LISTEN UP!



You missed a critical step.  You need to add "index.jsp" as an allowable
default page to the DirectoryIndex entry in httpd.conf.

-----Original Message----- 
From: Arif Tayebali [ mailto:atayebali@acom.com <mailto:atayebali@acom.com>
] 
Sent: Wednesday, March 21, 2001 2:27 PM 
To: 'tomcat-user@jakarta.apache.org' 
Subject: IF UR ON APACHE + WINNT + TOMCAT...LISTEN UP! 
Importance: High 


Hey all u jsp types..whats up? 

If u were woundering how sites use jsp files as their index page like this: 

        www.urtheman.com (takes u to index.jsp) 

listen up. 


1. make sure u turn off tomcat and apache 
        1a. create index.jsp like so: 
        <html> 
      <body> 
      <% 
        out.println("Let me know"); 
      %> 
      </body> 
     </html> 
        
2. make sure u add contect like this: 
        
         <Context path="" 
                 docBase="<location to ur jsp, html, css files on the same 
network drive as Tomcat and Apache>" 
                 crossContext="false" 
                 debug="0" 
                 reloadable="true" > 
        </Context> 

3. make sure u configure Apache to point to that location as well 
4. config mod_jk.conf-auto so that Tomcat and Apache can communicate swiftly


5. Start Tomcat 
6. Start Apache 
7. U can know punch in www.whatever.com (and itll take u to a index.jsp 
file) 

Lemme know if u r stuck! 

software used: 

WinNT4, Apache1.3 + Tomcat3.2 (as services), mod_jk (using ajpv1.3) 

happy programming 


Mime
View raw message