You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Can Le <le...@gmail.com> on 2016/08/29 12:47:36 UTC
[users@httpd] Apache24 cgi
Hi friends,
Please help on Apache24 10cv httpd-2.4.23-win32 which is running on my
Windows 8.1 tablet 32 bits.
After installed, I coud have It works on htdocs with root document:
C:\Apache24\htdocs\index.html.
I could not open in browser for ip from ipv4
http://192.168.0.3, nor
http://localhost/index.html .
In httpd.conf, I have had ServerName:
http://192.168.0.3:80
and AddHandler cgi-script .cgi .pl
However, when I tested the sample file printenv.pl on my browser, the
output is a copy of old text file printenv.pl :
C:\Apache24\cgi-bin\printenv.pl
When I tested this sample cgi pl on command prompt for path above, I have
this perl sample program running with output from perl on black and white
terminal, without color from html:
<html><h2><font color=blue>Hello perl
My address box on browser is:
C:\Apache24\cgi-bin\printenv.html
So the shebang is good as :
#! /C:/Strawberry/bin/perl.
Please help me find what codes are needed to run CGI on httpd.conf on
Windows 8.1.
Thank you.
lecandotnet
On Sunday, August 28, 2016, Yann Ylavic <yl...@gmail.com> wrote:
> On Sun, Aug 28, 2016 at 7:51 PM, Michael Gordon <toby.sophie@gmail.com
> <javascript:;>> wrote:
> >
> > Just wait till you want to unsubscribe from the list!
> >
> > I have been trying for over 6 months and finally sent all "[users@httpd]"
> to
> > the Junk Folder.
> >
> [...]
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> <javascript:;>
>
> That's it...
>
> Regards,
> Yann.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org <javascript:;>
> For additional commands, e-mail: users-help@httpd.apache.org
> <javascript:;>
>
>
--
http://www.lecan.net