[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Apache and CGI



user proclaimed:
> I have made the appropriate changed in the
> configuration files viz. acces.config, srm.config and httpd.config. 

Please send me a copy of your config files by private email (DON'T email
them to the mailing list).

> But
> still I am getting error messages. I am attaching the error_log with
> this mail. Someone do let me know how do I go about doing it,
> 
>   ---------------------------------------------------------------------------
> [Tue Jul 20 17:07:14 1999] [error] (2)No such file or directory: exec of /home/devand/public_html/cgi-bin/missing_handler.cgi failed
> [Tue Jul 20 17:07:14 1999] [error] [client 127.0.0.1] Premature end of script headers: /home/devand/public_html/cgi-bin/missing_handler.cgi


Run your script (/home/devand/public_html/cgi-bin/missing_handler.cgi) from
the command line and see happens.  Also, send me a copy of your script.

BTW, put the following script in the cgi-bin directory and tell me what
happens when you try to go to that URL using the browser:


#########################Begin Script####################
#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "<H3>Hello World</H3>\n";
#########################End Script####################


Thaths
- -- 
        "I wore my extra loose pants for nothing. Nothing!"
                     -- Homer J. Simpson
Sudhakar C13n http://people.netscape.com/thaths/ Lead Indentured Slave

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------