Hi Gaurav,

I did not read your earlier email(s) but just the httpd.conf file you
enclosed.

On line (if I counted correctly) 81:
   AddHandler  cgi-script    .cgi

Then on line 105:
   AddHandler  cgi-script    .pl

Should 105 be:
   AddHandler  perl-script   .pl

This is a guess, all my web experience is on an OS/390 and Apache is new
to me.

Regards,
 kobe



Gaurav Agarwal wrote:
> 
> This is in reference to the query i posted earlier on this mailing list.
> After sufficient amount of fiddling with the httpd.conf file, i have come to
> a point where on trying to execute a .cgi file in browser, i get the 403
> Forbidden Error. I have tried my best, and also went thru the whole apache
> manual, but to no avail.i am attaching the httpd.conf file herewith, and i
> would appreciate if someone would help me out ...
> I am sorry if the attachment took a bit longer to download, but that was the
> only way out for me...
> Thanks a lot in advance,
> Guarav
> 
> --- original message ---
> >>I am using Apache under Red-Hat 6. it is configured
> >>properly, and displays the .htm files
> >>correctly, but when i try to run a .cgi executable,
> >>it either shows the script source, ar if i
> >>rename the script to .pl the browser gives the save-file-as window.
> >>I read the Apache GAQ, and added
> >>AddHandler cgi-script .cgi
> >>and also the ExecCGI option, using the comanache editor (actually i even
> edited the file by
> >>haned, so i am sure i put it n the proper place.)
> >>The script was chmodded as 775.
> >>Thanks a lot,
> >>Gaurav.
> 
>   ------------------------------------------------------------------------
>                  Name: httpd.conf
>    httpd.conf    Type: unspecified type (application/octet-stream)
>              Encoding: quoted-printable

Reply via email to