logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache24 cgi
Author
lecandotnet



Joined: 23 Aug 2016
Posts: 1
Location: Dallas

PostPosted: Mon 29 Aug '16 13:45    Post subject: Apache24 cgi Reply with quote

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
Back to top


Reply to topic   Topic: Apache24 cgi View previous topic :: View next topic
Post new topic   Forum Index -> Apache