Thanks for the help, I have read the manual that comes with Apache
especially the sections about mod_alias and the Alias directive and
find it totally confusing.
So I did a 'ln -s /usr/doc /usr/local/www/doc' set up a link to
http://localhost/doc and Im now getting the error msg
'HTTP Error 403 - Forbidden' do I have to use samba to share
this directory?

Cheers Buck

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 26 March 2000 16:58
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: apache problems



I replied earlier and just realized that my replies went directly to
the original posters and not to the list. <sigh> That means that when I
told you (Buck) to see my other reply, you can't.

Here is a summary:

For the entire /usr/doc tree you can use either the alias directive as
suggested by the other person who replied to this message, or you can
also 'ln -s /usr/doc /usr/local/www/doc'. requests for
http://localhost/doc will then get you a directory listing of the
/usr/doc tree (unless you are very industrious and create an index.html
with links to whatever you actually want access to in that tree).

For viewing man pages on your server you need to locate and install the
'man2html' package for your distribution. It can be used as a CGI and
its man page explains it quite well.

Gerald

On 26 Mar, buck wrote:
> Hi all,
>
> I am new to linux and trying to set up a web server, (apache) I have
created
> a page which
> The whole of my local net can access. The main problem is that I want to
> create an http link
> To my man pages so I can access them through any computer on my network.
> I can read them through telnet but I would just like to have them on my
> intranet page.
> Its not just man pages, if possible the hole of /usr/doc I would like to
> have available.
> Do I have to move /usr/doc/* to /usr/local/www ? /usr/local/www is my
> document root.
>
> Any help would be gratefully appreciated.
>
> Cheers Buck

--
'69 Bug (Airball, the Rolling Basket Case)

Have a look at my online store for gift ideas:
<a HREF="http://shop.affinia.com/phorce1/Store/"></a>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to