[Mailman-Users] apache configuration - newbie

Jon Carnes jonc at nc.rr.com
Mon Dec 9 17:27:09 CET 2002

On Mon, 2002-12-09 at 08:58, Denis Heitbrock wrote:
> hi,
> i'm running rh 8.0 with mailman-2.0.13-3 with apache 2.0.40-8 but i don't
> know how to configure the apache httpd.conf file.
> i did the following configuration but everytime i visit the url i got access
> forbidden.
> ScriptAlias /mailman/ "/var/mailman/cgi-bin/"
> <Directory "/var/mailman/cgi-bin">
>         Options ExecCGI
>         AllowOverride None
>         Allow from from all
>         Order allow,deny
> </Directory>

Looks good - as long as mailman is installed to /var/mailman/..
Are you loading the alias module: "AddModule mod_alias.c"?

What are the rights on your /var/mailman/cgi-bin directory?
drwxrwsr-x    2 root     mailman     cgi-bin

  -rwxr-sr-x    1 root     mailman     admin
  -rwxr-sr-x    1 root     mailman     admindb
  -rwxr-sr-x    1 root     mailman     archives
  -rwxr-sr-x    1 root     mailman     edithtml
  -rwxr-sr-x    1 root     mailman     handle_opts
  -rwxr-sr-x    1 root     mailman     htdig
  -rwxr-sr-x    1 root     mailman     listinfo
  -rwxr-sr-x    1 root     mailman     options
  -rwxr-sr-x    1 root     mailman     private
  -rwxr-sr-x    1 root     mailman     roster
  -rwxr-sr-x    1 root     mailman     subscribe
  -rwxr-sr-x    1 root     mailman     updateTOC

What group (GID) does apache run as on your server, and did you setup
Mailman to use the proper GID?  See the FAQ if you don't understand this

Here is a copy of the httpd.conf Mailman setup from one of my working
installations.  It looks just like yours.

  # Set up ScriptAlias for Gnu Mailman service
  ScriptAlias /mailman/ "/home/mailman/cgi-bin/"

  <Directory "/home/mailman/cgi-bin/">
          AllowOverride None
          Options ExecCGI
          Order allow,deny
          Allow from all

  # Point to pipermail public mailing list archives
  Alias /pipermail/ "/home/mailman/archives/public/"


Good luck - Jon Carnes

More information about the Mailman-Users mailing list