Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 99143 invoked from network); 11 Apr 2002 17:28:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Apr 2002 17:28:32 -0000 Received: (qmail 13599 invoked by uid 97); 11 Apr 2002 17:28:17 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 13583 invoked by uid 97); 11 Apr 2002 17:28:17 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 13572 invoked from network); 11 Apr 2002 17:28:16 -0000 Message-ID: <3CB5C7AA.D73020B0@tmdesign.ca> Date: Thu, 11 Apr 2002 13:28:10 -0400 From: Catalin Mihailescu X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en,fr-CA MIME-Version: 1.0 To: Tomcat Users List CC: rsequeira@transentric.com Subject: mod_webapp and *.shtml not working References: Content-Type: multipart/alternative; boundary="------------70ABB397096D072BBBACBB6A" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------70ABB397096D072BBBACBB6A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I'm using a RedHat 7.0 box, Apache/1.3.22, Tomcat 4.0.2 and a site "site-name" that use SSI. I cannot make them to work together (Apache to serve *.shtml and Tomcat serve JUST *.jsp). Can you please tell me what I'm doing wrong and what else should I do to make it work? My server.xml looks like: ______________________ --- _________________________ My httpd.conf looks like: _________________________________ --- LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c --- DirectoryIndex index.shtml index.html index.htm index.php index.php4 index.jsp --- AddIcon /icons/layout.gif .html .shtml .htm .pdf --- AddType text/html .shtml AddHandler server-parsed .shtml --- WebAppConnection warpConnection warp localhost:8008 WebAppInfo /webapp-info --- DocumentRoot /web/site-name/htdocs ServerName 192.168.2.15 LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" TransferLog /web/site-name/logs/access.log ErrorLog /web/site-name/logs/error.log WebAppDeploy biocapital-java warpConnection / ________________________________________ mod_include, mod_mime, mod_cgi are also included and enabled for Apache I also have: $CATALINA_HOME/webapps/site-name -> /web/site-name/htdocs The result is that Apache is complaining that /index.shtml was not found, but all my *.jsp files are properly handled by Tomcat. If I change WebAppDeploy biocapital-java warpConnection / to look like WebAppDeploy biocapital-java warpConnection /something Apache is not complaining, but I'll be no longer capable to read my *.jsp files. Also, if instead *.shtml I use html (other site) in the same setup, everything goes just fine. Can you help, please? Catalin --------------70ABB397096D072BBBACBB6A--