Date: Sat, 8 Jan 2000 11:42:46 -0700 From: "Duke Normandin" <01031149@3web.net> To: <freebsd-questions@FreeBSD.ORG> Subject: Re: Apache DocumentRoot Message-ID: <017401bf5a1e$9b66fd80$189cc5d1@webserver>
next in thread | raw e-mail | index | archive | help
From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017401bf5a1e$9b66fd80$189cc5d1>