Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 72439 invoked by uid 500); 17 Jan 2003 23:26:41 -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 72428 invoked from network); 17 Jan 2003 23:26:41 -0000 Received: from agape.wingnet.net (206.30.215.2) by daedalus.apache.org with SMTP; 17 Jan 2003 23:26:41 -0000 Received: from david.wingnet.net (makrothumia.wingnet.net [206.30.215.5]) by agape.wingnet.net (8.12.3/8.12.3) with ESMTP id h0HNQlO5059773 for ; Fri, 17 Jan 2003 18:26:48 -0500 (EST) (envelope-from jesse@wingnet.net) Content-Type: text/plain; charset="iso-8859-1" From: Jesse Guardiani Reply-To: jesse@wingnet.net Organization: WingNET To: users@httpd.apache.org Date: Fri, 17 Jan 2003 18:26:46 -0500 User-Agent: KMail/1.4.3 References: <200301171608.48920.jesse@wingnet.net> <200301171718.15237.jesse@wingnet.net> <3E287E5E.1030607@hereintown.net> In-Reply-To: <3E287E5E.1030607@hereintown.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301171826.46908.jesse@wingnet.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] disable virtual host Hey, is that "virtual host directory" thing a feature new in 2.x, or was it available in 1.3 too? I wouldn't mind taking the time to implement that on my own server if it's available on httpd 1.3. I just don't want to upgrade to 2.x yet, since the only thing I really like about it is threading, and I run FreeBSD, so threading isn't an option... Thanks, Jesse On Friday 17 January 2003 17:06, Chris Meadors wrote: > Jesse Guardiani wrote: > > Hmm... Out of all the replies I've gotten, I think I like > > this one the best. Why? > > > > It's scriptable. > > That's the reason I do it. > > > I'd love to actually redirect visitors of said un-paid site > > to a pretty page explaining the situation, but in the end, > > I want to click a button and have 600 users cut off in a > > half second. > > You could create a custom Forbidden error doc that does what ever you w= ant. > > > Granted, I COULD parse the virtual host file and insert a > > redirect or something when a user hasn't paid, but it's so > > much easier to just check and set directory permissions. > > On my new server I may go about it differently. My current machine is > probably a lot like your's, one flat file for all the Virtual hosts. > I've since discovered you can include a directory. I plan on placing a > separate file for each Virtual host in an included directory. Then I > can have these files modified by scripts when I add/delete an account, > or just turn them off for non-payment, I can also have scripts that tur= n > on and off available options for the hosting accounts. > > I don't plan on parsing the files, I'll just write a new one with the > appropriate settings. I'll store the current settings in a separate > file (or as comments at the start of the included file) in a format tha= t > is easier for me to parse in a shell script. --=20 Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact sales@onerateamerica.com for more info. --------------------------------------------------------------------- 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