mharc-users

Re: A general overview

2003-08-08 14:38:11
On August 8, 2003 at 12:57, Warren Stevens wrote:

1. should I change my .qmail to deliver to an mbox file, and then tell
mharc where that file is (via ORGMAIL)?  This seems like what is
expected. 

Correct.  I have considered added direct support for maildir, but
it has yet to be done.

2. I do *not* pump the mail into procmail with mharc's custom
procmailrc, correct?

Correct.  The procmailrc.mharc file is used by mharc directly.

3. What directories that mharc creates during installation must I put
into my website?  just html and cgi-bin?  Do i need the mbox folder as
well?

The mbox directory is for the raw archives and is what the HTML
archives are based upon.  They are also used to support the downloading
of raw mail messages from the HTML archives.

There is flexibility on how you choose to configure your web server.
Mharc provides a template Apache configuration in the file
<mharc-root>/etc/apache.conf.  The minimum configuration is just
to have <mharc-root> accessible by the web server.  If it is not
already, you can define an Alias directive in httpd.conf to do so
(a quick way is to install mharc under the public_html directory
of the mharc user account).

Otherwise, you could define specific alias directives for the
directories:

  <mharc-root>/html
  <mharc-root>/mbox

And a ScriptAlias directive for <mharc-root>/cgi-bin (which is
already provided in the <mharc-root>/etc/apache.conf file).

Make sure to verify all the *_URL config.sh variables, especially
ROOT_URL, and change them if needed to reflect your configuration.
If you change them, run,

  make configure

under <mharc-root>.  It will update templates (including
<mharc-root>/etc/apache.conf) to reflect your changes.


4. what set of files do i need installed into the web directories?
I'm wary of putting all the *.cgi/*.cgi.in from cgi-bin/* there.
Thoughts?

The .in files are template files and are part of mharc configuration.
When you make changes to config.sh, you run,

  make configure

An all the .in files are processed to create the non-.in versions.
The .dist files are not needed unless you may want to revert back
to based defaults at sometime.

The CGI programs are used to provide the following archive functions:

  * Archive searching
  * Period navigation
  * Permanent bookmarking
  * Raw message extraction

All the cgi files are located in <mharc-root>/cgi-bin.  Therefore,
you only need to enable CGI execution in that directory.

--ewh

---------------------------------------------------------------------
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>