httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: [users@httpd] cgi
Date Sat, 05 Jun 2004 09:08:47 GMT


Barth (John) Jones wrote:

> I'm trying to test a cgi script on my Apache2Triad server installed on 
> a WindowsXPPro platform.  My cgi-bin is in my server root, which is 
> c:/apache2triad/, and I have my ScriptAlias set to the following:

[snip]

>
> Can somebody please explain where I'm going wrong?  I'm pretty 
> sure the testcgi.pl code is ok but here it is just in case (it should 
> throw back a blank page):
>  
> #!/usr/local/bin/perl
>  


Please change to the right path on your PC, not use a wrong path from Unix.

Best

Bao

>     use CGI ':standard';
>  
>     print header();
>     print start_html();
>  
>     for $i (param()) {
>         print "<b>", $i, "</b>: ", param($i), "<br>\n";
>     }
>  
>     print end_html();
>  
> Thanks



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


Mime
View raw message