Re: ap_log_error dumps on apache start with apache 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. 

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]

  Powered by Linux