httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Problem with CGI script
Date Sat, 30 Dec 2017 15:48:47 GMT
On Sat, Dec 30, 2017 at 9:49 AM, mahmood n <nt_mahmood@yahoo.com> wrote:
>>Missing SetHandler cgi-script or similar.
>
>
>
> I added “SetHandler cgi-script” above the DirecotryIndex. The web browser
> now seems to work fine as I don’t see the traditional folder structure.
>
>
>
> What about messages like this in the error.log
>
>
>
> [Sat Dec 30 18:10:14.142417 2017] [cgi:error] [pid 20329] [client
> 37.33.62.129:50963] attempt to invoke directory as script:
> /var/www/html/rocks/7.0/install/rolls/hpc/


You need to scope the SetHandler/AddHandler to just the things that
are actually CGI.  Check the manual.
>
>
>
>
>
> Regards,
>
> Mahmood
>
>



-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message