Date: Mon, 4 Mar 2002 11:25:23 +0100 From: Alex <FreeBSD@cybertron.tmfweb.nl> To: "Drew Tomlinson" <drew@mykitchentable.net> Cc: "Toomas Aas" <toomas.aas@raad.tartu.ee>, "Joe & Fhe Barbish" <barbish@a1poweruser.com>, <freebsd-questions@freebsd.org> Subject: Re[2]: /usr/local/share/doc/ ? Message-ID: <66507377.20020304112523@cybertron.tmfweb.nl> In-Reply-To: <003801c1c32d$d2841260$1e01a8c0@lc.ca.gov> References: <200203031726.g23HQNH07833@lv.raad.tartu.ee> <003801c1c32d$d2841260$1e01a8c0@lc.ca.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66507377.20020304112523>