Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17891 - Apache produces a 403 FORBIDDEN error after Mailman emerge and apache.conf is updated...
Summary: Apache produces a 403 FORBIDDEN error after Mailman emerge and apache.conf is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Todd Berman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 14:32 UTC by Joe Brouhard
Modified: 2003-05-19 22:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Brouhard 2003-03-20 14:32:11 UTC
After emerging apache, postfix and mailman (masked), I encountered a 404 
Forbidden error.  I had run /var/mailman/bin/check_perms -f several times to no 
avail, so realized that it was an apache configuration problem.

Reproducible: Always
Steps to Reproduce:
1. emerge mailman, do not change mailman.conf in /etc/apache/conf/addon-modules
2. remove quotations from the ScriptAlias and Alias lines in mailman.conf
3. go to http://localhost/mailman/listinfo

Actual Results:  
404 forbidden error

Expected Results:  
Should have taken me to mailman listinfo pages

The /etc/apache/conf/addon-modules/mailman.conf setup is incorrect.  There 
should not be a <IfDefine> function to start the configuration at all.

I have posted an edited copy of what I am using and it works:

/etc/apache/conf/addon-modules/mailman.conf

 ScriptAlias /mailman/ /var/mailman/cgi-bin/

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

        Alias /pipermail/ /var/mailman/archives/public/

        <Directory "/var/mailman/archives/public/">
                AllowOverride None
                Options ExecCGI FollowSymLinks
                Order allow,deny
                Allow from all
        </Directory>

I can be reached at jbrouhard@wkwebdesigns.com
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-21 03:21:30 UTC
404 = not found
403 is forbidden
Comment 2 Seth Chandler 2003-03-21 18:01:06 UTC
why is this assigned to me?  who keeps submitting this stuff to keychain?
Comment 3 Todd Berman (RETIRED) gentoo-dev 2003-05-19 22:00:10 UTC
Fixed.