From: "Mary Anderson" <[EMAIL PROTECTED]>

>
> Hi,
>    I pulled a tutorial off the web.  It told me to edit the httpd
> configure file as follows:
>
>     <directory \>
>         Options ...
>         ExecCGI...
>
>
>      AddHandler cgi-script  .cgi .pl
>
> With these changes I can run the following file
>
> #!C:/perl/bin/perl.exe
> print "Content-type:text/html\n\n";
> print "hello, world!";
>
> just fine.  What I cannot do is to run the file
>
> #!C:/perl/bin/perl.exe
> use CGI "standard";
> print start_html;
> print header;

You should first print the header, and only after that start printing the
HTML document.
So print first the line above.

Teddy


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to