Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 28069 invoked from network); 26 Oct 2003 17:05:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Oct 2003 17:05:36 -0000 Received: (qmail 81758 invoked by uid 500); 26 Oct 2003 17:05:17 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 81748 invoked by uid 500); 26 Oct 2003 17:05:17 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 81735 invoked from network); 26 Oct 2003 17:05:17 -0000 Received: from unknown (HELO pd4mo2so.prod.shaw.ca) (24.71.223.10) by daedalus.apache.org with SMTP; 26 Oct 2003 17:05:17 -0000 Received: from pd2mr2so.prod.shaw.ca (pd2mr2so-ser.prod.shaw.ca [10.0.141.109]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HND00J39JGVSR@l-daemon> for users@httpd.apache.org; Sun, 26 Oct 2003 10:05:19 -0700 (MST) Received: from pn2ml1so.prod.shaw.ca (pn2ml1so-qfe0.prod.shaw.ca [10.0.121.145]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HND005EIJGVB3@l-daemon> for users@httpd.apache.org; Sun, 26 Oct 2003 10:05:19 -0700 (MST) Received: from shaw.ca (h24-108-118-40.gv.shawcable.net [24.108.118.40]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HND00B9WJGUJR@l-daemon> for users@httpd.apache.org; Sun, 26 Oct 2003 10:05:19 -0700 (MST) Date: Sun, 26 Oct 2003 09:05:18 -0800 From: A Morgan In-reply-to: <3F9B35F9.2010901@shaw.ca> To: users@httpd.apache.org Message-id: <3F9BFECE.3020902@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 References: <3F9B35F9.2010901@shaw.ca> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] apache, tomcat and UserDir's X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I actually have figured it out. I thought I would post what I did. In my httpd.conf file, I set my DirectoryIndex to include index.jsp in the list. I changed the jkMount to: jkMount /*.jsp MainWebWorker But then so apache will find and serve the other files in the default tomcat webapp, I made an Alias for each directory: Alias /include /usr/local/jakarta.../webapps/home/include Alias /images /usr/local/jakarts.../webapps/home/images etc... Now only the *.jsp files are passed to Tomcat so my userdir's are handled by apache like normal. A Morgan wrote: > I am running apache and tomcat. I have configured apache so that all > generic domain requests (www.mydomain.com) are handled by > tomcat--which I want. > In doing this, my user directory requests (www.mydomain.com/~user1) > are now passed to tomcat as well--which I don't want. > I cannot figure out how to set up apache to send the default request > to tomcat but handle requests to user directories. > > > I have apache 2.0.47, tomcat 4.1.27 and using mod_jk. > > > Tomcat is configured in the server.xml to have context: > > and an index.jsp is what gets displayed in this webapp. > > > The apache httpd.conf file has: > jkMount /* MainWebWorker > which triggers the tomcat worker to be called to handle all requests. > > > Is there something I can put before this line so apache will handle > any requests to www.mydomain.com/~* ? > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org