From owner-freebsd-newbies@FreeBSD.ORG Sun Jul 6 00:10:02 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C69B537B401; Sun, 6 Jul 2003 00:10:02 -0700 (PDT) Received: from nezlok.unixathome.org (nezlok.unixathome.org [64.251.88.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72BFE4400D; Sun, 6 Jul 2003 00:10:02 -0700 (PDT) (envelope-from dan@nezlok.unixathome.org) Received: by nezlok.unixathome.org (Postfix, from userid 1000) id 7E0A2AE497; Sun, 6 Jul 2003 00:10:01 -0700 (PDT) From: Dan Langille To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Message-Id: <20030706071001.7E0A2AE497@nezlok.unixathome.org> Date: Sun, 6 Jul 2003 00:10:01 -0700 (PDT) Subject: The FreeBSD Diary: 2003-06-15 - 2003-07-05 X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2003 07:10:03 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts - http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source From owner-freebsd-newbies@FreeBSD.ORG Sun Jul 6 07:24:21 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85B5F37B401 for ; Sun, 6 Jul 2003 07:24:21 -0700 (PDT) Received: from mail022.syd.optusnet.com.au (mail022.syd.optusnet.com.au [210.49.20.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 181374400D for ; Sun, 6 Jul 2003 07:24:20 -0700 (PDT) (envelope-from dlodeiro@optusnet.com.au) Received: from 10.0.0.19 (c16844.rochd3.qld.optusnet.com.au [211.28.125.210]) h66EOIa00370 for ; Mon, 7 Jul 2003 00:24:18 +1000 From: David Lodeiro To: newbies@freebsd.org Date: Mon, 7 Jul 2003 00:23:56 +1000 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307070023.56806.dlodeiro@optusnet.com.au> Subject: DWG and DXF X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2003 14:24:21 -0000 Im after an application that can allow me to open and edit DWG and DXF files Ive tried QCAD and they are meant to be able to open DXF , but not DWG. Can someone tell me of something that can? Thanks David From owner-freebsd-newbies@FreeBSD.ORG Sun Jul 6 07:24:56 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ECF237B405 for ; Sun, 6 Jul 2003 07:24:56 -0700 (PDT) Received: from hotmail.com (bay1-dav73.bay1.hotmail.com [65.54.244.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4701044029 for ; Sun, 6 Jul 2003 07:24:55 -0700 (PDT) (envelope-from taca98@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 6 Jul 2003 07:24:55 -0700 Received: from 66.92.99.129 by bay1-dav73.bay1.hotmail.com with DAV; Sun, 06 Jul 2003 14:24:54 +0000 X-Originating-IP: [66.92.99.129] X-Originating-Email: [taca98@hotmail.com] From: "kanematsu" To: Date: Sun, 6 Jul 2003 10:24:56 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 06 Jul 2003 14:24:55.0215 (UTC) FILETIME=[5EF623F0:01C343CA] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: ports installation error X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kanematsu List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2003 14:24:56 -0000 Hello, I installed jdk14 from /usr/ports/java/jdk14. However, it stopped after = 2 hours with errors. I want to show you error massage but I = don=1B$B!G=1B(Bt know where the log files of error message stored. Thank you, From owner-freebsd-newbies@FreeBSD.ORG Mon Jul 7 09:46:50 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B88BA37B401; Mon, 7 Jul 2003 09:46:50 -0700 (PDT) Received: from ulysse.assemblee-nat.fr (210.reverse49.fmcf.fr [81.1.49.210]) by mx1.FreeBSD.org (Postfix) with SMTP id CDAA643FA3; Mon, 7 Jul 2003 09:46:48 -0700 (PDT) (envelope-from olivier.davy@free.fr) Received: from ulysse.assemblee-nationale.fr ([127.0.0.1]) by ulysse.assemblee-nat.fr (Lotus SMTP MTA v4.6.6 (890.1 7-16-1999)) with SMTP id C1256D5C.005C261A; Mon, 7 Jul 2003 18:46:30 +0200 Received: from free.fr ([10.255.30.2])M2003070718463020589 ; Mon, 07 Jul 2003 18:46:30 +0200 Message-ID: <3F09A36B.6060600@free.fr> Date: Mon, 07 Jul 2003 18:44:27 +0200 From: Olivier DAVY User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en-us, en MIME-Version: 1.0 To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Extended FAT 32 X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 16:46:51 -0000 Hi everybody, I would like to know if it is possible to read windows FAT32 partitions that are in the extended partition with FreeBSD (I got the 5.1) ? Thanks for your attention, olivier -- ---------------------------------- Olivier DAVY ENSIMAG engineer - HEC alumnus E-mail : olivier.davy@free.fr Phone : +33/(0)1.42.67.19.85 ---------------------------------- From owner-freebsd-newbies@FreeBSD.ORG Mon Jul 7 10:23:07 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B10A237B401 for ; Mon, 7 Jul 2003 10:23:07 -0700 (PDT) Received: from zeus.acuson.com (ac17860.acuson.com [157.226.71.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A65543F85 for ; Mon, 7 Jul 2003 10:23:06 -0700 (PDT) (envelope-from DavidJohnson@Siemens.com) Received: from mvaexch02 ([157.226.230.209]:4445 helo=mvaexch02.acuson.com) by zeus.acuson.com with esmtp (Exim 4.14) id 19ZZhc-0001WW-4v; Mon, 07 Jul 2003 10:23:00 -0700 Received: by mvaexch02.acuson.com with Internet Mail Service (5.5.2653.19) id ; Mon, 7 Jul 2003 10:09:52 -0700 Received: from dhcp-46-117.acuson.com ([157.226.46.117]) by mvaexch01.acuson.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id NQS4S9GD; Mon, 7 Jul 2003 10:11:02 -0700 From: Johnson David To: Olivier DAVY , freebsd-newbies@freebsd.org Organization: Siemens Medical Systems Date: Mon, 7 Jul 2003 10:22:17 -0700 User-Agent: KMail/1.5.2 References: <3F09A36B.6060600@free.fr> In-Reply-To: <3F09A36B.6060600@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307071022.17797.DavidJohnson@Siemens.com> X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19ZZhc-0001WW-4v*Ombwzf7EF7k* X-SA-Exim-Scanned: No; SAEximRunCond expanded to false Subject: Re: Extended FAT 32 X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 17:23:08 -0000 On Monday 07 July 2003 09:44 am, Olivier DAVY wrote: > Hi everybody, > > I would like to know if it is possible to read windows FAT32 > partitions that are in the extended partition with FreeBSD (I got > the 5.1) ? Yes. Please consult the FreeBSD FAQ for exact details, as I am posting from the -newbies list, which isn't for technical questions. The specific answer is in FAQ 9.8 (read the note), but a lot of general information on the subject can be found in the Handbook. David From owner-freebsd-newbies@FreeBSD.ORG Mon Jul 7 11:07:47 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74B2837B401 for ; Mon, 7 Jul 2003 11:07:47 -0700 (PDT) Received: from hot.ee (mail.hot.ee [194.126.101.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D8E843FA3 for ; Mon, 7 Jul 2003 11:07:46 -0700 (PDT) (envelope-from hej@hot.ee) Received: from localhost (relay4 [127.0.0.1]) by hot.ee (Postfix) with ESMTP id BC112978BA; Mon, 7 Jul 2003 21:07:44 +0300 (EEST) Received: from hot.ee ([127.0.0.1]) by localhost (relay4 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06807-13; Mon, 7 Jul 2003 21:07:44 +0300 (EEST) Received: from portal1 (portal1 [10.0.0.159]) by hot.ee (Postfix) with SMTP id 3D273978B4; Mon, 7 Jul 2003 21:07:42 +0300 (EEST) Received: by portal1 (sSMTP sendmail emulation); Mon, 7 Jul 2003 21:07:42 +0300 Date: Mon, 7 Jul 2003 21:07:42 +0300 To: freebsd-newbies@freebsd.org From: Mihail Errors-To: X-Mailer: Hot.ee webmail (http://portal.hot.ee) Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <20030707180742.3D273978B4@hot.ee> X-Virus-Scanned: by mail.hot.ee Subject: Solved(partially) default compilation flags X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 18:07:47 -0000 Hi, Recently I have posted a question regarding default compilation flags that are being appended during every build. I've managed to look up the files where those flags are defined (though not all of them, still can't find "-mcpu=pentiumpro") Anyway, here are the paths (on my 5.1-RELEASE): /usr/src/sys/conf/kern.mk /usr/src/sys/conf/kern.pre.mk Hope this info will be of value to someone Cheers, smiha ----------------------------------------- Makarov Muusik esitleb: suvine klubiüritus SUMMER CLUB 19-20.juulil Eesti Näituste Sinises Paviljonis. http://www.makarov.ee/kontserdid.php?id=219 From owner-freebsd-newbies@FreeBSD.ORG Mon Jul 7 12:36:22 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28F5C37B401 for ; Mon, 7 Jul 2003 12:36:22 -0700 (PDT) Received: from web80604.mail.yahoo.com (web80604.mail.yahoo.com [66.218.79.93]) by mx1.FreeBSD.org (Postfix) with SMTP id B23D943FBD for ; Mon, 7 Jul 2003 12:36:21 -0700 (PDT) (envelope-from bangle_bot@yahoo.com) Message-ID: <20030707193621.71252.qmail@web80604.mail.yahoo.com> Received: from [81.182.49.73] by web80604.mail.yahoo.com via HTTP; Mon, 07 Jul 2003 12:36:21 PDT Date: Mon, 7 Jul 2003 12:36:21 -0700 (PDT) From: Bangle Bot To: freebsd-newbies@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: make_deinstall X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 19:36:22 -0000 When I first installed my freeBSD system I thought, that I should install all the ports as well. Now I realize, that it was a dumn idea. So I want to delete all of them. My question is: How can I delete all the pragrams that were aded by sysinstall (pkg_add). So that I won't damage the system. My second question is: How can I delete almost all the programs except some of them. What I would like to specify. My biggest problem is that if I say: $ pkg_delete -r program_name I can't see what the program actually deletes. And because I set the "-r" it deletes all the other programs as well, that are connected to the original program that I specified. How can I make it to write out the actual status, what he is doing? Thanks, __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From owner-freebsd-newbies@FreeBSD.ORG Mon Jul 7 20:57:16 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E412C37B401 for ; Mon, 7 Jul 2003 20:57:16 -0700 (PDT) Received: from mail63.csoft.net (leary.csoft.net [63.111.22.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 0762143FA3 for ; Mon, 7 Jul 2003 20:57:16 -0700 (PDT) (envelope-from matt@setec.nu) Received: (qmail 4826 invoked from network); 8 Jul 2003 03:57:56 -0000 Received: from localhost (HELO setec.nu) (127.0.0.1) by localhost with SMTP; 8 Jul 2003 03:57:56 -0000 Received: from 12.160.161.70 (SquirrelMail authenticated user mpcsetec) by setec.nu with HTTP; Mon, 7 Jul 2003 20:57:56 -0700 (PDT) Message-ID: <3480.12.160.161.70.1057636676.squirrel@setec.nu> Date: Mon, 7 Jul 2003 20:57:56 -0700 (PDT) From: "Matthew P. Carlson" To: freebsd-newbies@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: passwords optional? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 03:57:17 -0000 So I installed FreeBSD 5.1, used cvsup to get freebsd 5.1-current, recompiled, and now logging in locally doesn't require a password, for root or other users. Neither does su. ssh does. Is this normal or ... ? Here's the output of 'uname -a' FreeBSD yellow.setec.nu 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Jul 7 08:19:29 PDT 2003 matt@yellow.setec.nu:/usr/obj/usr/src/sys/MYKERNEL i386 Thanks in advance, Matt From owner-freebsd-newbies@FreeBSD.ORG Mon Jul 7 21:55:39 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA2F837B401 for ; Mon, 7 Jul 2003 21:55:39 -0700 (PDT) Received: from hotmail.com (bay1-dav31.bay1.hotmail.com [65.54.244.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 288A743FBD for ; Mon, 7 Jul 2003 21:55:39 -0700 (PDT) (envelope-from taca98@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 7 Jul 2003 21:55:39 -0700 Received: from 66.92.99.129 by bay1-dav31.bay1.hotmail.com with DAV; Tue, 08 Jul 2003 04:55:38 +0000 X-Originating-IP: [66.92.99.129] X-Originating-Email: [taca98@hotmail.com] From: "kanematsu" To: Date: Tue, 8 Jul 2003 00:55:44 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 08 Jul 2003 04:55:39.0003 (UTC) FILETIME=[2D194CB0:01C3450D] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: ports installation error X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kanematsu List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 04:55:40 -0000 >Hello, > >I installed jdk14 from /usr/ports/java/jdk14. =20 >However, it stopped after 2 hours with errors. =20 >I want to show you error massage but I don=1B$B!G=1B(Bt know where=20 >the log files of error message stored. > >Thank you, I checked /var/log/messages as someone suggested to me, and I found following message: Jul 3 23:14:10 ws kernel: acd0: CDROM = at ata1-master PIO4 Jul 3 23:14:10 ws kernel: Mounting root from ufs:/dev/ad0s1a Jul 3 23:14:12 ws kernel: ohci0: mem 0x82100000-0x82100fff irq 9 at device 2.0 on pci0 Jul 3 23:14:12 ws kernel: usb0: OHCI version 1.0, legacy support Jul 3 23:14:12 ws kernel: usb0: SMM does not respond, resetting Jul 3 23:14:13 ws kernel: usb0: on ohci0 Jul 3 23:14:13 ws kernel: usb0: USB revision 1.0 Jul 3 23:14:13 ws kernel: uhub0: AcerLabs OHCI root hub, class 9/0, rev = 1.00/1.00, addr 1 Jul 3 23:14:13 ws kernel: uhub0: 2 ports with 2 removable, self powered Jul 3 23:14:14 ws ntpd[371]: ntpd 4.1.1b-a Thu Jun 5 00:47:30 GMT 2003 = (1) Jul 3 23:14:14 ws ntpd[371]: kernel time discipline status 2040 Jul 4 03:08:01 ws su: kanem300 to root on /dev/ttyv0 Jul 4 04:31:18 ws kernel: pid 2947 (conftest), uid 0: exited on signal = 10 (core dumped) Jul 4 09:14:27 ws kernel: linux: pid 68840 (glidelink): sysctl {1,23} = is not implemented Jul 4 09:14:28 ws kernel: linux: pid 68840 (glidelink): syscall syslog = not implemented Jul 4 09:14:28 ws kernel: linux: pid 68840 (glidelink): syscall syslog = not implemented Jul 5 10:47:16 ws kernel: swap_pager: out of swap space Jul 5 10:47:17 ws kernel: swap_pager_getswapspace: failed Jul 5 10:47:21 ws kernel: pid 9345 (ld), uid 0, was killed: out of swap = space Does anyone have any idea? Thank you, kanematsu From owner-freebsd-newbies@FreeBSD.ORG Wed Jul 9 17:15:44 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D55637B401 for ; Wed, 9 Jul 2003 17:15:44 -0700 (PDT) Received: from twix.hotpop.com (twix.hotpop.com [204.57.55.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C9A543F85 for ; Wed, 9 Jul 2003 17:15:43 -0700 (PDT) (envelope-from teilhk@phreaker.net) Received: from phreaker.net (kubrick.hotpop.com [204.57.55.16]) by twix.hotpop.com (Postfix) with SMTP id C20CF441516 for ; Thu, 10 Jul 2003 00:15:38 +0000 (UTC) Received: from arlette (dsl-200-95-25-238.prodigy.net.mx [200.95.25.238]) by smtp-1.hotpop.com (Postfix) with SMTP id D1A281A0283 for ; Thu, 10 Jul 2003 00:15:15 +0000 (UTC) Message-ID: <000a01c34678$54e6af50$5868fea9@arlette> From: "Teilhard Knight" To: Date: Wed, 9 Jul 2003 19:15:11 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: The stupidiest question of all X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 00:15:44 -0000 What's the command to enter from the command line to KDE? x-what? Sorry, = I have an ant's memory. Teilhard Knight The Extraterrestrial Who ate my sandwich? From owner-freebsd-newbies@FreeBSD.ORG Wed Jul 9 23:39:48 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F37A37B401 for ; Wed, 9 Jul 2003 23:39:48 -0700 (PDT) Received: from twix.hotpop.com (twix.hotpop.com [204.57.55.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF90E43F85 for ; Wed, 9 Jul 2003 23:39:47 -0700 (PDT) (envelope-from teilhk@phreaker.net) Received: from phreaker.net (kubrick.hotpop.com [204.57.55.16]) by twix.hotpop.com (Postfix) with SMTP id CBAD346F549 for ; Thu, 10 Jul 2003 06:39:39 +0000 (UTC) Received: from arlette (dsl-200-95-25-238.prodigy.net.mx [200.95.25.238]) by smtp-1.hotpop.com (Postfix) with SMTP id AB8671A0227; Thu, 10 Jul 2003 06:39:24 +0000 (UTC) Message-ID: <003c01c346ae$01fa98c0$5868fea9@arlette> From: "Teilhard Knight" To: "Newbies_FreeBSD" , "Tadimeti Keshav" References: <20030710035519.60340.qmail@web60005.mail.yahoo.com> Date: Thu, 10 Jul 2003 01:39:21 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Re: The stupidiest question of all X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 06:39:48 -0000 try startx. Thanks, I just forgot. Teilhard Knight The Extraterrestrial Who ate my sandwich? From owner-freebsd-newbies@FreeBSD.ORG Wed Jul 9 23:42:01 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 641B037B405 for ; Wed, 9 Jul 2003 23:42:01 -0700 (PDT) Received: from babyruth.hotpop.com (babyruth.hotpop.com [204.57.55.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB1C443F93 for ; Wed, 9 Jul 2003 23:42:00 -0700 (PDT) (envelope-from teilhk@phreaker.net) Received: from phreaker.net (kubrick.hotpop.com [204.57.55.16]) by babyruth.hotpop.com (Postfix) with SMTP id 446232103F0 for ; Thu, 10 Jul 2003 06:41:55 +0000 (UTC) Received: from arlette (dsl-200-95-25-238.prodigy.net.mx [200.95.25.238]) by smtp-1.hotpop.com (Postfix) with SMTP id 4CAC61A0229; Thu, 10 Jul 2003 06:41:45 +0000 (UTC) Message-ID: <004901c346ae$55b93200$5868fea9@arlette> From: "Teilhard Knight" To: "Newbies_FreeBSD" , References: <000a01c34678$54e6af50$5868fea9@arlette> <7mdpgvsd1pb3jch1613rfbffh2c9947itt@4ax.com> Date: Thu, 10 Jul 2003 01:41:46 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Re: The stupidiest question of all X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 06:42:01 -0000 ----- Original Message ----- From: "John Murphy" To: "Teilhard Knight" Cc: Sent: Wednesday, July 09, 2003 7:46 PM Subject: Re: The stupidiest question of all "Teilhard Knight" wrote: >What's the command to enter from the command line to KDE? x-what? Sorry, I have an ant's memory. startx But that's providing you have 'startkde' in your .xinitrc Thanks. I can use just startx. I entirely forgot. Maybe I'm getting old, huh? Teilhard Knight The Extraterrestrial Who ate my sandwich? From owner-freebsd-newbies@FreeBSD.ORG Wed Jul 9 23:44:21 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B1C037B401 for ; Wed, 9 Jul 2003 23:44:21 -0700 (PDT) Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D24B43F75 for ; Wed, 9 Jul 2003 23:44:20 -0700 (PDT) (envelope-from teilhk@phreaker.net) Received: from phreaker.net (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id F2D1E704F5 for ; Thu, 10 Jul 2003 06:44:10 +0000 (UTC) Received: from arlette (dsl-200-95-25-238.prodigy.net.mx [200.95.25.238]) by smtp-1.hotpop.com (Postfix) with SMTP id E0DE81A0227; Thu, 10 Jul 2003 06:43:46 +0000 (UTC) Message-ID: <004f01c346ae$9e591d40$5868fea9@arlette> From: "Teilhard Knight" To: "Newbies_FreeBSD" , "Ronny Hippler" References: <20030710013749.18CEF3002F1@mx1.phreaker.net> Date: Thu, 10 Jul 2003 01:43:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Re: The stupidiest question of all X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 06:44:21 -0000 On Wed, 9 Jul 2003 19:15:11 -0500, Teilhard Knight wrote: >What's the command to enter from the command line to KDE? x-what? Sorry, I have an ant's memory. startx perhaps? is that what yer lookin fer? Yes, just that damn little piece of information. By the way, how do you get into Gnome, I have never gone in there. Teilhard Knight The Extraterrestrial Who ate my sandwich? From owner-freebsd-newbies@FreeBSD.ORG Wed Jul 9 23:47:14 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE21A37B405 for ; Wed, 9 Jul 2003 23:47:14 -0700 (PDT) Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EBC043F85 for ; Wed, 9 Jul 2003 23:47:14 -0700 (PDT) (envelope-from teilhk@phreaker.net) Received: from phreaker.net (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id AA86D70597 for ; Thu, 10 Jul 2003 06:47:08 +0000 (UTC) Received: from arlette (dsl-200-95-25-238.prodigy.net.mx [200.95.25.238]) by smtp-1.hotpop.com (Postfix) with SMTP id 726441A022E; Thu, 10 Jul 2003 06:46:23 +0000 (UTC) Message-ID: <005501c346ae$fbaabb70$5868fea9@arlette> From: "Teilhard Knight" To: "Newbies_FreeBSD" , "Jonathan" References: <000a01c34678$54e6af50$5868fea9@arlette> <200307092215.53086.j.e.drews@worldnet.att.net> Date: Thu, 10 Jul 2003 01:46:24 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Re: The stupidiest question of all X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 06:47:15 -0000 > On Wednesday 09 July 2003 7:15 pm, Teilhard Knight wrote: > > What's the command to enter from the command line to KDE? x-what? Sorry, I > > have an ant's memory. > > Hi: > > that would be startx. You must also have ~/.xinitrc setup. To do so do: > > $ echo "exec startkde" > ~/.xinitrc > > $ startx Yes, I have all configured. I have five OS's, and sometimes I live one unattended for some days and my memory doesn't help. How do you get into Gnome? Teilhard Knight The Extraterrestrial Who ate my sandwich? From owner-freebsd-newbies@FreeBSD.ORG Wed Jul 9 23:49:58 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1E5637B401 for ; Wed, 9 Jul 2003 23:49:58 -0700 (PDT) Received: from babyruth.hotpop.com (babyruth.hotpop.com [204.57.55.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1963943F3F for ; Wed, 9 Jul 2003 23:49:58 -0700 (PDT) (envelope-from teilhk@phreaker.net) Received: from phreaker.net (kubrick.hotpop.com [204.57.55.16]) by babyruth.hotpop.com (Postfix) with SMTP id 2064B21068F for ; Thu, 10 Jul 2003 06:49:56 +0000 (UTC) Received: from arlette (dsl-200-95-25-238.prodigy.net.mx [200.95.25.238]) by smtp-1.hotpop.com (Postfix) with SMTP id 054941A0217; Thu, 10 Jul 2003 06:49:16 +0000 (UTC) Message-ID: <008201c346af$626dccd0$5868fea9@arlette> From: "Teilhard Knight" To: "Newbies_FreeBSD" , "Johnson David" References: <000a01c34678$54e6af50$5868fea9@arlette> <200307091727.12390.DavidJohnson@Siemens.com> Date: Thu, 10 Jul 2003 01:49:17 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Re: The stupidiest question of all X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 06:49:59 -0000 > On Wednesday 09 July 2003 05:15 pm, Teilhard Knight wrote: > > What's the command to enter from the command line to KDE? x-what? > > Sorry, I have an ant's memory. > > If you have an .xinitrc file already set up, then the command is simply > "startx". > > (and no, it's not a stupid question, because even Einstein sometimes > forgot where his socks where...) Thanks so much for the lift on my Ego. I thought it was x-something. How do you get into Gnome? Teilhard Knight The Extraterrestrial Who ate my sandwich? From owner-freebsd-newbies@FreeBSD.ORG Thu Jul 10 08:50:06 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 130FE37B401 for ; Thu, 10 Jul 2003 08:50:06 -0700 (PDT) Received: from twix.hotpop.com (twix.hotpop.com [204.57.55.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C8B343FA3 for ; Thu, 10 Jul 2003 08:50:05 -0700 (PDT) (envelope-from xtomservox@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by twix.hotpop.com (Postfix) with SMTP id 171D646D2BB for ; Thu, 10 Jul 2003 15:50:01 +0000 (UTC) Received: from esmith (dca-29-c-210.dca.dsl.cerfnet.com [63.242.170.210]) by smtp-2.hotpop.com (Postfix) with ESMTP id 8B7B7180110 for ; Thu, 10 Jul 2003 15:48:04 +0000 (UTC) From: "Tom Servo" To: Date: Thu, 10 Jul 2003 11:48:07 -0400 Message-ID: <0193271C683D5844A478A359271B8F66147AFB@DC1.dynatec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Packet redirect X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 15:50:06 -0000 Hey- I have a freebsd gateway machine that runs ipfw and nat for my home = network and I want to add a rule that redirects VNC packets through the gateway = to my windows machine so that I can VNC to my home machine to do some = stuff. How should I phrase the rule correctly without screwing up the natd = service? I am guessing it should go something like this: ipfw add 1000 divert 8888 ip from any to 192.168.0.253:5800 via ep1 Is this correct? I need it to only redirect packets for the VNC port. Thanks -ts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "On really romantic nights of self, I go salsa dancing with my = confusion." From owner-freebsd-newbies@FreeBSD.ORG Thu Jul 10 10:21:29 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FAF637B401 for ; Thu, 10 Jul 2003 10:21:29 -0700 (PDT) Received: from xmxpita.excite.com (nn6.excitenetwork.com [207.159.120.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F8543F85 for ; Thu, 10 Jul 2003 10:21:28 -0700 (PDT) (envelope-from greyrain77@excite.com) Received: by xmxpita.excite.com (Postfix, from userid 110) id 44D32B703; Thu, 10 Jul 2003 13:21:24 -0400 (EDT) To: freebsd-newbies@freebsd.org Received: from [205.172.203.104] by xprdmailfe17.nwk.excite.com via HTTP; Thu, 10 Jul 2003 13:21:24 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = 140c8e98d573a6fb100ed634508b5744 From: "Eric B." MIME-Version: 1.0 X-Sender: greyrain77@excite.com X-Mailer: PHP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Message-Id: <20030710172124.44D32B703@xmxpita.excite.com> Date: Thu, 10 Jul 2003 13:21:24 -0400 (EDT) Subject: Question - startx, KDE X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: greyrain77@excite.com List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 17:21:29 -0000 Hello, I am not only a FreeBSD newbie but I am also a newbie to this list. If this is not the correct place to ask quetions like the one below please advise and I will follow. Thanks. I have FreeBSD 5.1 installed, I know the startx command and am familiar with using it from Mandrak-Linux. However, when I use the startx command with FreeBSD it gives me an X-Window environment. What file do I have to configure to have KDE start by using the startx command and how do I configure it? Thanks for all of your help and response in advance. Eric _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From owner-freebsd-newbies@FreeBSD.ORG Thu Jul 10 10:27:55 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75EB637B401 for ; Thu, 10 Jul 2003 10:27:55 -0700 (PDT) Received: from pcaxs04.petro-canada.ca (pcx1.petro-canada.ca [209.82.98.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF4E443F3F for ; Thu, 10 Jul 2003 10:27:54 -0700 (PDT) (envelope-from STimms@petro-canada.ca) Received: by pcaxs04-e.pcacorp.net with Internet Mail Service (5.5.2653.19) id ; Thu, 10 Jul 2003 11:27:50 -0600 Message-ID: From: "Timms, Simon" To: "'greyrain77@excite.com'" , freebsd-newbies@freebsd.org Date: Thu, 10 Jul 2003 11:27:49 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: RE: Question - startx, KDE X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 17:27:55 -0000 Hi, welcome to FreeBSD! Take a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html. The long and short of it is make sure you have KDE installed and then = do echo "exec startkde" > ~/.xinitrc Now when you run startx KDE should launch automatically. The FreeBSD handbook is a wonderful resource and can be found at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html, = most of your questions can be answered by reading it.=20 =20 -----Original Message----- From: Eric B. [mailto:greyrain77@excite.com] Sent: Thursday, July 10, 2003 11:21 AM To: freebsd-newbies@freebsd.org Subject: Question - startx, KDE Hello, I am not only a FreeBSD newbie but I am also a newbie to this list. If = this is not the correct place to ask quetions like the one below please = advise and I will follow. Thanks. I have FreeBSD 5.1 installed, I know the startx command and am familiar = with using it from Mandrak-Linux. However, when I use the startx command = with FreeBSD it gives me an X-Window environment. What file do I have to configure to have KDE start by using the startx command and how do I configure it? Thanks for all of your help and response in advance. Eric _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! _______________________________________________ freebsd-newbies@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to = "freebsd-newbies-unsubscribe@freebsd.org" ******************** This email communication is intended as a private communication for the = sole use of the primary addressee and those individuals listed for copies in = the original message. The information contained in this email is private = and confidential and if you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or = distribution of this communication by any means is prohibited. If you are not = specifically authorized to receive this email and if you believe that you received = it in error please notify the original sender immediately. We honour similar requests relating to the privacy of email communications. Cette communication par courrier =E9lectronique est une communication = priv=E9e =E0 l'usage exclusif du destinataire principal ainsi que des personnes dont = les noms figurent en copie. Les renseignements contenus dans ce courriel = sont confidentiels et si vous n'=EAtes pas le destinataire pr=E9vu, vous = =EAtes avis=E9, par les pr=E9sentes que toute reproduction, tout transfert ou toute = autre forme de diffusion de cette communication par quelque moyen que ce soit = est interdit. Si vous n'=EAtes pas sp=E9cifiquement autoris=E9 =E0 = recevoir ce courriel ou si vous croyez l'avoir re=E7u par erreur, veuillez en aviser = l'exp=E9diteur original imm=E9diatement. Nous respectons les demandes similaires qui touchent la confidentialit=E9 des communications par courrier = =E9lectronique. From owner-freebsd-newbies@FreeBSD.ORG Thu Jul 10 10:34:47 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E2D337B401 for ; Thu, 10 Jul 2003 10:34:47 -0700 (PDT) Received: from zeus.acuson.com (ac17860.acuson.com [157.226.71.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76B1043FA3 for ; Thu, 10 Jul 2003 10:34:46 -0700 (PDT) (envelope-from DavidJohnson@Siemens.com) Received: from mvaexch02 ([157.226.230.209]:2775 helo=mvaexch02.acuson.com) by zeus.acuson.com with esmtp (Exim 4.14) id 19afJc-00006a-4O; Thu, 10 Jul 2003 10:34:44 -0700 Received: by mvaexch02.acuson.com with Internet Mail Service (5.5.2653.19) id ; Thu, 10 Jul 2003 10:21:29 -0700 Received: from dhcp-46-117.acuson.com ([157.226.46.117]) by mvaexch01.acuson.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id NQS44V1V; Thu, 10 Jul 2003 10:22:43 -0700 From: Johnson David To: greyrain77@excite.com, freebsd-newbies@freebsd.org Organization: Siemens Medical Systems Date: Thu, 10 Jul 2003 10:34:05 -0700 User-Agent: KMail/1.5.2 References: <20030710172124.44D32B703@xmxpita.excite.com> In-Reply-To: <20030710172124.44D32B703@xmxpita.excite.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307101034.05193.DavidJohnson@Siemens.com> X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19afJc-00006a-4O*fhe6XjOJF8Y* X-SA-Exim-Scanned: No; SAEximRunCond expanded to false Subject: Re: SPAM: 03.40: Question - startx, KDE X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 17:34:47 -0000 On Thursday 10 July 2003 10:21 am, Eric B. wrote: > I have FreeBSD 5.1 installed, I know the startx command and am > familiar with using it from Mandrak-Linux. However, when I use the > startx command with FreeBSD it gives me an X-Window environment. What > file do I have to configure to have KDE start by using the startx > command and how do I configure it? KDE runs under the X Window System (XFree86). So everything is working the way it should. The only thing left is to tell the X Window System that you want to use KDE instead of the default twm. This list is not supposed to ask technical questions, so I can't give you a technical answer. But I can direct you to the FreeBSD Handbook, section 5.7.2.2, which tells you everything you need to know. The Handbook is online at and if you installed it, locally at . David From owner-freebsd-newbies@FreeBSD.ORG Thu Jul 10 20:45:29 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B97D137B401 for ; Thu, 10 Jul 2003 20:45:29 -0700 (PDT) Received: from fed1mtao04.cox.net (fed1mtao04.cox.net [68.6.19.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C8D143F85 for ; Thu, 10 Jul 2003 20:45:29 -0700 (PDT) (envelope-from cottonlt@mac.com) Received: from mac.com ([68.105.141.6]) by fed1mtao04.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030711034528.IVPT5248.fed1mtao04.cox.net@mac.com> for ; Thu, 10 Jul 2003 23:45:28 -0400 Mime-Version: 1.0 (Apple Message framework v578) Content-Transfer-Encoding: quoted-printable Message-Id: <1D0EFCEF-B352-11D7-9854-000393D42F48@mac.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed To: freebsd-newbies@freebsd.org From: Cotton Date: Thu, 10 Jul 2003 20:45:28 -0700 X-Mailer: Apple Mail (2.578) Subject: FreeBSD/XFree questions X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 03:45:30 -0000 Hey all, First off, my *nix experience=85 I=92ve run a few different distros on = the=20 mac and PC just checking stuff out, but never full-time =96 definitely=20= still a newbie. I have an old P166 here that I want to set up as a=20 headless file server (mp3s, divx, documents)/web server/sendmail et al=85=20= it won=92t be hit too hard, anyway. Will an old P166/64mb 66mhz SDRAM run FreeBSD 5.1 with X/KDE/Gnome ok?=20= Or should I forget about the GUI and just control it through ssh? I was hoping XFree would be useable, so I could run some apps remotely=20= using Apple=92s X11 on OS X. Which leads to question #2=85 how does one = run=20 an X application remotely like that, and have just the GUI on the local=20= box? The machines would be on the same subnet 192.168.1.x, with the=20 FreeBSD box on an Ethernet interface and the Powermac (1.25 ghz=20 duallie) on 802.11g. Thanks for any suggestions! Cotton= From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 11 02:15:12 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78A4E37B401 for ; Fri, 11 Jul 2003 02:15:12 -0700 (PDT) Received: from archimedes.rsn.bth.se (archimedes.rsn.bth.se [194.47.145.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 734BD43F85 for ; Fri, 11 Jul 2003 02:15:11 -0700 (PDT) (envelope-from defacto@home.se) Received: from jarl.home.se (as4-3-5.paa.hs.bonet.se [217.215.11.194]) by archimedes.rsn.bth.se (8.12.6/8.12.6) with ESMTP id h6BA0oFU015461; Fri, 11 Jul 2003 12:00:50 +0200 (CEST) (envelope-from defacto@home.se) Message-Id: <5.2.1.1.0.20030711110523.02f0fdd0@archimedes.rsn.bth.se> X-Sender: jalle@archimedes.rsn.bth.se (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Fri, 11 Jul 2003 11:16:58 +0200 To: Cotton , freebsd-newbies@freebsd.org From: Jalle In-Reply-To: <1D0EFCEF-B352-11D7-9854-000393D42F48@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: FreeBSD/XFree questions X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 09:15:12 -0000 At 20:45 2003-07-10 -0700, Cotton wrote: >Hey all, > >First off, my *nix experience=85 I=92ve run a few different distros on the= mac=20 >and PC just checking stuff out, but never full-time =AD definitely still a= =20 >newbie. I have an old P166 here that I want to set up as a headless file=20 >server (mp3s, divx, documents)/web server/sendmail et al=85 it won=92t be= hit=20 >too hard, anyway. You're at the right place, FreeBSD is your friend in this matter! =3Do) >Will an old P166/64mb 66mhz SDRAM run FreeBSD 5.1 with X/KDE/Gnome ok? Or= =20 >should I forget about the GUI and just control it through ssh? If I were you, I'd think twice about X. It's hard to tell exactly how it=20 will run. But you can always try it just for fun, you'll learn a lot! I=20 know I did! =3Do) As for Gnome/KDE... Nonono!!! I'm sorry, but these monsters are slow enough= =20 on my PIII 800 with loads of memory! Try a window manager instead (ie, not= =20 a desktop environment, just the wm), some highly recommended are blackbox=20 and fluxbox. Controlling it via SSH is easy if your X experiments should fail. And=20 effective! >I was hoping XFree would be useable, so I could run some apps remotely=20 >using Apple=92s X11 on OS X. Which leads to question #2=85 how does one run= an=20 >X application remotely like that, and have just the GUI on the local box?= =20 >The machines would be on the same subnet 192.168.1.x, with the FreeBSD box= =20 >on an Ethernet interface and the Powermac (1.25 ghz duallie) on 802.11g. If you are not interested in running a full desktop from your server (XDMCP= =20 I would guess), I'd suggest you try X over SSH (ssh -X) Google around and you will find some useful stuff on this. I can't tell you= =20 how well/bad it interacts with OS X though. >Thanks for any suggestions! When I did what you are attempting to do now I really enjoyed it, and I=20 learned bigtime useful stuff! Good luck! /J >Cotton >_______________________________________________ >freebsd-newbies@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-newbies >To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" > From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 11 05:04:35 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6A3837B401 for ; Fri, 11 Jul 2003 05:04:35 -0700 (PDT) Received: from mail1.uits.uconn.edu (mail1.uits.uconn.edu [137.99.25.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD50143FBF for ; Fri, 11 Jul 2003 05:04:34 -0700 (PDT) (envelope-from matt@forsetti.com) Received: from forsetti.com (d80h149.public.uconn.edu [137.99.80.149]) by mail1.uits.uconn.edu (8.11.6/8.11.6) with ESMTP id h6BC3fu09844; Fri, 11 Jul 2003 08:03:41 -0400 Message-ID: <3F0EA799.8030209@forsetti.com> Date: Fri, 11 Jul 2003 08:03:37 -0400 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jalle References: <5.2.1.1.0.20030711110523.02f0fdd0@archimedes.rsn.bth.se> In-Reply-To: <5.2.1.1.0.20030711110523.02f0fdd0@archimedes.rsn.bth.se> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: cc: Cotton cc: freebsd-newbies@freebsd.org Subject: Re: FreeBSD/XFree questions X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 12:04:36 -0000 > >> I was hoping XFree would be useable, so I could run some apps >> remotely using Apple’s X11 on OS X. Which leads to question #2… how >> does one run an X application remotely like that, and have just the >> GUI on the local box? The machines would be on the same subnet >> 192.168.1.x, with the FreeBSD box on an Ethernet interface and the >> Powermac (1.25 ghz duallie) on 802.11g. > > > If you are not interested in running a full desktop from your server > (XDMCP I would guess), I'd suggest you try X over SSH (ssh -X) > Google around and you will find some useful stuff on this. I can't > tell you how well/bad it interacts with OS X though. Exporting X clients from FreeBSD to your Apple's X11 server works great, either natively (xhost, $DISPLAY) or over SSH (ssh -X hostname). The quartz_wm window manager Apple provides integrates your X clients beatifully, using the same window decorations and management as Apple's native interface. Very seamless integration. I suggest trying the ssh -X method first (less work) -- simply ssh from your OSX/X11 terminal to your FreeBSD box, using "ssh -x username@my.freebsd.com". Once your ssh session is started, simply run an X client, like "xterm" to see if the connection works. If it does, then any X client (Nautilus, Gnome, KDE, NetBeans, OpenOffice.org, etc) will work. You may have to change your sshd config on the FreeBSD side to all X11 Forwarding. Emjoy! -Matt From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 11 07:20:14 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B01E37B436 for ; Fri, 11 Jul 2003 07:20:14 -0700 (PDT) Received: from hotmail.com (law8-f58.law8.hotmail.com [216.33.241.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1517D43FB1 for ; Fri, 11 Jul 2003 07:20:14 -0700 (PDT) (envelope-from easlyneanar@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 11 Jul 2003 07:20:13 -0700 Received: from 67.69.202.18 by lw8fd.law8.hotmail.msn.com with HTTP; Fri, 11 Jul 2003 14:20:13 GMT X-Originating-IP: [67.69.202.18] X-Originating-Email: [easlyneanar@hotmail.com] From: "easlyneanar lorennan" To: freebsd-newbies@freebsd.org Date: Fri, 11 Jul 2003 14:20:13 +0000 Message-ID: X-OriginalArrivalTime: 11 Jul 2003 14:20:13.0900 (UTC) FILETIME=[8B59A0C0:01C347B7] MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Xfree Geforce 256 and viewsonic E790 , problem :( X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 14:20:14 -0000 hi, i got some trouble to setup my xfree server I have a GeForce 256 32 meg ram ddr, and monitor viewsonic E790 I tried the drivers Geforce 256 from xfree, and i tried all kind of monitor and setup my personnal setting for my monitor with the stat from the book of the monitor. And it nevers works. I'm out of idea, if someone can help me. :) thanks _________________________________________________________________ STOP MORE SPAM with [1]the new MSN 8 and get 2 months FREE* References 1. http://g.msn.com/8HMMEN/2728??PS= From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 11 08:56:56 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44F0637B401 for ; Fri, 11 Jul 2003 08:56:56 -0700 (PDT) Received: from web80604.mail.yahoo.com (web80604.mail.yahoo.com [66.218.79.93]) by mx1.FreeBSD.org (Postfix) with SMTP id F3C0E43FAF for ; Fri, 11 Jul 2003 08:56:51 -0700 (PDT) (envelope-from bangle_bot@yahoo.com) Message-ID: <20030711155650.41933.qmail@web80604.mail.yahoo.com> Received: from [81.182.48.137] by web80604.mail.yahoo.com via HTTP; Fri, 11 Jul 2003 08:56:50 PDT Date: Fri, 11 Jul 2003 08:56:50 -0700 (PDT) From: Bangle Bot To: freebsd-newbies@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: php4 X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 15:56:56 -0000 Hi, I installed php4 from the ports collection. Everything worked great, but when I looked at a php page in my browser only the source came out and didn't start the php program. Is it a problem if i didn't compile php3? Of course I restarted apache after the install... Please help. Here is my httpd.conf file: ## ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # After this file is processed, the server will look for and process # /usr/local/conf/srm.conf and then /usr/local/conf/access.conf # unless you have overridden these with ResourceConfig and/or # AccessConfig directives here. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "/usr/local/apache" will be interpreted by the # server as "/usr/local/apache/logs/foo.log". # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at ); # you will save yourself a lot of trouble. # ServerRoot "/usr/local" # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /var/run/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /var/run/httpd.scoreboard # # In the standard configuration, the server will process httpd.conf (this # file, specified by the -f command line option), srm.conf, and access.conf # in that order. The latter two files are now distributed empty, as it is # recommended that all directives be kept in a single file for simplicity. # The commented-out values below are the built-in defaults. You can have the # server ignore these files altogether by using "/dev/null" (for Unix) or # "nul" (for Win32) for the arguments to the directives. # ResourceConfig /dev/null AccessConfig /dev/null # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 # # Server-pool size regulation. Rather than making you guess how many # server processes you need, Apache dynamically adapts to the load it # sees --- that is, it tries to maintain enough server processes to # handle the current load, plus a few spare servers to handle transient # load spikes (e.g., multiple simultaneous requests from a single # Netscape browser). # # It does this by periodically checking how many servers are waiting # for a request. If there are fewer than MinSpareServers, it creates # a new spare. If there are more than MaxSpareServers, some of the # spares die off. The default values are probably OK for most sites. # MinSpareServers 5 MaxSpareServers 10 # # Number of servers to start initially --- should be a reasonable ballpark # figure. # StartServers 5 # # Limit on total number of servers running, i.e., limit on the number # of clients who can simultaneously connect --- if this limit is ever # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW. # It is intended mainly as a brake to keep a runaway server from taking # the system with it as it spirals down... # MaxClients 150 # # MaxRequestsPerChild: the number of requests each child process is # allowed to process before the child dies. The child will exit so # as to avoid problems after prolonged use when Apache (and maybe the # libraries it uses) leak memory or other resources. On most systems, this # isn't really needed, but a few (such as Solaris) do have notable leaks # in the libraries. For these platforms, set to something like 10000 # or so; a setting of 0 means unlimited. # # NOTE: This value does not include keepalive requests after the initial # request per connection. For example, if a child process handles # an initial request and 10 subsequent "keptalive" requests, it # would only count as 1 request towards this limit. # MaxRequestsPerChild 0 # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the # directive. # #Listen 3000 #Listen 12.34.56.78:80 # # BindAddress: You can support virtual hosts with this option. This directive # is used to tell the server which IP address to listen to. It can either # contain "*", an IP address, or a fully qualified Internet domain name. # See also the and Listen directives. # #BindAddress * # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Please read the file http://httpd.apache.org/docs/dso.html for more # details about the DSO mechanism and run `httpd -l' for the list of already # built-in (statically linked and thus always available) modules in your httpd # binary. # # Note: The order in which modules are loaded is important. Don't change # the order below without expert advice. # # Example: # LoadModule foo_module libexec/mod_foo.so LoadModule mmap_static_module libexec/apache/mod_mmap_static.so LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so LoadModule env_module libexec/apache/mod_env.so LoadModule define_module libexec/apache/mod_define.so LoadModule config_log_module libexec/apache/mod_log_config.so LoadModule mime_magic_module libexec/apache/mod_mime_magic.so LoadModule mime_module libexec/apache/mod_mime.so LoadModule negotiation_module libexec/apache/mod_negotiation.so LoadModule status_module libexec/apache/mod_status.so LoadModule info_module libexec/apache/mod_info.so LoadModule includes_module libexec/apache/mod_include.so LoadModule autoindex_module libexec/apache/mod_autoindex.so LoadModule dir_module libexec/apache/mod_dir.so LoadModule cgi_module libexec/apache/mod_cgi.so LoadModule asis_module libexec/apache/mod_asis.so LoadModule imap_module libexec/apache/mod_imap.so LoadModule action_module libexec/apache/mod_actions.so LoadModule speling_module libexec/apache/mod_speling.so LoadModule userdir_module libexec/apache/mod_userdir.so LoadModule alias_module libexec/apache/mod_alias.so LoadModule rewrite_module libexec/apache/mod_rewrite.so LoadModule access_module libexec/apache/mod_access.so LoadModule auth_module libexec/apache/mod_auth.so LoadModule anon_auth_module libexec/apache/mod_auth_anon.so LoadModule db_auth_module libexec/apache/mod_auth_db.so LoadModule digest_module libexec/apache/mod_digest.so LoadModule proxy_module libexec/apache/libproxy.so LoadModule cern_meta_module libexec/apache/mod_cern_meta.so LoadModule expires_module libexec/apache/mod_expires.so LoadModule headers_module libexec/apache/mod_headers.so LoadModule usertrack_module libexec/apache/mod_usertrack.so LoadModule unique_id_module libexec/apache/mod_unique_id.so LoadModule setenvif_module libexec/apache/mod_setenvif.so LoadModule ssl_module libexec/apache/libssl.so LoadModule php4_module libexec/apache/libphp4.so # Reconstruction of the complete module list from all available modules # (static and shared ones) to achieve correct module execution order. # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] ClearModuleList AddModule mod_mmap_static.c AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_define.c AddModule mod_log_config.c AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_status.c AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_auth_anon.c AddModule mod_auth_db.c AddModule mod_digest.c AddModule mod_proxy.c AddModule mod_cern_meta.c AddModule mod_expires.c AddModule mod_headers.c AddModule mod_usertrack.c AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_ssl.c AddModule mod_php4.c # # ExtendedStatus controls whether Apache will generate "full" status # information (ExtendedStatus On) or just basic information (ExtendedStatus # Off) when the "server-status" handler is called. The default is Off. # #ExtendedStatus On ### Section 2: 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # definition. These values also provide defaults for # any containers you may define later in the file. # # All of these directives may appear inside containers, # in which case these default settings will be overridden for the # virtual host being defined. # # # If your ServerType directive (set earlier in the 'Global Environment' # section) is set to "inetd", the next few directives don't have any # effect since their settings are defined by the inetd configuration. # Skip ahead to the ServerAdmin directive. # # # Port: The port to which the standalone server listens. For # ports < 1023, you will need httpd to be run as root initially. # Port 80 ## ## SSL Support ## ## When we also provide SSL we have to listen to the ## standard HTTP port (see above) and to the HTTPS port ## Listen 80 Listen 443 # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group www on these systems! # User www Group www # # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. # ServerAdmin contact@myserver.com # # ServerName allows you to set a host name which is sent back to clients for # your server if it's different than the one the program would get (i.e., use # "www" instead of the host's real name). # # Note: You cannot just invent host names and hope they work. The name you # define here must be a valid DNS name for your host. If you don't understand # this, ask your network administrator. # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address (e.g., http://123.45.67.89/) # anyway, and this will make redirections work in a sensible way. # # 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your # machine always knows itself by this address. If you use Apache strictly for # local testing and development, you may use 127.0.0.1 as the server name. # ServerName www.myserver.com # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/usr/local/www/data" # # Each directory to which Apache has access, can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # permissions. # Options FollowSymLinks AllowOverride None # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # # # This may also be "None", "All", or any combination of "Indexes", # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # Options Indexes FollowSymLinks MultiViews # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all # # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is received. # UserDir web # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # # # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # # # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.php index.php3 index.html DirectoryIndex index.php3 index.html DirectoryIndex index.php index.html DirectoryIndex index.html # # AccessFileName: The name of the file to look for in each directory # for access control information. # AccessFileName .htaccess # # The following lines prevent .htaccess files from being viewed by # Web clients. Since .htaccess files often contain authorization # information, access is disallowed for security reasons. Comment # these lines out if you want Web visitors to see the contents of # .htaccess files. If you change the AccessFileName directive above, # be sure to make the corresponding changes here. # # Also, folks tend to use names such as .htpasswd for password # files, so this will protect those as well. # Order allow,deny Deny from all Satisfy All # # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each # document that was negotiated on the basis of content. This asks proxy # servers not to cache the document. Uncommenting the following line disables # this behavior, and proxies will be allowed to cache the documents. # #CacheNegotiatedDocs # # UseCanonicalName: (new for 1.3) With this setting turned on, whenever # Apache needs to construct a self-referencing URL (a URL that refers back # to the server the response is coming from) it will use ServerName and # Port to form a "canonical" name. With this setting off, Apache will # use the hostname:port that the client supplied, when possible. This # also affects SERVER_NAME and SERVER_PORT in CGI scripts. # UseCanonicalName On # # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # TypesConfig /usr/local/etc/apache/mime.types # # DefaultType is the default MIME type the server will use for a document # if it cannot otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text/plain" is # a good value. If most of your content is binary, such as applications # or images, you may want to use "application/octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType text/plain # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # mod_mime_magic is not part of the default server (you have to add # it yourself with a LoadModule [see the DSO paragraph in the 'Global # Environment' section], or recompile the server and include mod_mime_magic # as part of the configuration), so it's enclosed in an container. # This means that the MIMEMagicFile directive will only be processed if the # module is part of the server. # MIMEMagicFile /usr/local/etc/apache/magic # # HostnameLookups: Log the names of clients or just their IP addresses # e.g., www.apache.org (on) or 204.62.129.132 (off). # The default is off because it'd be overall better for the net if people # had to knowingly turn this feature on, since enabling it means that # each client request will result in AT LEAST one lookup request to the # nameserver. # HostnameLookups Off # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # ErrorLog /var/log/httpd-error.log # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a # container, they will be logged here. Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # #CustomLog /var/log/httpd-access.log common # # If you would like to have agent and referer logfiles, uncomment the # following directives. # #CustomLog /var/log/httpd-referer.log referer #CustomLog /var/log/httpd-agent.log agent # # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # CustomLog /var/log/httpd-access.log combined # # Optionally add a line containing the server version and virtual host # name to server-generated pages (error documents, FTP directory listings, # mod_status and mod_info output etc., but not CGI generated documents). # Set to "EMail" to also include a mailto: link to the ServerAdmin. # Set to one of: On | Off | EMail # ServerSignature On # EBCDIC configuration: # (only for mainframes using the EBCDIC codeset, currently one of: # Fujitsu-Siemens' BS2000/OSD, IBM's OS/390 and IBM's TPF)!! # The following default configuration assumes that "text files" # are stored in EBCDIC (so that you can operate on them using the # normal POSIX tools like grep and sort) while "binary files" are # stored with identical octets as on an ASCII machine. # # The directives are evaluated in configuration file order, with # the EBCDICConvert directives applied before EBCDICConvertByType. # # If you want to have ASCII HTML documents and EBCDIC HTML documents # at the same time, you can use the file extension to force # conversion off for the ASCII documents: # > AddType text/html .ahtml # > EBCDICConvert Off=InOut .ahtml # # EBCDICConvertByType On=InOut text/* message/* multipart/* # EBCDICConvertByType On=In application/x-www-form-urlencoded # EBCDICConvertByType On=InOut application/postscript model/vrml # EBCDICConvertByType Off=InOut */* # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # Alias /icons/ "/usr/local/www/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # This Alias will project the on-line documentation tree under /manual/ # even if you change the DocumentRoot. Comment it if you don't want to # provide access to the on-line documentation. # Alias /manual/ "/usr/local/share/doc/apache/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" # # "/usr/local/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all # End of aliases. # # Redirect allows you to tell clients about documents which used to exist in # your server's namespace, but do not anymore. This allows you to tell the # clients where to look for the relocated document. # Format: Redirect old-URI new-URL # # # Directives controlling the display of server-generated directory listings. # # # FancyIndexing is whether you want fancy directory indexing or standard # IndexOptions FancyIndexing # # AddIcon* directives tell the server which icon to show for different # files or filename extensions. These are only displayed for # FancyIndexed directories. # AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ # # DefaultIcon is which icon to show for files which do not have an icon # explicitly set. # DefaultIcon /icons/unknown.gif # # AddDescription allows you to place a short description after a file in # server-generated indexes. These are only displayed for FancyIndexed # directories. # Format: AddDescription "description" filename # #AddDescription "GZIP compressed document" .gz #AddDescription "tar archive" .tar #AddDescription "GZIP compressed tar archive" .tgz # # ReadmeName is the name of the README file the server will look for by # default, and append to directory listings. # # HeaderName is the name of a file which should be prepended to # directory indexes. # # If MultiViews are amongst the Options in effect, the server will # first look for name.html and include it if found. If name.html # doesn't exist, the server will then look for name.txt and include # it as plaintext if found. # ReadmeName README HeaderName HEADER # # IndexIgnore is a set of filenames which directory indexing should ignore # and not include in the listing. Shell-style wildcarding is permitted. # IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t # End of indexing directives. # # Document types. # # # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress # information on the fly. Note: Not all browsers support this. # Despite the name similarity, the following Add* directives have nothing # to do with the FancyIndexing customization directives above. # AddEncoding x-compress Z AddEncoding x-gzip gz tgz # # AddLanguage allows you to specify the language of a document. You can # then use content negotiation to give a browser a file in a language # it can understand. # # Note 1: The suffix does not have to be the same as the language # keyword --- those with documents in Polish (whose net-standard # language code is pl) may wish to use "AddLanguage pl .po" to # avoid the ambiguity with the common suffix for perl scripts. # # Note 2: The example entries below illustrate that in quite # some cases the two character 'Language' abbreviation is not # identical to the two character 'Country' code for its country, # E.g. 'Danmark/dk' versus 'Danish/da'. # # Note 3: In the case of 'ltz' we violate the RFC by using a three char # specifier. But there is 'work in progress' to fix this and get # the reference data for rfc1766 cleaned up. # # Danish (da) - Dutch (nl) - English (en) - Estonian (ee) # French (fr) - German (de) - Greek-Modern (el) # Italian (it) - Korean (kr) - Norwegian (no) - Norwegian Nynorsk (nn) # Portugese (pt) - Luxembourgeois* (ltz) # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz) # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) # Russian (ru) # AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage nn .nn AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .sv AddLanguage cz .cz AddLanguage ru .ru AddLanguage zh-tw .tw AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 # LanguagePriority allows you to give precedence to some languages # in case of a tie during content negotiation. # # Just list the languages in decreasing order of preference. We have # more or less alphabetized them here. You probably want to change this. # LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps # # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # AddType application/x-tar .tgz AddType image/x-icon .ico # # AddHandler allows you to map certain file extensions to "handlers", # actions unrelated to filetype. These can be either built into the server # or added with the Action command (see below) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # #AddHandler cgi-script .cgi # # To use server-parsed HTML files # #AddType text/html .shtml #AddHandler server-parsed .shtml # # Uncomment the following line to enable Apache's send-asis HTTP file # feature # #AddHandler send-as-is asis # # If you wish to use server-parsed imagemap files, use # #AddHandler imap-file map # # To enable type maps, you might want to use # #AddHandler type-map var # End of document types. # # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for oft-used CGI file processors. # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location # # # MetaDir: specifies the name of the directory in which Apache can find # meta information files. These files contain additional HTTP headers # to include when sending the document # #MetaDir .web # # MetaSuffix: specifies the file name suffix for the file containing the # meta information. # #MetaSuffix .meta # # Customizable error response (Apache style) # these come in three flavors # # 1) plain text #ErrorDocument 500 "The server made a boo boo. # n.b. the single leading (") marks it as text, it does not get output # # 2) local redirects #ErrorDocument 404 /missing.html # to redirect to local URL /missing.html #ErrorDocument 404 /cgi-bin/missing_handler.pl # N.B.: You can redirect to a script or a document using server-side-includes. # # 3) external redirects #ErrorDocument 402 http://some.other-server.com/subscription_info.html # N.B.: Many of the environment variables associated with the original # request will *not* be available to such a script. # # Customize behaviour based on the browser # # # The following directives modify normal HTTP response behavior. # The first directive disables keepalive for Netscape 2.x and browsers that # spoof it. There are known problems with these browser implementations. # The second directive is for Microsoft Internet Explorer 4.0b2 # which has a broken HTTP/1.1 implementation and does not properly # support keepalive when it is used on 301 or 302 (redirect) responses. # BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 # # The following directive disables HTTP/1.1 responses to browsers which # are in violation of the HTTP/1.0 spec by not being able to grok a # basic 1.1 response. # BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 # End of browser customization directives # # Allow server status reports, with the URL of http://servername/server-status # Change the ".your-domain.com" to match your domain to enable. # # # SetHandler server-status # Order deny,allow # Deny from all # Allow from .your-domain.com # # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".your-domain.com" to match your domain to enable. # # # SetHandler server-info # Order deny,allow # Deny from all # Allow from .your-domain.com # # # There have been reports of people trying to abuse an old bug from pre-1.1 # days. This bug involved a CGI script distributed as a part of Apache. # By uncommenting these lines you can redirect these attacks to a logging # script on phf.apache.org. Or, you can record them yourself, using the script # support/phf_abuse_log.cgi. # # # Deny from all # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi # # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # # # ProxyRequests On # # Order deny,allow # Deny from all # Allow from .your-domain.com # # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # # ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # # CacheRoot "/usr/local/www/proxy" # CacheSize 5 # CacheGcInterval 4 # CacheMaxExpire 24 # CacheLastModifiedFactor 0.1 # CacheDefaultExpire 1 # NoCache a-domain.com another-domain.edu joes.garage-sale.com # # End of proxy directives. ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # #NameVirtualHost * # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # # # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common # # # ## ## SSL Global Context ## ## All SSL configuration in this context applies both to ## the main server and all SSL-enabled virtual hosts. ## # # Some MIME-types for downloading Certificates and CRLs # AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl # Pass Phrase Dialog: # Configure the pass phrase gathering process. # The filtering dialog program (`builtin' is a internal # terminal dialog) has to provide the pass phrase on stdout. SSLPassPhraseDialog builtin # Inter-Process Session Cache: # Configure the SSL Session Cache: First the mechanism # to use and second the expiring timeout (in seconds). #SSLSessionCache none #SSLSessionCache shmht:/var/run/ssl_scache(512000) #SSLSessionCache shmcb:/var/run/ssl_scache(512000) SSLSessionCache dbm:/var/run/ssl_scache SSLSessionCacheTimeout 300 # Semaphore: # Configure the path to the mutual exclusion semaphore the # SSL engine uses internally for inter-process synchronization. SSLMutex file:/var/run/ssl_mutex # Pseudo Random Number Generator (PRNG): # Configure one or more sources to seed the PRNG of the # SSL library. The seed data should be of good random quality. # WARNING! On some platforms /dev/random blocks if not enough entropy # is available. This means you then cannot use the /dev/random device # because it would lead to very long connection times (as long as # it requires to make more entropy available). But usually those # platforms additionally provide a /dev/urandom device which doesn't # block. So, if available, use this one instead. Read the mod_ssl User # Manual for more details. SSLRandomSeed startup builtin SSLRandomSeed connect builtin #SSLRandomSeed startup file:/dev/random 512 #SSLRandomSeed startup file:/dev/urandom 512 #SSLRandomSeed connect file:/dev/random 512 #SSLRandomSeed connect file:/dev/urandom 512 # Logging: # The home of the dedicated SSL protocol logfile. Errors are # additionally duplicated in the general error log file. Put # this somewhere where it cannot be used for symlink attacks on # a real server (i.e. somewhere where only root can write). # Log levels are (ascending order: higher ones include lower ones): # none, error, warn, info, trace, debug. SSLLog /var/log/ssl_engine_log SSLLogLevel info ## ## SSL Virtual Host Context ## # General setup for the virtual host DocumentRoot "/usr/local/www/data" ServerName www.myserver.com ServerAdmin contact@myserver.com ErrorLog /var/log/httpd-error.log TransferLog /var/log/httpd-access.log # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on # SSL Cipher Suite: # List the ciphers that the client is permitted to negotiate. # See the mod_ssl documentation for a complete list. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL # Server Certificate: # Point SSLCertificateFile at a PEM encoded certificate. If # the certificate is encrypted, then you will be prompted for a # pass phrase. Note that a kill -HUP will prompt again. A test # certificate can be generated with `make certificate' under # built time. Keep in mind that if you've both a RSA and a DSA # certificate you can configure both in parallel (to also allow # the use of DSA ciphers, etc.) SSLCertificateFile /usr/local/etc/apache/ssl.crt/server.crt #SSLCertificateFile /usr/local/etc/apache/ssl.crt/server-dsa.crt # Server Private Key: # If the key is not combined with the certificate, use this # directive to point at the key file. Keep in mind that if # you've both a RSA and a DSA private key you can configure # both in parallel (to also allow the use of DSA ciphers, etc.) SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server.key #SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server-dsa.key # Server Certificate Chain: # Point SSLCertificateChainFile at a file containing the # concatenation of PEM encoded CA certificates which form the # certificate chain for the server certificate. Alternatively # the referenced file can be the same as SSLCertificateFile # when the CA certificates are directly appended to the server # certificate for convinience. #SSLCertificateChainFile /usr/local/etc/apache/ssl.crt/ca.crt # Certificate Authority (CA): # Set the CA certificate verification path where to find CA # certificates for client authentication or alternatively one # huge file containing all of them (file must be PEM encoded) # Note: Inside SSLCACertificatePath you need hash symlinks # to point to the certificate files. Use the provided # Makefile to update the hash symlinks after changes. #SSLCACertificatePath /usr/local/etc/apache/ssl.crt #SSLCACertificateFile /usr/local/etc/apache/ssl.crt/ca-bundle.crt # Certificate Revocation Lists (CRL): # Set the CA revocation path where to find CA CRLs for client # authentication or alternatively one huge file containing all # of them (file must be PEM encoded) # Note: Inside SSLCARevocationPath you need hash symlinks # to point to the certificate files. Use the provided # Makefile to update the hash symlinks after changes. #SSLCARevocationPath /usr/local/etc/apache/ssl.crl #SSLCARevocationFile /usr/local/etc/apache/ssl.crl/ca-bundle.crl # Client Authentication (Type): # Client certificate verification type and depth. Types are # none, optional, require and optional_no_ca. Depth is a # number which specifies how deeply to verify the certificate # issuer chain before deciding the certificate is not valid. #SSLVerifyClient require #SSLVerifyDepth 10 # Access Control: # With SSLRequire you can do per-directory access control based # on arbitrary complex boolean expressions containing server # variable checks and other lookup directives. The syntax is a # mixture between C and Perl. See the mod_ssl documentation # for more details. # #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \ # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \ # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \ # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \ # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \ # or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/ # # SSL Engine Options: # Set various options for the SSL engine. # o FakeBasicAuth: # Translate the client X.509 into a Basic Authorisation. This means that # the standard Auth/DBMAuth methods can be used for access control. The # user name is the `one line' version of the client's X.509 certificate. # Note that no password is obtained from the user. Every entry in the user # file needs this password: `xxj31ZMTZzkVA'. # o ExportCertData: # This exports two additional environment variables: SSL_CLIENT_CERT and # SSL_SERVER_CERT. These contain the PEM-encoded certificates of the # server (always existing) and the client (only existing when client # authentication is used). This can be used to import the certificates # into CGI scripts. # o StdEnvVars: # This exports the standard SSL/TLS related `SSL_*' environment variables. # Per default this exportation is switched off for performance reasons, # because the extraction step is an expensive operation and is usually # useless for serving static content. So one usually enables the # exportation for CGI and SSI requests only. # o CompatEnvVars: # This exports obsolete environment variables for backward compatibility # to Apache-SSL 1.x, mod_ssl 2.0.x, Sioux 1.0 and Stronghold 2.x. Use this # to provide compatibility to existing CGI scripts. # o StrictRequire: # This denies access when "SSLRequireSSL" or "SSLRequire" applied even # under a "Satisfy any" situation, i.e. when it applies access is denied # and no other module can change it. # o OptRenegotiate: # This enables optimized SSL connection renegotiation handling when SSL # directives are used in per-directory context. #SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire SSLOptions +StdEnvVars SSLOptions +StdEnvVars # SSL Protocol Adjustments: # The safe and default but still SSL/TLS standard compliant shutdown # approach is that mod_ssl sends the close notify alert but doesn't wait for # the close notify alert from client. When you need a different shutdown # approach you can use one of the following variables: # o ssl-unclean-shutdown: # This forces an unclean shutdown when the connection is closed, i.e. no # SSL close notify alert is send or allowed to received. This violates # the SSL/TLS standard but is needed for some brain-dead browsers. Use # this when you receive I/O errors because of the standard approach where # mod_ssl sends the close notify alert. # o ssl-accurate-shutdown: # This forces an accurate shutdown when the connection is closed, i.e. a # SSL close notify alert is send and mod_ssl waits for the close notify # alert of the client. This is 100% SSL/TLS standard compliant, but in # practice often causes hanging connections with brain-dead browsers. Use # this only for browsers where you know that their SSL implementation # works correctly. # Notice: Most problems of broken clients are also related to the HTTP # keep-alive facility, so you usually additionally want to disable # keep-alive for those clients, too. Use variable "nokeepalive" for this. # Similarly, one has to force some clients to use HTTP/1.0 to workaround # their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and # "force-response-1.0" for this. SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # Per-Server Logging: # The home of a custom SSL log file. Use this when you want a # compact non-error SSL logfile on a virtual host basis. CustomLog /var/log/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 11 09:27:08 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 788F837B401; Fri, 11 Jul 2003 09:27:08 -0700 (PDT) Received: from pcaxs04.petro-canada.ca (pcx1.petro-canada.ca [209.82.98.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2339843F3F; Fri, 11 Jul 2003 09:27:03 -0700 (PDT) (envelope-from STimms@petro-canada.ca) Received: by pcaxs04-e.pcacorp.net with Internet Mail Service (5.5.2653.19) id ; Fri, 11 Jul 2003 10:27:00 -0600 Message-ID: From: "Timms, Simon" To: 'Bangle Bot' , freebsd-newbies@freebsd.org Date: Fri, 11 Jul 2003 10:26:57 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: "Freebsd-Questions \(E-mail\)" Subject: RE: php4 X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 16:27:08 -0000 Well this should really be on -questions, I'll forward it there. This is a huge config file but iff I am reading it correctly then what the problem probably is; is SSL. Mod_php4 only gets loaded if you define SSL. It may be that ssl is not defined. So try it by moving the LoadModule php4_module libexec/apache/libphp4.so line to outside of the tags. Then restart apache and see if that does it. If not take a look and see if mod_mime is getting loaded properly. You may also want to check the extension of you test php file. At the moment it will only pick up files with a .php extension and not ones with a .php3 or .php4 extension. If none of these work, post back to -questions and somebody there who is far smarter than me shall help you. ----Original Message----- From: Bangle Bot [mailto:bangle_bot@yahoo.com] Sent: Friday, July 11, 2003 9:57 AM To: freebsd-newbies@freebsd.org Subject: php4 H, I installed php4 from the ports collecthing worked great, but when I looked at a php page in my browser only the source came out and didn't start the php program. Is it a problem if i didn't compile php3? Of course I restarted apache after the install... Please help. Here is my httpd.conf file: ## ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # After this file is processed, the server will look for and process # /usr/local/conf/srm.conf and then /usr/local/conf/access.conf # unless you have overridden these with ResourceConfig and/or # AccessConfig directives here. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "/usr/local/apache" will be interpreted by the # server as "/usr/local/apache/logs/foo.log". # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at ); # you will save yourself a lot of trouble. # ServerRoot "/usr/local" # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /var/run/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /var/run/httpd.scoreboard # # In the standard configuration, the server will process httpd.conf (this # file, specified by the -f command line option), srm.conf, and access.conf # in that order. The latter two files are now distributed empty, as it is # recommended that all directives be kept in a single file for simplicity. # The commented-out values below are the built-in defaults. You can have the # server ignore these files altogether by using "/dev/null" (for Unix) or # "nul" (for Win32) for the arguments to the directives. # ResourceConfig /dev/null AccessConfig /dev/null # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 # # Server-pool size regulation. Rather than making you guess how many # server processes you need, Apache dynamically adapts to the load it # sees --- that is, it tries to maintain enough server processes to # handle the current load, plus a few spare servers to handle transient # load spikes (e.g., multiple simultaneous requests from a single # Netscape browser). # # It does this by periodically checking how many servers are waiting # for a request. If there are fewer than MinSpareServers, it creates # a new spare. If there are more than MaxSpareServers, some of the # spares die off. The default values are probably OK for most sites. # MinSpareServers 5 MaxSpareServers 10 # # Number of servers to start initially --- should be a reasonable ballpark # figure. # StartServers 5 # # Limit on total number of servers running, i.e., limit on the number # of clients who can simultaneously connect --- if this limit is ever # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW. # It is intended mainly as a brake to keep a runaway server from taking # the system with it as it spirals down... # MaxClients 150 # # MaxRequestsPerChild: the number of requests each child process is # allowed to process before the child dies. The child will exit so # as to avoid problems after prolonged use when Apache (and maybe the # libraries it uses) leak memory or other resources. On most systems, this # isn't really needed, but a few (such as Solaris) do have notable leaks # in the libraries. For these platforms, set to something like 10000 # or so; a setting of 0 means unlimited. # # NOTE: This value does not include keepalive requests after the initial # request per connection. For example, if a child process handles # an initial request and 10 subsequent "keptalive" requests, it # would only count as 1 request towards this limit. # MaxRequestsPerChild 0 # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the # directive. # #Listen 3000 #Listen 12.34.56.78:80 # # BindAddress: You can support virtual hosts with this option. This directive # is used to tell the server which IP address to listen to. It can either # contain "*", an IP address, or a fully qualified Internet domain name. # See also the and Listen directives. # #BindAddress * # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Please read the file http://httpd.apache.org/docs/dso.html for more # details about the DSO mechanism and run `httpd -l' for the list of already # built-in (statically linked and thus always available) modules in your httpd # binary. # # Note: The order in which modules are loaded is important. Don't change # the order below without expert advice. # # Example: # LoadModule foo_module libexec/mod_foo.so LoadModule mmap_static_module libexec/apache/mod_mmap_static.so LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so LoadModule env_module libexec/apache/mod_env.so LoadModule define_module libexec/apache/mod_define.so LoadModule config_log_module libexec/apache/mod_log_config.so LoadModule mime_magic_module libexec/apache/mod_mime_magic.so LoadModule mime_module libexec/apache/mod_mime.so LoadModule negotiation_module libexec/apache/mod_negotiation.so LoadModule status_module libexec/apache/mod_status.so LoadModule info_module libexec/apache/mod_info.so LoadModule includes_module libexec/apache/mod_include.so LoadModule autoindex_module libexec/apache/mod_autoindex.so LoadModule dir_module libexec/apache/mod_dir.so LoadModule cgi_module libexec/apache/mod_cgi.so LoadModule asis_module libexec/apache/mod_asis.so LoadModule imap_module libexec/apache/mod_imap.so LoadModule action_module libexec/apache/mod_actions.so LoadModule speling_module libexec/apache/mod_speling.so LoadModule userdir_module libexec/apache/mod_userdir.so LoadModule alias_module libexec/apache/mod_alias.so LoadModule rewrite_module libexec/apache/mod_rewrite.so LoadModule access_module libexec/apache/mod_access.so LoadModule auth_module libexec/apache/mod_auth.so LoadModule anon_auth_module libexec/apache/mod_auth_anon.so LoadModule db_auth_module libexec/apache/mod_auth_db.so LoadModule digest_module libexec/apache/mod_digest.so LoadModule proxy_module libexec/apache/libproxy.so LoadModule cern_meta_module libexec/apache/mod_cern_meta.so LoadModule expires_module libexec/apache/mod_expires.so LoadModule headers_module libexec/apache/mod_headers.so LoadModule usertrack_module libexec/apache/mod_usertrack.so LoadModule unique_id_module libexec/apache/mod_unique_id.so LoadModule setenvif_module libexec/apache/mod_setenvif.so LoadModule ssl_module libexec/apache/libssl.so LoadModule php4_module libexec/apache/libphp4.so # Reconstruction of the complete module list from all available modules # (static and shared ones) to achieve correct module execution order. # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] ClearModuleList AddModule mod_mmap_static.c AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_define.c AddModule mod_log_config.c AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_status.c AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_auth_anon.c AddModule mod_auth_db.c AddModule mod_digest.c AddModule mod_proxy.c AddModule mod_cern_meta.c AddModule mod_expires.c AddModule mod_headers.c AddModule mod_usertrack.c AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_ssl.c AddModule mod_php4.c # # ExtendedStatus controls whether Apache will generate "full" status # information (ExtendedStatus On) or just basic information (ExtendedStatus # Off) when the "server-status" handler is called. The default is Off. # #ExtendedStatus On ### Section 2: 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # definition. These values also provide defaults for # any containers you may define later in the file. # # All of these directives may appear inside containers, # in which case these default settings will be overridden for the # virtual host being defined. # # # If your ServerType directive (set earlier in the 'Global Environment' # section) is set to "inetd", the next few directives don't have any # effect since their settings are defined by the inetd configuration. # Skip ahead to the ServerAdmin directive. # # # Port: The port to which the standalone server listens. For # ports < 1023, you will need httpd to be run as root initially. # Port 80 ## ## SSL Support ## ## When we also provide SSL we have to listen to the ## standard HTTP port (see above) and to the HTTPS port ## Listen 80 Listen 443 # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group www on these systems! # User www Group www # # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. # ServerAdmin contact@myserver.com # # ServerName allows you to set a host name which is sent back to clients for # your server if it's different than the one the program would get (i.e., use # "www" instead of the host's real name). # # Note: You cannot just invent host names and hope they work. The name you # define here must be a valid DNS name for your host. If you don't understand # this, ask your network administrator. # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address (e.g., http://123.45.67.89/) # anyway, and this will make redirections work in a sensible way. # # 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your # machine always knows itself by this address. If you use Apache strictly for # local testing and development, you may use 127.0.0.1 as the server name. # ServerName www.myserver.com # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/usr/local/www/data" # # Each directory to which Apache has access, can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # permissions. # Options FollowSymLinks AllowOverride None # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # # # This may also be "None", "All", or any combination of "Indexes", # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # Options Indexes FollowSymLinks MultiViews # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all # # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is received. # UserDir web # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # # # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # # # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.php index.php3 index.html DirectoryIndex index.php3 index.html DirectoryIndex index.php index.html DirectoryIndex index.html # # AccessFileName: The name of the file to look for in each directory # for access control information. # AccessFileName .htaccess # # The following lines prevent .htaccess files from being viewed by # Web clients. Since .htaccess files often contain authorization # information, access is disallowed for security reasons. Comment # these lines out if you want Web visitors to see the contents of # .htaccess files. If you change the AccessFileName directive above, # be sure to make the corresponding changes here. # # Also, folks tend to use names such as .htpasswd for password # files, so this will protect those as well. # Order allow,deny Deny from all Satisfy All # # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each # document that was negotiated on the basis of content. This asks proxy # servers not to cache the document. Uncommenting the following line disables # this behavior, and proxies will be allowed to cache the documents. # #CacheNegotiatedDocs # # UseCanonicalName: (new for 1.3) With this setting turned on, whenever # Apache needs to construct a self-referencing URL (a URL that refers back # to the server the response is coming from) it will use ServerName and # Port to form a "canonical" name. With this setting off, Apache will # use the hostname:port that the client supplied, when possible. This # also affects SERVER_NAME and SERVER_PORT in CGI scripts. # UseCanonicalName On # # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # TypesConfig /usr/local/etc/apache/mime.types # # DefaultType is the default MIME type the server will use for a document # if it cannot otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text/plain" is # a good value. If most of your content is binary, such as applications # or images, you may want to use "application/octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType text/plain # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # mod_mime_magic is not part of the default server (you have to add # it yourself with a LoadModule [see the DSO paragraph in the 'Global # Environment' section], or recompile the server and include mod_mime_magic # as part of the configuration), so it's enclosed in an container. # This means that the MIMEMagicFile directive will only be processed if the # module is part of the server. # MIMEMagicFile /usr/local/etc/apache/magic # # HostnameLookups: Log the names of clients or just their IP addresses # e.g., www.apache.org (on) or 204.62.129.132 (off). # The default is off because it'd be overall better for the net if people # had to knowingly turn this feature on, since enabling it means that # each client request will result in AT LEAST one lookup request to the # nameserver. # HostnameLookups Off # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # ErrorLog /var/log/httpd-error.log # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a # container, they will be logged here. Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # #CustomLog /var/log/httpd-access.log common # # If you would like to have agent and referer logfiles, uncomment the # following directives. # #CustomLog /var/log/httpd-referer.log referer #CustomLog /var/log/httpd-agent.log agent # # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # CustomLog /var/log/httpd-access.log combined # # Optionally add a line containing the server version and virtual host # name to server-generated pages (error documents, FTP directory listings, # mod_status and mod_info output etc., but not CGI generated documents). # Set to "EMail" to also include a mailto: link to the ServerAdmin. # Set to one of: On | Off | EMail # ServerSignature On # EBCDIC configuration: # (only for mainframes using the EBCDIC codeset, currently one of: # Fujitsu-Siemens' BS2000/OSD, IBM's OS/390 and IBM's TPF)!! # The following default configuration assumes that "text files" # are stored in EBCDIC (so that you can operate on them using the # normal POSIX tools like grep and sort) while "binary files" are # stored with identical octets as on an ASCII machine. # # The directives are evaluated in configuration file order, with # the EBCDICConvert directives applied before EBCDICConvertByType. # # If you want to have ASCII HTML documents and EBCDIC HTML documents # at the same time, you can use the file extension to force # conversion off for the ASCII documents: # > AddType text/html .ahtml # > EBCDICConvert Off=InOut .ahtml # # EBCDICConvertByType On=InOut text/* message/* multipart/* # EBCDICConvertByType On=In application/x-www-form-urlencoded # EBCDICConvertByType On=InOut application/postscript model/vrml # EBCDICConvertByType Off=InOut */* # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # Alias /icons/ "/usr/local/www/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # This Alias will project the on-line documentation tree under /manual/ # even if you change the DocumentRoot. Comment it if you don't want to # provide access to the on-line documentation. # Alias /manual/ "/usr/local/share/doc/apache/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" # # "/usr/local/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all # End of aliases. # # Redirect allows you to tell clients about documents which used to exist in # your server's namespace, but do not anymore. This allows you to tell the # clients where to look for the relocated document. # Format: Redirect old-URI new-URL # # # Directives controlling the display of server-generated directory listings. # # # FancyIndexing is whether you want fancy directory indexing or standard # IndexOptions FancyIndexing # # AddIcon* directives tell the server which icon to show for different # files or filename extensions. These are only displayed for # FancyIndexed directories. # AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ # # DefaultIcon is which icon to show for files which do not have an icon # explicitly set. # DefaultIcon /icons/unknown.gif # # AddDescription allows you to place a short description after a file in # server-generated indexes. These are only displayed for FancyIndexed # directories. # Format: AddDescription "description" filename # #AddDescription "GZIP compressed document" .gz #AddDescription "tar archive" .tar #AddDescription "GZIP compressed tar archive" .tgz # # ReadmeName is the name of the README file the server will look for by # default, and append to directory listings. # # HeaderName is the name of a file which should be prepended to # directory indexes. # # If MultiViews are amongst the Options in effect, the server will # first look for name.html and include it if found. If name.html # doesn't exist, the server will then look for name.txt and include # it as plaintext if found. # ReadmeName README HeaderName HEADER # # IndexIgnore is a set of filenames which directory indexing should ignore # and not include in the listing. Shell-style wildcarding is permitted. # IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t # End of indexing directives. # # Document types. # # # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress # information on the fly. Note: Not all browsers support this. # Despite the name similarity, the following Add* directives have nothing # to do with the FancyIndexing customization directives above. # AddEncoding x-compress Z AddEncoding x-gzip gz tgz # # AddLanguage allows you to specify the language of a document. You can # then use content negotiation to give a browser a file in a language # it can understand. # # Note 1: The suffix does not have to be the same as the language # keyword --- those with documents in Polish (whose net-standard # language code is pl) may wish to use "AddLanguage pl .po" to # avoid the ambiguity with the common suffix for perl scripts. # # Note 2: The example entries below illustrate that in quite # some cases the two character 'Language' abbreviation is not # identical to the two character 'Country' code for its country, # E.g. 'Danmark/dk' versus 'Danish/da'. # # Note 3: In the case of 'ltz' we violate the RFC by using a three char # specifier. But there is 'work in progress' to fix this and get # the reference data for rfc1766 cleaned up. # # Danish (da) - Dutch (nl) - English (en) - Estonian (ee) # French (fr) - German (de) - Greek-Modern (el) # Italian (it) - Korean (kr) - Norwegian (no) - Norwegian Nynorsk (nn) # Portugese (pt) - Luxembourgeois* (ltz) # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz) # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) # Russian (ru) # AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage nn .nn AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .sv AddLanguage cz .cz AddLanguage ru .ru AddLanguage zh-tw .tw AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 # LanguagePriority allows you to give precedence to some languages # in case of a tie during content negotiation. # # Just list the languages in decreasing order of preference. We have # more or less alphabetized them here. You probably want to change this. # LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps # # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # AddType application/x-tar .tgz AddType image/x-icon .ico # # AddHandler allows you to map certain file extensions to "handlers", # actions unrelated to filetype. These can be either built into the server # or added with the Action command (see below) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # #AddHandler cgi-script .cgi # # To use server-parsed HTML files # #AddType text/html .shtml #AddHandler server-parsed .shtml # # Uncomment the following line to enable Apache's send-asis HTTP file # feature # #AddHandler send-as-is asis # # If you wish to use server-parsed imagemap files, use # #AddHandler imap-file map # # To enable type maps, you might want to use # #AddHandler type-map var # End of document types. # # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for oft-used CGI file processors. # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location # # # MetaDir: specifies the name of the directory in which Apache can find # meta information files. These files contain additional HTTP headers # to include when sending the document # #MetaDir .web # # MetaSuffix: specifies the file name suffix for the file containing the # meta information. # #MetaSuffix .meta # # Customizable error response (Apache style) # these come in three flavors # # 1) plain text #ErrorDocument 500 "The server made a boo boo. # n.b. the single leading (") marks it as text, it does not get output # # 2) local redirects #ErrorDocument 404 /missing.html # to redirect to local URL /missing.html #ErrorDocument 404 /cgi-bin/missing_handler.pl # N.B.: You can redirect to a script or a document using server-side-includes. # # 3) external redirects #ErrorDocument 402 http://some.other-server.com/subscription_info.html # N.B.: Many of the environment variables associated with the original # request will *not* be available to such a script. # # Customize behaviour based on the browser # # # The following directives modify normal HTTP response behavior. # The first directive disables keepalive for Netscape 2.x and browsers that # spoof it. There are known problems with these browser implementations. # The second directive is for Microsoft Internet Explorer 4.0b2 # which has a broken HTTP/1.1 implementation and does not properly # support keepalive when it is used on 301 or 302 (redirect) responses. # BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 # # The following directive disables HTTP/1.1 responses to browsers which # are in violation of the HTTP/1.0 spec by not being able to grok a # basic 1.1 response. # BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 # End of browser customization directives # # Allow server status reports, with the URL of http://servername/server-status # Change the ".your-domain.com" to match your domain to enable. # # # SetHandler server-status # Order deny,allow # Deny from all # Allow from .your-domain.com # # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".your-domain.com" to match your domain to enable. # # # SetHandler server-info # Order deny,allow # Deny from all # Allow from .your-domain.com # # # There have been reports of people trying to abuse an old bug from pre-1.1 # days. This bug involved a CGI script distributed as a part of Apache. # By uncommenting these lines you can redirect these attacks to a logging # script on phf.apache.org. Or, you can record them yourself, using the script # support/phf_abuse_log.cgi. # # # Deny from all # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi # # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # # # ProxyRequests On # # Order deny,allow # Deny from all # Allow from .your-domain.com # # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # # ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # # CacheRoot "/usr/local/www/proxy" # CacheSize 5 # CacheGcInterval 4 # CacheMaxExpire 24 # CacheLastModifiedFactor 0.1 # CacheDefaultExpire 1 # NoCache a-domain.com another-domain.edu joes.garage-sale.com # # End of proxy directives. ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # #NameVirtualHost * # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # # # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common # # # ## ## SSL Global Context ## ## All SSL configuration in this context applies both to ## the main server and all SSL-enabled virtual hosts. ## # # Some MIME-types for downloading Certificates and CRLs # AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl # Pass Phrase Dialog: # Configure the pass phrase gathering process. # The filtering dialog program (`builtin' is a internal # terminal dialog) has to provide the pass phrase on stdout. SSLPassPhraseDialog builtin # Inter-Process Session Cache: # Configure the SSL Session Cache: First the mechanism # to use and second the expiring timeout (in seconds). #SSLSessionCache none #SSLSessionCache shmht:/var/run/ssl_scache(512000) #SSLSessionCache shmcb:/var/run/ssl_scache(512000) SSLSessionCache dbm:/var/run/ssl_scache SSLSessionCacheTimeout 300 # Semaphore: # Configure the path to the mutual exclusion semaphore the # SSL engine uses internally for inter-process synchronization. SSLMutex file:/var/run/ssl_mutex # Pseudo Random Number Generator (PRNG): # Configure one or more sources to seed the PRNG of the # SSL library. The seed data should be of good random quality. # WARNING! On some platforms /dev/random blocks if not enough entropy # is available. This means you then cannot use the /dev/random device # because it would lead to very long connection times (as long as # it requires to make more entropy available). But usually those # platforms additionally provide a /dev/urandom device which doesn't # block. So, if available, use this one instead. Read the mod_ssl User # Manual for more details. SSLRandomSeed startup builtin SSLRandomSeed connect builtin #SSLRandomSeed startup file:/dev/random 512 #SSLRandomSeed startup file:/dev/urandom 512 #SSLRandomSeed connect file:/dev/random 512 #SSLRandomSeed connect file:/dev/urandom 512 # Logging: # The home of the dedicated SSL protocol logfile. Errors are # additionally duplicated in the general error log file. Put # this somewhere where it cannot be used for symlink attacks on # a real server (i.e. somewhere where only root can write). # Log levels are (ascending order: higher ones include lower ones): # none, error, warn, info, trace, debug. SSLLog /var/log/ssl_engine_log SSLLogLevel info ## ## SSL Virtual Host Context ## # General setup for the virtual host DocumentRoot "/usr/local/www/data" ServerName www.myserver.com ServerAdmin contact@myserver.com ErrorLog /var/log/httpd-error.log TransferLog /var/log/httpd-access.log # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on # SSL Cipher Suite: # List the ciphers that the client is permitted to negotiate. # See the mod_ssl documentation for a complete list. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL # Server Certificate: # Point SSLCertificateFile at a PEM encoded certificate. If # the certificate is encrypted, then you will be prompted for a # pass phrase. Note that a kill -HUP will prompt again. A test # certificate can be generated with `make certificate' under # built time. Keep in mind that if you've both a RSA and a DSA # certificate you can configure both in parallel (to also allow # the use of DSA ciphers, etc.) SSLCertificateFile /usr/local/etc/apache/ssl.crt/server.crt #SSLCertificateFile /usr/local/etc/apache/ssl.crt/server-dsa.crt # Server Private Key: # If the key is not combined with the certificate, use this # directive to point at the key file. Keep in mind that if # you've both a RSA and a DSA private key you can configure # both in parallel (to also allow the use of DSA ciphers, etc.) SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server.key #SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server-dsa.key # Server Certificate Chain: # Point SSLCertificateChainFile at a file containing the # concatenation of PEM encoded CA certificates which form the # certificate chain for the server certificate. Alternatively # the referenced file can be the same as SSLCertificateFile # when the CA certificates are directly appended to the server # certificate for convinience. #SSLCertificateChainFile /usr/local/etc/apache/ssl.crt/ca.crt # Certificate Authority (CA): # Set the CA certificate verification path where to find CA # certificates for client authentication or alternatively one # huge file containing all of them (file must be PEM encoded) # Note: Inside SSLCACertificatePath you need hash symlinks # to point to the certificate files. Use the provided # Makefile to update the hash symlinks after changes. #SSLCACertificatePath /usr/local/etc/apache/ssl.crt #SSLCACertificateFile /usr/local/etc/apache/ssl.crt/ca-bundle.crt # Certificate Revocation Lists (CRL): # Set the CA revocation path where to find CA CRLs for client # authentication or alternatively one huge file containing all # of them (file must be PEM encoded) # Note: Inside SSLCARevocationPath you need hash symlinks # to point to the certificate files. Use the provided # Makefile to update the hash symlinks after changes. #SSLCARevocationPath /usr/local/etc/apache/ssl.crl #SSLCARevocationFile /usr/local/etc/apache/ssl.crl/ca-bundle.crl # Client Authentication (Type): # Client certificate verification type and depth. Types are # none, optional, require and optional_no_ca. Depth is a # number which specifies how deeply to verify the certificate # issuer chain before deciding the certificate is not valid. #SSLVerifyClient require #SSLVerifyDepth 10 # Access Control: # With SSLRequire you can do per-directory access control based # on arbitrary complex boolean expressions containing server # variable checks and other lookup directives. The syntax is a # mixture between C and Perl. See the mod_ssl documentation # for more details. # #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \ # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \ # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \ # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \ # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \ # or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/ # # SSL Engine Options: # Set various options for the SSL engine. # o FakeBasicAuth: # Translate the client X.509 into a Basic Authorisation. This means that # the standard Auth/DBMAuth methods can be used for access control. The # user name is the `one line' version of the client's X.509 certificate. # Note that no password is obtained from the user. Every entry in the user # file needs this password: `xxj31ZMTZzkVA'. # o ExportCertData: # This exports two additional environment variables: SSL_CLIENT_CERT and # SSL_SERVER_CERT. These contain the PEM-encoded certificates of the # server (always existing) and the client (only existing when client # authentication is used). This can be used to import the certificates # into CGI scripts. # o StdEnvVars: # This exports the standard SSL/TLS related `SSL_*' environment variables. # Per default this exportation is switched off for performance reasons, # because the extraction step is an expensive operation and is usually # useless for serving static content. So one usually enables the # exportation for CGI and SSI requests only. # o CompatEnvVars: # This exports obsolete environment variables for backward compatibility # to Apache-SSL 1.x, mod_ssl 2.0.x, Sioux 1.0 and Stronghold 2.x. Use this # to provide compatibility to existing CGI scripts. # o StrictRequire: # This denies access when "SSLRequireSSL" or "SSLRequire" applied even # under a "Satisfy any" situation, i.e. when it applies access is denied # and no other module can change it. # o OptRenegotiate: # This enables optimized SSL connection renegotiation handling when SSL # directives are used in per-directory context. #SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire SSLOptions +StdEnvVars SSLOptions +StdEnvVars # SSL Protocol Adjustments: # The safe and default but still SSL/TLS standard compliant shutdown # approach is that mod_ssl sends the close notify alert but doesn't wait for # the close notify alert from client. When you need a different shutdown # approach you can use one of the following variables: # o ssl-unclean-shutdown: # This forces an unclean shutdown when the connection is closed, i.e. no # SSL close notify alert is send or allowed to received. This violates # the SSL/TLS standard but is needed for some brain-dead browsers. Use # this when you receive I/O errors because of the standard approach where # mod_ssl sends the close notify alert. # o ssl-accurate-shutdown: # This forces an accurate shutdown when the connection is closed, i.e. a # SSL close notify alert is send and mod_ssl waits for the close notify # alert of the client. This is 100% SSL/TLS standard compliant, but in # practice often causes hanging connections with brain-dead browsers. Use # this only for browsers where you know that their SSL implementation # works correctly. # Notice: Most problems of broken clients are also related to the HTTP # keep-alive facility, so you usually additionally want to disable # keep-alive for those clients, too. Use variable "nokeepalive" for this. # Similarly, one has to force some clients to use HTTP/1.0 to workaround # their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and # "force-response-1.0" for this. SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # Per-Server Logging: # The home of a custom SSL log file. Use this when you want a # compact non-error SSL logfile on a virtual host basis. CustomLog /var/log/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! _______________________________________________ freebsd-newbies@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" ******************** This email communication is intended as a private communication for the sole use of the primary addressee and those individuals listed for copies in the original message. The information contained in this email is private and confidential and if you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or distribution of this communication by any means is prohibited. If you are not specifically authorized to receive this email and if you believe that you received it in error please notify the original sender immediately. We honour similar requests relating to the privacy of email communications. Cette communication par courrier électronique est une communication privée à l'usage exclusif du destinataire principal ainsi que des personnes dont les noms figurent en copie. Les renseignements contenus dans ce courriel sont confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé, par les présentes que toute reproduction, tout transfert ou toute autre forme de diffusion de cette communication par quelque moyen que ce soit est interdit. Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur original immédiatement. Nous respectons les demandes similaires qui touchent la confidentialité des communications par courrier électronique. From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 11 09:50:32 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8834237B401 for ; Fri, 11 Jul 2003 09:50:32 -0700 (PDT) Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A42F243FA3 for ; Fri, 11 Jul 2003 09:50:28 -0700 (PDT) (envelope-from G.Czaplinski@prioris.mini.pw.edu.pl) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id ADF8A243C6; Fri, 11 Jul 2003 18:50:26 +0200 (CEST) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1368) id B29FA24396; Fri, 11 Jul 2003 18:50:21 +0200 (CEST) Date: Fri, 11 Jul 2003 18:50:21 +0200 From: Grzegorz Czaplinski To: Bangle Bot Message-ID: <20030711165021.GJ38113@prioris.mini.pw.edu.pl> References: <20030711155650.41933.qmail@web80604.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pyE8wggRBhVBcj8z" Content-Disposition: inline In-Reply-To: <20030711155650.41933.qmail@web80604.mail.yahoo.com> User-Agent: Mutt/1.4.1i X-PGP: http://prioris.mini.pw.edu.pl/~gregory/pgp.txt X-3w: http://prioris.mini.pw.edu.pl/~gregory/ X-voice: +48 692 412 424 X-Virus-Scanned: by AMaViS (prioris) cc: freebsd-newbies@freebsd.org Subject: Re: php4 X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 16:50:32 -0000 --pyE8wggRBhVBcj8z Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 11, 2003 at 08:56:50AM -0700, Bangle Bot wrote: > Hi, > =20 > I installed php4 from the ports collection. Everything worked great, but = when I looked at a php page in my browser only the source came out and didn= 't start the php program. > Is it a problem if i didn't compile php3? > Of course I restarted apache after the install... > Please help. > =20 > Here is my httpd.conf file: [...] Hi! You should have installed mod_php4 from /usr/ports/www/mod_php4/ . gregory -- Grzegorz Czaplinski "The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F --pyE8wggRBhVBcj8z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj8O6s0ACgkQpw+idSSJRp8XdwCeJ3nRN2vVg5jjENn+iUqlT3Hi 6ZMAnApRCV1r+gjA/WpFCXCo8wdUUZPN =qcqw -----END PGP SIGNATURE----- --pyE8wggRBhVBcj8z-- From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 11 10:18:38 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A82F737B405 for ; Fri, 11 Jul 2003 10:18:38 -0700 (PDT) Received: from zeus.acuson.com (ac17860.acuson.com [157.226.71.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5000843FDD for ; Fri, 11 Jul 2003 10:18:35 -0700 (PDT) (envelope-from DavidJohnson@Siemens.com) Received: from mvaexch02 ([157.226.230.209]:1387 helo=mvaexch02.acuson.com) by zeus.acuson.com with esmtp (Exim 4.14) id 19b1XV-0007la-5h; Fri, 11 Jul 2003 10:18:33 -0700 Received: by mvaexch02.acuson.com with Internet Mail Service (5.5.2653.19) id ; Fri, 11 Jul 2003 10:05:15 -0700 Received: from dhcp-46-117.acuson.com ([157.226.46.117]) by mvaexch01.acuson.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 3VW821VN; Fri, 11 Jul 2003 10:06:30 -0700 From: Johnson David To: Cotton , freebsd-newbies@freebsd.org Organization: Siemens Medical Systems Date: Fri, 11 Jul 2003 10:17:50 -0700 User-Agent: KMail/1.5.2 References: <1D0EFCEF-B352-11D7-9854-000393D42F48@mac.com> In-Reply-To: <1D0EFCEF-B352-11D7-9854-000393D42F48@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200307111017.50981.DavidJohnson@Siemens.com> X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19b1XV-0007la-5h*FgwRV5qnyLA* X-SA-Exim-Scanned: No; SAEximRunCond expanded to false Subject: Re: FreeBSD/XFree questions X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 17:18:39 -0000 On Thursday 10 July 2003 08:45 pm, Cotton wrote: > Hey all, > > First off, my *nix experience… I’ve run a few different distros on > the mac and PC just checking stuff out, but never full-time – > definitely still a newbie. I have an old P166 here that I want to set > up as a headless file server (mp3s, divx, documents)/web > server/sendmail et al… it won’t be hit too hard, anyway. > > Will an old P166/64mb 66mhz SDRAM run FreeBSD 5.1 with X/KDE/Gnome > ok? Or should I forget about the GUI and just control it through ssh? The main factor in this case is the memory. You don't want it hit your swap all of the time, or it will be agonizingly slow. I ran KDE on a P200 64M laptop and it was usable, but just barely. Your best bet is to use a small window manager like Blackbox or WindowMaker, and stay away from large applications like Mozilla and OpenOffice. David From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 11 19:10:13 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F8737B401 for ; Fri, 11 Jul 2003 19:10:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3299443F75 for ; Fri, 11 Jul 2003 19:10:13 -0700 (PDT) (envelope-from sue@FreeBSD.org) Received: from freefall.freebsd.org (sue@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6C2ADUp031291 for ; Fri, 11 Jul 2003 19:10:13 -0700 (PDT) (envelope-from sue@freefall.freebsd.org) Received: (from sue@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6C2ACSn031288 for freebsd-newbies@freebsd.org; Fri, 11 Jul 2003 19:10:12 -0700 (PDT) Date: Fri, 11 Jul 2003 19:10:12 -0700 (PDT) From: Sue Blake Message-Id: <200307120210.h6C2ACSn031288@freefall.freebsd.org> To: freebsd-newbies@freebsd.org Subject: FreeBSD Newbies FAK X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 02:10:14 -0000 FreeBSD-Newbies First Aid Kit This is a regular posting to the FreeBSD-Newbies mailing list. It is also available at http://people.freebsd.org/~sue/newbies/fak.html FreeBSD-Questions@FreeBSD.ORG is the place to send all questions about installing, configuring, running and using FreeBSD. All help requests are handled by FreeBSD-Questions, including newbies questions. It is particularly important to send all installation questions and answers to FreeBSD-Questions so that they only appear in one place. FreeBSD-Newbies is different. We don't ask for FreeBSD help or answer how-to questions. It is a discussion forum for newbies. FreeBSD-Newbies provides a place for new FreeBSD users to meet and covers any of the activities of newbies that are not already dealt with elsewhere. Examples include helping each other to learn more on our own, finding and using resources, problem solving techniques, how to seek help elsewhere, how to use mailing lists and which lists to use, general chat, making mistakes, boasting, sharing ideas, stories, moral (but not technical) support, and taking an active part in the FreeBSD community. We take our problems and support questions to freebsd-questions, and use freebsd-newbies to meet others who are doing the same things that we do as newbies. We can help people to use the FreeBSD mailing lists and resources, or to interact more productively with the broader FreeBSD community. These are not support questions, and not technical, so we deal with them here. Everyone can help with these new user orientation requests. One of the things we do together is learn more effective ways to find help when we need it. Here are some suggestions: When something doesn't work the way you expect 1. First look at the errata for your release of FreeBSD at http://www.FreeBSD.ORG/releases/ for the latest information and security advisories. 2. Search the Handbook, FAQ, and mail archives at http://www.FreeBSD.ORG/search/search.html 3. If you still have a question or problem, collect the output of `uname -a' and of any relevant program(s) and email your question to FreeBSD-questions@FreeBSD.ORG. Mailing lists When you have a problem that you can't solve by yourself, there's only one support mailing list and that's FreeBSD-questions@FreeBSD.ORG. FreeBSD-questions helps with installation and basic setup as well as more general and advanced questions. You don't have to actually join freebsd-questions before asking a question there. Replies to your question will normally be sent to you personally as well as to the list. Just make sure you have read and followed the guidelines for posting, because you might find them different to what you're used to. If you do subscribe to freebsd-questions you'll have the advantage of seeing all of the recent questions and their answers. Before you post to FreeBSD-questions, please read the guidelines at http://www.lemis.com/questions.html Many of the people who answer FreeBSD-questions are very knowledgeable, but they get frustrated when they get questions which are difficult to understand. http://www.lemis.com/email.html is worth reading too. If you're not sure that you can follow these guidelines, come back and ask the other newbies for help on how to post an effective question to the support mailing list. Maybe your question has been asked before. If you search the mailing list archives at http://www.freebsd.org/search/search.html first you might get the answer right away. It's always worth trying. Other mailing lists (http://www.freebsd.org/handbook/eresources.html#ERESOURCES-CHARTERS) cover specialised areas and many are more developer-oriented. You'll need to read their charters carefully before participating, but it's probably a good idea to ask on either -newbies or -questions for advice about where to post a more specialised question. FreeBSD-announce is a very low volume read-only list for occasional announcements, such as notice of new releases, and the Really Quick Newsletter. It's worth subscribing to FreeBSD-announce too. Manuals You'll always be expected to show that you have made some effort to use the available documentation before asking for help. That's not always as easy as it sounds! If you know what documentation you need but can't locate it, send a brief query to FreeBSD-questions. If you don't know what you need, always have trouble finding it, or can't make any sense of it when you do, ask some patient newbies to steer you in the right direction. Anyone interested in writing or reviewing documentation for FreeBSD is encouraged to join the FreeBSD Documentation Project. Details are at http://www.freebsd.org/docproj/docproj.html Other resources A resource list is available at http://www.freebsd.org/projects/newbies.html to help new and inexperienced FreeBSD users to find relevant information quickly. It includes books, on line documents and tutorials, and links to web pages that other newbies have found useful for learning. If you have a suggestion for good material to be included, please write to freebsd-newbies and tell us about it. But I have seen people asking questions here! It is quite common for people to send the wrong kind of post to a mailing list. Because we're newbies it'll certainly happen here from time to time. The best thing to do if you see a message that doesn't belong on a list is to ignore it. There's always someone around whose job it is to sort these problems out privately. The posts to the lists go straight through, whatever their content. It is going to be confusing for a little while because we're all newbies so we all make mistakes. That's OK. One thing we're going to see a fair bit is people posting questions, believing they're doing the right thing by posting here as newbies, not realising how it works. If someone answers those questions the situation will snowball. There's nothing wrong with helping someone to redirect their question to freebsd-questions, but please do so gently. There's nothing wrong with the occasional mistake either. So all questions, requests for help, etc still go to freebsd-questions as usual. Ours is more of a discussion group, a place where newbies can relax with other newbies and focus more on our successes than on our temporary imperfection. We can talk about things here that are not allowed on freebsd-questions. We're also a bit freer to make the mistakes that we need to make in order to learn. _________________________________________________________________ Mailing list membership To Subscribe to FreeBSD-Newbies: Use the easy form at http://lists.freebsd.org/mailman/listinfo/freebsd-newbies to subscribe to the FreeBSD-Newbies mailing list, or to change your subscription details if you are already a member. To Unsubscribe from FreeBSD-Newbies: To stop receiving list emails, simply follow the unsubscribe link that appears at the bottom of each email you receive from the mailing list. Mail sent to freebsd-newbies@freebsd.org is distributed to all members of the FreeBSD-Newbies mailing list. _________________________________________________________________ From owner-freebsd-newbies@FreeBSD.ORG Sat Jul 12 03:47:24 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA44437B401 for ; Sat, 12 Jul 2003 03:47:24 -0700 (PDT) Received: from lakemtao02.cox.net (lakemtao02.cox.net [68.1.17.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02B0743FB1 for ; Sat, 12 Jul 2003 03:47:24 -0700 (PDT) (envelope-from dj@landreneau.com) Received: from djlandreneau ([68.96.14.55]) by lakemtao02.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20030712104723.KXCJ24359.lakemtao02.cox.net@djlandreneau>; Sat, 12 Jul 2003 06:47:23 -0400 From: "DJ Landreneau" To: Date: Sat, 12 Jul 2003 06:47:23 -0400 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: TCP/IP Configuration X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 10:47:25 -0000 I am using Direcway as my ISP. Being a satellite based system the connection is inherintly latent. I have a Windows machine that I can run a small utility on that changes the registry settings for latent conections. My question is how do I modify the tcp/ip settings in FreeBSD for latent connections like Direcway? Thank you in advance. DJ Landreneau From owner-freebsd-newbies@FreeBSD.ORG Sat Jul 12 09:43:35 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C00337B401 for ; Sat, 12 Jul 2003 09:43:35 -0700 (PDT) Received: from web14006.mail.yahoo.com (web14006.mail.yahoo.com [216.136.175.122]) by mx1.FreeBSD.org (Postfix) with SMTP id 4442743F85 for ; Sat, 12 Jul 2003 09:43:35 -0700 (PDT) (envelope-from dcastro5@yahoo.com) Message-ID: <20030712164335.7412.qmail@web14006.mail.yahoo.com> Received: from [200.52.193.3] by web14006.mail.yahoo.com via HTTP; Sat, 12 Jul 2003 09:43:35 PDT Date: Sat, 12 Jul 2003 09:43:35 -0700 (PDT) From: Diego Castro To: kanematsu , freebsd-newbies@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: ports installation error X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 16:43:36 -0000 kanematsu Jul 5 10:47:16 ws kernel: swap_pager: out of swap space Jul 5 10:47:17 ws kernel: swap_pager_getswapspace: failed Jul 5 10:47:21 ws kernel: pid 9345 (ld), uid 0, was killed: out of swap space kanematsu wrote: > >Hello, > > > >I installed jdk14 from /usr/ports/java/jdk14. > >However, it stopped after 2 hours with errors. > >I want to show you error massage but I don$B!G(Bt > know where > >the log files of error message stored. > > > >Thank you, > > I checked /var/log/messages as someone suggested to > me, > and I found following message: > > Jul 3 23:14:10 ws kernel: acd0: CDROM DRIVE 32X MAXIMUM> at ata1-master PIO4 > Jul 3 23:14:10 ws kernel: Mounting root from > ufs:/dev/ad0s1a > Jul 3 23:14:12 ws kernel: ohci0: (Aladdin-V) USB controller> mem > 0x82100000-0x82100fff irq 9 at device 2.0 on pci0 > Jul 3 23:14:12 ws kernel: usb0: OHCI version 1.0, > legacy support > Jul 3 23:14:12 ws kernel: usb0: SMM does not > respond, resetting > Jul 3 23:14:13 ws kernel: usb0: (Aladdin-V) USB controller> on ohci0 > Jul 3 23:14:13 ws kernel: usb0: USB revision 1.0 > Jul 3 23:14:13 ws kernel: uhub0: AcerLabs OHCI root > hub, class 9/0, rev 1.00/1.00, addr 1 > Jul 3 23:14:13 ws kernel: uhub0: 2 ports with 2 > removable, self powered > Jul 3 23:14:14 ws ntpd[371]: ntpd 4.1.1b-a Thu Jun > 5 00:47:30 GMT 2003 (1) > Jul 3 23:14:14 ws ntpd[371]: kernel time discipline > status 2040 > Jul 4 03:08:01 ws su: kanem300 to root on > /dev/ttyv0 > Jul 4 04:31:18 ws kernel: pid 2947 (conftest), uid > 0: exited on signal 10 (core dumped) > Jul 4 09:14:27 ws kernel: linux: pid 68840 > (glidelink): sysctl {1,23} is not implemented > Jul 4 09:14:28 ws kernel: linux: pid 68840 > (glidelink): syscall syslog not implemented > Jul 4 09:14:28 ws kernel: linux: pid 68840 > (glidelink): syscall syslog not implemented > Jul 5 10:47:16 ws kernel: swap_pager: out of swap > space > Jul 5 10:47:17 ws kernel: swap_pager_getswapspace: > failed > Jul 5 10:47:21 ws kernel: pid 9345 (ld), uid 0, was > killed: out of swap space > > > Does anyone have any idea? > > Thank you, > > > kanematsu > > > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From owner-freebsd-newbies@FreeBSD.ORG Sat Jul 12 09:44:12 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2088B37B40A for ; Sat, 12 Jul 2003 09:44:12 -0700 (PDT) Received: from web14005.mail.yahoo.com (web14005.mail.yahoo.com [216.136.175.121]) by mx1.FreeBSD.org (Postfix) with SMTP id CBE4843F3F for ; Sat, 12 Jul 2003 09:44:11 -0700 (PDT) (envelope-from dcastro5@yahoo.com) Message-ID: <20030712164411.51810.qmail@web14005.mail.yahoo.com> Received: from [200.52.193.3] by web14005.mail.yahoo.com via HTTP; Sat, 12 Jul 2003 09:44:11 PDT Date: Sat, 12 Jul 2003 09:44:11 -0700 (PDT) From: Diego Castro To: kanematsu , freebsd-newbies@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: ports installation error X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 16:44:12 -0000 kanematsu You are running out of swap space. Jul 5 10:47:16 ws kernel: swap_pager: out of swap space Jul 5 10:47:17 ws kernel: swap_pager_getswapspace: failed Jul 5 10:47:21 ws kernel: pid 9345 (ld), uid 0, was killed: out of swap space __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com