"A.Ramesh" proclaimed:
> Iam trying to condigure a directory for both html and cgi files.
> but when i configure it for html it is asking for download for .cgi file
> instead of executing it.
> when i configure it for cgi it is giveing internal server error when iam
> trying to access html files.
> How to configure both for same directory?

Add the following line to srm.conf:

AddHandler cgi-script .cgi

This tells your Apache server that anything ending in a .cgi (EVEN
inside a directory containing HTML files) is to be treated as a CGI
script and executed.

Thaths
-- 
thaths at aunet dot org                     http://www.aunet.org/thaths/
      Recently un-indentured Slave and Compounder Without Borders

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to