[Mailman-Users] cgi-bin permissions problems

Mark Sapiro msapiro at value.net
Tue Aug 22 20:09:20 CEST 2006


Jana Nguyen quoted an off list post.
>
>Jason Novotny wrote:
>
<snip>
>>
>>    but I still seem to get:
>>
>> [Mon Aug 21 14:48:06 2006] [error] [client 132.239.132.180] 
>> (13)Permission den
>> ied: exec of '/usr/local/mailman/cgi-bin/create' failed
>> [Mon Aug 21 14:48:06 2006] [error] [client 132.239.132.180] Premature 
>> end of s
>> cript headers: create
>>
>>
>> In my httpd.conf I have the following:
>>
>> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
>> Alias   /pipermail/ "/usr/local/mailman/archives/public/"
>>
>> ScriptAlias /cgi-bin/ "/var/www/sites/lists.gridsphere.org/cgi-bin/"
>>
>>    The weird thing is that I placed a "test" cgi script in the 
>> /cgi-bin/ alias and it executes fine. However when I place that same 
>> test script into /usr/local/mailman/cgi-bin/  it doesn't work and I 
>> get the same permissions problem from before....


Try adding

<Directory /usr/local/mailman/cgi-bin>
    Options +ExecCGI
</Directory>

to your httpd.conf.

Also, I don't know why you have quotes (") around the directory paths
in your Alias and ScriptAlias directives, but since your

ScriptAlias /cgi-bin/ "/var/www/sites/lists.gridsphere.org/cgi-bin/"

apparently works, I guess they don't do any harm.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list