From owner-freebsd-questions Mon Mar 4 2:25:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.54]) by hub.freebsd.org (Postfix) with ESMTP id 3D9B737B404 for ; Mon, 4 Mar 2002 02:25:26 -0800 (PST) Received: from Alex ([213.10.151.186]) by smtp02.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GSG2AB01.2MJ; Mon, 4 Mar 2002 11:25:23 +0100 Date: Mon, 4 Mar 2002 11:25:23 +0100 From: Alex X-Mailer: The Bat! (v1.53d) Reply-To: Alex X-Priority: 3 (Normal) Message-ID: <66507377.20020304112523@cybertron.tmfweb.nl> To: "Drew Tomlinson" Cc: "Toomas Aas" , "Joe & Fhe Barbish" , Subject: Re[2]: /usr/local/share/doc/ ? In-Reply-To: <003801c1c32d$d2841260$1e01a8c0@lc.ca.gov> References: <200203031726.g23HQNH07833@lv.raad.tartu.ee> <003801c1c32d$d2841260$1e01a8c0@lc.ca.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Drew, Monday, March 04, 2002, 4:36:48 AM, you wrote: >> > I can access these hmtl files from the FBSD command line by lynx >> > /usr/local/share/doc/postfix/basic.hmtl but lynx leaves so much to DT> be >> > desired in what it displays that I tried to use one of the lan >> > winbox's IE browser >> > http://10.100.100.111/usr/local/share/doc/postfix/basic.hmtl and >> > comes up not found. I use http://10.100.100.111/ to get to my apache >> > server. >> > >> > What am I doing wrong? >> >> Your Apache server doesn't serve the entire /usr tree out to the world >> (and you really don't want it to). >> >> Try adding 'Alias /postfix-docs /usr/local/share/doc/postfix' to your >> httpd.conf and restarting Apache. Then you should be able to access >> http://10.100.100.111/postfix-docs/basic.html from your winbox. DT> I put a symlink to /usr/local/share/doc in my apache directory. I don't DT> know the security implications of this but it does work. Apache (or DT> more likely, on of its included mods) creates a index page listing all DT> of the files and directories. Then you can just browse and read DT> whatever docs you want. Apache uses by default a symlink to find its root, so my guess is this isn't that insecure. I run apache and tomcat and have both going to the same directory in this way with out having to deal with two configuration files. -- Best regards, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message