"Lakshmi B. G." proclaimed:
> I have added the following lines in  httpd.conf
> 
> AddHandler cgi-script .cgi

That looks good.

> ScriptAlias /cgi-bin/ /umeshTest/cgi-bin/

This is fine too.

> <Directory /home/httpd/html/umeshTest/cgi-bin>
> Options ExecCGI
> SetHandler cgi-script
> </Directory>

Here be dragons.  In the ScriptAlias directive you are saying your server's
CGI script is under the directory /umeshTest/cgi-bin.  But in the Directory
directive you are allowing CGI access to
/home/httpd/html/umeshTest/cgi-bin.

Change that to:

<Directory /umeshTest/cgi-bin>
Options ExecCGI
SetHandler cgi-script
</Directory>

The Directory directive should be in access.conf and the AddHandler and
ScriptAlias directives should be in srm.conf

> now it is giving the following error
> 
> Forbidden
> 
> You don't have permission to access /umeshTest/cgi-bin/mail_form.cgi on
> this server.

Also try running the script from the command line and see if it runs
properly.  Another thing to help us debug the problem is the relevant error
messages logged in the error_log file (somewhere under /var/log) file.

Thaths
-- 
 "All right, his story checks out.  Marge, would you love me more if
    I were President?  'Cause I'll do it if it'll make you happy"
                    -- Homer J. Simpson
Sudhakar C13n    http://www.aunet.org/thaths/    Lead Indentured Slave

-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to