Hi, Thanx for the interest, though i tried all the suggestions posted on
this list, but till now i haven't got a solution, the browser now says
forbidden, which (i think ) means that the server is trying to execute but
has somewhere restriction...
I am in a big fix now, since i am not able to do my work without cgi working
properly,
I will be extremely thankful if you help me sort it out...'
Thanks once again,
Gaurav.
> 1. What directory were you running the .cgi script from?
1. i am running the script file from /home/httpd/html/ i also tried running
it from /home/httpd/html/ScriptAlias/
but both now give Forbidden error message,
> 2. What language is the .cgi script written in (I surmise perl)?
2. Yes, Perl
> 3. What are the permissions of the cgi script (are they still
> 755, which is
> correct)? What is its ownership (should NOT be root)?
3.permissions are 755, actually, the group and owner were root, bu i changed
it to other users as well as nobody, but still it gives the forbidden error.
> 4. What are the permissions of the directory it is in (should also be 755,
> as I recall)?
4. yes, the directory was chmodded to 755
> 5. Do you have any other configuration files present (such as srm.conf or
> access.conf)? apache switched from using multiple config files to using a
> single config file, but you don't say what apache version you are running,
> so I don't want to assume too much here.
5. my version of apache works with only one httpd.conf file , it doesen't
need srm.conf etc...
> 6. Can you run the same .cgi script from the command line? Is it possible
> that the script itself contains a bug?
6. The script runs fine from command line.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Olszewski
> Sent: Sunday, September 05, 1999 8:22 PM
> To: Gaurav Agarwal; [EMAIL PROTECTED]
> Subject: Re: httpd.conf
>
>
> The httpd.conf file you attached looks right to me (the
> suggestion from Kobe
> was wrong - you DO tell apache that a .pl extension is a cgi, unless you
> have the perl module itself installed, which you don't seem to).
> I'd guess a
> different problem, so please check:
>
>
> At 04:27 PM 9/5/99 +0530, 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.
> [rest deleted]
>
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski -- Han Solo
> Palo Alto, CA [EMAIL PROTECTED]
> ----------------------------------------------------------------
>
>