[Mailman-Users] Odd CGI problem
matt at giampapa.com
matt at giampapa.com
Sun Jan 15 06:58:30 CET 2006
Ok, fixed it... forgot to Load the cgi module.. duh
Thanks,
Matt
> Thanks Mark, unfortunately these changes still yield the same output. I
> didn't put 2 and 2 together about it just displaying the file. At least
> now I know apache isn't trying to execute it.
>
> Anyone else have an idea?
>
> Thanks,
> Matt
>
>> matt at giampapa.com wrote:
>>>
>>>I'm installing mailman on FreeBSD 6.0 from ports and using apache
>>> 2.0.55.
>>>I have the following in the virtual host definition.
>>>
>>> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
>>> ScriptAlias /pipermail/ "/usr/local/mailmain/archives/public/"
>>
>> This should be
>>
>> Alias /pipermail/ "/usr/local/mailmain/archives/public/"
>>
>> not ScriptAlias.
>>
>>
>>> <Directory "/www/lists/mailman">
>>
>>
>> This should be
>>
>> <Directory "/usr/local/mailman/cgi-bin">
>>
>>
>>> AllowOverride None
>>> Options Indexes FollowSymLinks ExecCGI
>>> Order allow,deny
>>> Allow from all
>>> </Directory>
>>> <Directory "/www/lists/pipermail">
>>
>> This should be
>>
>> <Directory "/usr/local/mailmain/archives/public">
>>
>>
>>> AllowOverride None
>>> Options Indexes FollowSymLinks ExecCGI
>>
>> Should be
>>
>> Options Indexes FollowSymLinks
>>
>>
>>> Order allow,deny
>>> Allow from all
>>> </Directory>
>>> AddHandler cgi-script .cgi
>>
>>
>> All this does is treat any files with .cgi extensions as cgi programs.
>> This is not normally reqired for Mailman.
>>
>>
>>>However, when I try to access /mailman/admin or /mailman/listinfo I get
>>>alot of garbage... then this
>>>
>>>Mailman CGI error!!!
>>>
>>>--with-cgi-gidwebCGImail--with-mail-gid-S%sThe Mailman CGI wrapper
>>>encountered a fatal error. This entry is being stored in your
>>> syslog:Group
>>>mismatch error. Mailman expected the %s wrapper script to be executed as
>>>group "%s", but the system's %s server executed the %s script as group
>>>"%s". Try tweaking the %s server to run the script as group "%s", or
>>>re-run configure, providing the command line option `%s=%s'.Failure to
>>>find group name %s. Try adding this group to your system, or re-run
>>>configure, providing an existing group name with the command line option
>>>%s.wwwlistinfodriverMailman cgi-wrapper (listinfo)$FreeBSD:
>>>src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19
>>>
>>>followed by more garbage.
>>
>>
>> It looks like what you are getting is the result of Apache 'displaying'
>> the contents of the wrapper instead of executing it.
>>
>> This may be the result of some of the above errors
>>
>>
>> --
>> Mark Sapiro <msapiro at value.net> The highway is for gamblers,
>> San Francisco Bay Area, California better use your sense - B. Dylan
>>
>>
>>
>>
>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe:
> http://mail.python.org/mailman/options/mailman-users/matt%40giampapa.com
>
> Security Policy:
> http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
>
>
>
More information about the Mailman-Users
mailing list