Re: ap_log_error dumps on apache start with apache 2.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
- Subject: Re: ap_log_error dumps on apache start with apache 2.4
- From: Can Le <lecandotnet@xxxxxxxxx>
- Date: Fri, 16 Sep 2016 07:08:01 -0500
- In-reply-to: <CALK=YjMrbFFbqMAGKeFNv6F5tYCywyUpZP=p2oJpUs-FfgOPcQ@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
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
In httpd.conf, I have had ServerName:
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 :
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.
On Friday, September 16, 2016, Eric Covener <covener@xxxxxxxxx> wrote:
On Fri, Sep 16, 2016 at 1:20 AM, megha chauhan <megha92c@xxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--
http://www.lecan.net
[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]