httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Can Le <>
Subject Re: [users@httpd] ap_log_error dumps on apache start with apache 2.4
Date Fri, 16 Sep 2016 12:08:01 GMT
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:


I could not open in browser for ip from ipv4, nor
http://localhost/index.html .
In httpd.conf, I have had ServerName:
and AddHandler cgi-script .cgi  .pl

However, when I tested the sample file on my browser, the
output is a copy of old text file :


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:


 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.

On Friday, September 16, 2016, Eric Covener <> wrote:

> On Fri, Sep 16, 2016 at 1:20 AM, megha chauhan <
> <javascript:;>> wrote:
> > The same code is working for apache 2.2.
> Did you compile this code properly against 2.4 headers? ap_log_error
> is a macro in 2.4.  Your binary should only show ap_log_error_ as
> undefined with nm otherwise something is fishy.
> Also "r" is a very confusing variable name for a server_rec.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: <javascript:;>
> For additional commands, e-mail:
> <javascript:;>


View raw message