tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Morgenstein" <jmorgenst...@recommend-it.com>
Subject RE: Default Apache-Tomcat homepage to a JSP file....
Date Wed, 17 Jan 2001 23:53:51 GMT
That may work with Tomcat alone, but I cannot seem to get Apache to take a
URL such as http://192.168.1.24/ and pass this to Tomcat at rec/HomePage.jsp

Any other ideas?

Thanks.

James

-----Original Message-----
From: Damian Penney [mailto:dpenney@islco.com]
Sent: Wednesday, January 17, 2001 6:44 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Default Apache-Tomcat homepage to a JSP file....


You need the welcome-file tag in the webapps web.xml (I just did this a few
hours ago).


<welcome-file-list>
  <welcome-file>
   app/default.jsp
  </welcome-file>
 </welcome-file-list>

Damian

-----Original Message-----
From: James Morgenstein [mailto:jmorgenstein@recommend-it.com]
Sent: Wednesday, January 17, 2001 3:36 PM
To: tomcat-user@jakarta.apache.org
Subject: Default Apache-Tomcat homepage to a JSP file....


All-

I am trying to configure my Apache-Tomcat configuration to use a JSP file in
a subdirectory as the default page for a virtual host.

In my httpd.conf file I have the following:

   <VirtualHost 192.168.1.24>
      DocumentRoot /www/default
      #    RedirectMatch /index.html http://192.168.1.24/rec/HomePage.jsp
      DirectoryIndex rec/HomePage.jsp
   </VirtualHost>

As you can see I've even tried doing this with a Redirect with no luck.
I've also tried /rec/HomePage.jsp to no avail.

FYI, I'm running Apache 1.3.14, Tomcat 3.2, and mod_jk using ajp12.

Anyone had any experience with this problem?

Thanks.

James


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message