Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 19:36:48 -0800
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        "Toomas Aas" <toomas.aas@raad.tartu.ee>, "Joe & Fhe Barbish" <barbish@a1poweruser.com>, <freebsd-questions@freebsd.org>
Subject:   Re: /usr/local/share/doc/ ?
Message-ID:  <003801c1c32d$d2841260$1e01a8c0@lc.ca.gov>
References:  <200203031726.g23HQNH07833@lv.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Toomas Aas" <toomas.aas@raad.tartu.ee>
To: "Joe & Fhe Barbish" <barbish@a1poweruser.com>;
<freebsd-questions@freebsd.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003801c1c32d$d2841260$1e01a8c0>