From owner-freebsd-questions Sun Mar 3 19:39:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay02.roc.frontiernet.net (alteon02g.roc.frontiernet.net [66.133.130.247]) by hub.freebsd.org (Postfix) with SMTP id 97A2F37B402 for ; Sun, 3 Mar 2002 19:39:25 -0800 (PST) Received: (qmail 32669 invoked from network); 4 Mar 2002 03:37:22 -0000 Received: from unknown (HELO blacklamb.mykitchentable.net) ([207.173.254.93]) (envelope-sender ) by relay02.roc.frontiernet.net (qmail-ldap-1.03) with SMTP for ; 4 Mar 2002 03:37:22 -0000 Received: from tagalong (unknown [165.66.11.102]) by blacklamb.mykitchentable.net (Postfix) with SMTP id C810CEE6F4; Sun, 3 Mar 2002 19:36:49 -0800 (PST) Message-ID: <003801c1c32d$d2841260$1e01a8c0@lc.ca.gov> From: "Drew Tomlinson" To: "Toomas Aas" , "Joe & Fhe Barbish" , References: <200203031726.g23HQNH07833@lv.raad.tartu.ee> Subject: Re: /usr/local/share/doc/ ? Date: Sun, 3 Mar 2002 19:36:48 -0800 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.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 ----- Original Message ----- From: "Toomas Aas" To: "Joe & Fhe Barbish" ; Sent: Sunday, March 03, 2002 9:25 AM Subject: Re: /usr/local/share/doc/ ? > Hi Joe! > > On 3 Mar 02 at 11:51 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 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. I put a symlink to /usr/local/share/doc in my apache directory. I don't know the security implications of this but it does work. Apache (or more likely, on of its included mods) creates a index page listing all of the files and directories. Then you can just browse and read whatever docs you want. HTH, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message