From owner-freebsd-questions Sat Jan 8 13:22:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.cybersurf.net (smtp1.cybersurf.net [209.197.145.111]) by hub.freebsd.org (Postfix) with ESMTP id 27975151FE for ; Sat, 8 Jan 2000 13:22:24 -0800 (PST) (envelope-from 01031149@3web.net) Received: from webserver ([209.197.156.24]) by smtp1.cybersurf.net (Netscape Messaging Server 4.05) with SMTP id FO1CRC00.UXM for ; Sat, 8 Jan 2000 14:23:36 -0700 Message-ID: <017401bf5a1e$9b66fd80$189cc5d1@webserver> From: "Duke Normandin" <01031149@3web.net> To: Subject: Re: Apache DocumentRoot Date: Sat, 8 Jan 2000 11:42:46 -0700 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 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Date: Saturday, January 08, 2000 12:09 AM Subject: Re: Apache DocumentRoot >Duke Normandin <01031149@3web.net> wrote in list.freebsd-questions: > > Just installed Apache+PHP. Will be using it to begin with, exclusively fr > > local development. Where should my DocumentRoot be in Unix/FBSD? I've got > > Xitami/PHP/mySQL on my win95 HDD. Xitami simplifies it by insisting on > > either /webpages or /cgi-bin. TIA! > >I think, by default the Apache port assumes that your Document- >Root is at /usr/local/share/apache/htdocs for static pages, and >/usr/local/share/apache/cgi-bin for CGI programs and scripts. >You can change these directories in your Apache config, which >is /usr/local/etc/apache/apache.conf (you'll have to modify >that file to fit your own needs anyway). > >Use the command ``apachectl configtest'' to check the syntax of >your config file after you've done any modifications. Then use >``apachectl restart'' to restart Apache, in order to let any >modifications take effect. Watch Apache's error_log file >afterwards, in case any problems arise from your modifications. > >Regards > Oliver As usual, an extremely informative and *clear* answer! I'm grateful, but green with envy...... where did you get all this knowledge? Any chance of a Star Trek Vulcan mind probe/transfer? ;-) regards........-duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message