tarballed
August 29th, 2003, 19:57
Alright...im rough around the edges with apache, but im learning. :0

Im working with mailman as my mailing list. I've followed the README files as they suggested. Now im trying to get apache to server up the pages for mailman, but its not working...

Running apache 2.x

I put the following into httpd.conf per the readme:

[code:1:01026d53d7]ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/

Alias /pipermail/ /usr/local/mailman/archives/public/[/code:1:01026d53d7]

When I go to: http://localhost/mailman I get object cannot be find...

Quick tail of the error log has:

[code:1:01026d53d7][Fri Aug 29 15:46:41 2003] [error] [client 192.168.1.90] Directory index forbidden by rule: /var/www/html/
[Fri Aug 29 15:46:45 2003] [error] [client 192.168.1.90] File does not exist: /var/www/html/mailm[/code:1:01026d53d7]

Now im not great at apache, but to me, its looking in the wrong place. So whats the best way to tell apache to look in the right place ?

Tarballed

pick-master
August 31st, 2003, 18:02
[code:1:2059aac4b1][Fri Aug 29 15:46:41 2003] [error] [client 192.168.1.90] Directory index forbidden by rule: /var/www/html/
[Fri Aug 29 15:46:45 2003] [error] [client 192.168.1.90] File does not exist: /var/www/html/mailm[/code:1:2059aac4b1]



The first error comes from not allowing indexing on a directory, which is a good thing from a security standpoint.

It can be changed from "Options" by adding the word "Indexes" and then restart Apache

For the second error see if the default file (ex: index.html, Welcome.html, index.php) in /mailman/ exists in "DirectoryIndex" list. If not put it there and restart Apache

All these chages should be done in httpd.conf. Last but not least before you ever make changes to httpd.conf make a backup of it. ;) I learned it the hard way.