[Mailman-Users] Apache Alias

Scott Anderson sda at mail.torand.org
Mon Feb 4 15:23:14 CET 2002

I am making the assumption that you are not versed in Apache.

the current apache server software uses only the httpd.conf file. Older 
versions have three files: srm.conf, access.conf and httpd.conf.

I run apache 1.3.14 and it still has the three files broken out, so I am 
assuming that is how yours is.

Either way, the directive is in the httpd.conf file

edit this files and look for a line something like this:

# Aliases: Add here as many aliases as you need (with no limit). The 
format is
# Alias fakename realname

The directive below allows you to alias the directories, in mine I have 
this for pipermail

Alias /pipermail/ /opt/mailman/archives/public/

<Directory "/opt/mailman/archives/public/">
     Options Indexes MultiViews FollowSymLinks
     AllowOverride None
     Order allow,deny
     Allow from all

The directory directive defines how the access to the directory. Look at 
the manual for a more indepth explaination.

Below this you should also find a ScriptAlias directive. This is how you 
alias your script directory

Mine looks like this:

ScriptAlias /mailman/ "/opt/mailman/cgi-bin/"

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

If you have any more questions let me know

Erik van der Meulen wrote:

> Dear List - this is a RTFM I know, but in case of Apache the FM is
> hudge, so I hope somebody can pull this right out of the hat...
> My Mailman (1.1) documentation reads:
>    Configure your Web server to point to the Pipermail public
>    mailing list archives:
>    For example, in Apache:
>      Alias /pipermail/ $prefix/archives/public/
> My question is: in what file does this go, and where exactly?
> I have access.conf and httpd.conf
> Other thing is that I would like to alias the name:
> www.myhost.nl/cgi-bin/mailman to something a little
> easier like www.myhost.nl/mailman. Again, I would
> like to know how to do this in Apache.
> Thanks a lot, best regards.
> --
>   Erik van der Meulen <e.van.der.meulen at avondel.nl>
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users

Scott D Anderson                      "Don't tell me I'm burning the
Collective                               candle at both ends--
Consultant                             tell me where to get more wax!!"
Work: (703) 734 5238  Pager: (888) 858-7243 x 105189
E-mail sda (at) colltech.com

More information about the Mailman-Users mailing list