Date: Mon, 4 Mar 2002 13:54:23 -0500 From: "Joe & Fhe Barbish" <barbish@a1poweruser.com> To: "Joe & Fhe Barbish" <barbish@a1poweruser.com> Cc: "FBSDQ" <questions@FreeBSD.ORG>, <Michel@Weenink.com>, <bas@kompas-media.nl>, <toomas.aas@raad.tartu.ee>, <drew@mykitchentable.net> Subject: RE: /usr/local/share/doc/ ? Message-ID: <LPBBIGIAAKKEOEJOLEGOIEKCCJAA.barbish@a1poweruser.com> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOIEIACJAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
First of all I big thank you to all who followed this thread and replied with constructive information. My problem was I didn't know that apache had to be told to allow access to FBSD's directory path tree or had never thought about the security implications of doing so. For the archives here is the final solution I ended up using. I have the apache13-fp port installed. In the default apache httpd.conf configuration about three-fourths of the way into it is the following Aliases section. # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # <IfModule mod_alias.c> # This Alias will project the on-line documentation tree under /manual/ # even if you change the DocumentRoot. Comment it if you don't want to # provide access to the on-line documentation. # Alias /manual/ "/usr/local/share/doc/apache/manual/" <Directory "/usr/local/share/doc/apache/manual"> Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> This was doing exactly what I wanted, but just for the apache manual directory, where I wanted to do this for all the ports that posted their documentation in the same location. I modified these statements to look like this. Alias /FBSD-doc-manuals/ "/usr/local/share/doc/" <Directory "/usr/local/share/doc/"> Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from 10.100.100.2/29 </Directory> Now http://10.100.100.2/FBSD-doc-manuals/ brings up the directory tree starting at /usr/local/share/doc/ and shows all the on-line documentation for the ports I have installed. The added advantage of doing it this way is I do not have to do anything to get the on-line documentation for new ports I install in the future to show up. Thanks again for your help. Joe Barbish 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?LPBBIGIAAKKEOEJOLEGOIEKCCJAA.barbish>