Re: [users@httpd] Need help getting perl/cgi to work with Windows apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Mary Anderson" <mfanderson@xxxxxxxxxxx>

>
> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux