From owner-freebsd-questions Fri Apr 27 12:41:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bcfw1d.bridge.com (bcfw1d.ext.bridge.com [167.76.159.31]) by hub.freebsd.org (Postfix) with ESMTP id BF4E837B423 for ; Fri, 27 Apr 2001 12:41:49 -0700 (PDT) (envelope-from tayers@bridge.com) Received: (from uucp@localhost) by bcfw1d.bridge.com (8.10.2/8.10.2) id f3RJguE07602; Fri, 27 Apr 2001 14:42:56 -0500 (CDT) Received: from (unknown [167.76.56.34]) by bcfw1d via smap (V2.1) id xma007548; Fri, 27 Apr 01 14:42:46 -0500 Received: from mnmailhost (mnmailhost.bridge.com [167.76.155.14]) by mail1srv.bridge.com (8.8.8/8.7.3) with SMTP id OAA19667; Fri, 27 Apr 2001 14:41:34 -0500 (CDT) Received: from 89-7 by mnmailhost (SMI-8.6/SMI-4.1) id PAA29459; Fri, 27 Apr 2001 15:41:18 -0400 To: freebsd-questions@freebsd.org Subject: Re: How to run multiple Apache processes? References: From: Tim Ayers Date: 27 Apr 2001 14:41:15 -0500 In-Reply-To: Jim Freeze's message of "Fri, 27 Apr 2001 15:15:10 -0400 (EDT)" Message-ID: Lines: 37 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "J" == Jim Freeze writes: J> VirtualHosts combined with .htaccess will support multiple J> users each having their own DirectoryIndex, AddType and PHP include J> directory. J> Correct? Exactly. I would set things up such that everything is defined correctly in the config file. None of the directives you mention should change very much. If the user does want to make changes they can put it in an .htaccess file. J> This is very new to me. I always assumed that the apache.conf J> file was read once and not on each access. Well duh, I J> guess that is what .htaccess is for? Yep, .htaccess files are read upon every request (which is the disadvantage, but in reality it's not that big of a deal unless you are getting bajillions of hits per second). Keep asking questions. Apache configuration is very daunting at first. I'm still learning stuff after a couple years at it. There are so many variations and permutations. And the default config file is so d*mn big, it's hard to wade through. Something that might help is to copy the default, and rip out most of the comments and commented out sections and things that seem optional. Then you have a file that is easy to look through and add to. It takes a few (many? ;) iterations to get stuff working, but in the long run I've always found it easier to have a "minimal" config file that I can easily scan. If I want the commentary I look back in the original config. BTW I highly recommend O'Reilly's "Apache: The Definitive Guide". It provides many, many examples. Also the "Apache Pocket Reference" is very handy if you do very much of this stuff. Hope you have a very nice day, :-) Tim Ayers (tayers@bridge.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message