mharc-users

Re: Trouble installing MHArc

2003-02-01 17:09:31
Well I tried that and the browser can see the contents of the archive directory. Here is an example using lynx pointing at http://pk.fpen.org/archive :

                              Index of /archive

 Icon   Name                    Description
  _________________________________________________________________________
 [DIR]  Parent Directory
 [TXT]  COPYING
 [TXT]  INSTALL
 [TXT]  Makefile
 [TXT]  NEWS
 [TXT]  TODO
 [TXT]  VERSION
 [DIR]  bin/
 [DIR]  cgi-bin/
 [DIR]  doc/
 [DIR]  etc/
 [DIR]  html/
 [DIR]  lib/
 [DIR]  mbox/
  _________________________________________________________________________


    Apache/2.0.40 Server at pk.fpen.org Port 80

Commands: Use arrow keys to move, '?' for help, 'q' to quit, '<-' to go back.
  Arrow keys: Up and Down to move.  Right to follow a link; Left to go back.
 H)elp O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history list

I'm stuck.

Again, here is what I did:

 Perl install.py
 Pathname for mharc: /var/mharc/archive
 Root for URL: /archive
 edited config.sh to add my e-mail
 edited lists.def to add lists
 added "Include conf/httpd-mharc.conf" to httpd.conf
 cp /var/mharc/archive/etc/apache.conf /etc/httpd/conf/httpd-mharc.conf
 /etc/init.d/httpd restart

This way I get the

 "File does not exist: /var/www/html/archive"

Inserting "Alias /archive /var/mharc/archive" into /etc/httpd/conf/httpd-mharc.conf produces the results you see above.

Paul


At 3:04 PM -0600 2/1/03, Earl Hood wrote:
On February 1, 2003 at 13:40, Paul Kleeberg wrote:

 When I use my browser to go to http://pk.fpen.org/archives[/html], I
 get files not found.  Looking in the /var/log/httpd/errors.log file I
 see:

    File does not exist: /var/www/html/archives
    File does not exist: /var/www/html/archives/html

 But I thought it should be looking in /var/mharc/archives?

You probably need to add an Alias directive:

  Alias /archive /var/mharc/archives

Since /var/mharc/archives is not under DocumentRoot.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS


--
Paul Kleeberg, M.D.              O   o          paul(_at_)fpen(_dot_)org
Family Physicians' E-Net        -+---+-   Voice: 612-840-3744
5025 Mulcare Drive               |_o_|      Family Practice &
Columbia Heights, MN 55421 USA  / \|/ \  Information Services

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>