On 6/14/07, Mumia W. <[EMAIL PROTECTED]> wrote:
On 06/14/2007 02:24 AM, whitsey wrote:
> Mumia W. wrote:
>> On 06/12/2007 09:38 PM, whitsey wrote:
>>> <Directory "/usr/local/apache2.0.54/bindist/cgi-bin">
>>>     AllowOverride None
>>>     Options None
>>
>> You need "Options ExecCGI" or (more probably) "Options +ExecCGI"
>
> The Apache/Tomcat documentation states that the "ScriptAlias"
> directive automatically assigns the alias as a cgi-bin, therefore all
> files within this directory are by default assigned as files to be
> executed.
>
> I did add this however is made no difference...

You're right. Your configuration code (without +ExecCGI) worked on my
system (Apache2, Debian 3.1 i386), so I can't say why it doesn't work
for you.


Interesting, I've been putting ExecCGI into options for years, thought
it was required.

Did some tinkering, commented out that option and Add-Handler which I
also thought was required and my cgi code still worked.

#Options ExecCGI
#AddHandler cgi-script .cgi

Then I found that if I commented out this line:

LoadModule cgi_module modules/mod_cgi.so

My cgi code no longer worked, it just displayed the source of my perl
code in the browser window.

Do you have a load module for mod_cgi in your httpd.conf file?

BTW - this was with Apache/2.2.4 on fedora 6.

Mike

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to