All html to htdocs
Jerry McBride <mcbrides9 <at> comcast.net>
2004-06-08 16:19:14 GMT
I've begun a rather small project that will allow the use of apache
as the central server/repository for all the application documentation
installed via portage.
My reasons for doing this are two fold.
One, In a network setting it will allow the attached clients to save local
hard drive space by placing all the html documents on a central server.
Enabling clients to connect to a central document server also provides the
side benefits of everyone on the group having the same document version,
easy document version control, etc..
Two, allow for the consolidation of all documents and make them easily
available via a web browser accessing a central document index.
While this has obvious benefits for lan setting, it's also a nice add-on for
single users also. As a side benefit, I've found, indexed and made available
a lot of html documents that I dnd't even know I had...
Would anyone be interested in such a application?
All it does is; scans the local hard drive for all available html by looking
for "index.html". Once all the locations have been found, a simple index is
created and placed in /var/www/localhost/htdocs as indexall.html and then
modifies the existing index.html with pointer to the new index...
In order for apache to access the html, you have to place a link in /htdocs
pointing to the root dir of the new document or document tree. For
instance, to access documents under /usr/doc... you need to place a link in