Re: [users@httpd] Mod_Status : Empty Client / Protocol / Vhost / Request Columns

2016-04-13 Thread Yann Ylavic
On Wed, Apr 13, 2016 at 6:53 PM, Ken  wrote:
> I really hope that this is a bug and not "now working as intended".

Thanks for reporting, fixed in [1], will propose a backport to the
next 2.4 release.

Regards,
Yann.

[1] http://svn.apache.org/r1739008

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Mod_Status : Empty Client / Protocol / Vhost / Request Columns

2016-04-13 Thread Eric Covener
On Wed, Apr 13, 2016 at 3:46 PM, Ken  wrote:
> The error logs contain no errors whatsoever. Using Firebug in FireFox shows
> empty 's. No errors or warning appear in console either.


Are you using mod_http2?  Worth a test w/o it.

-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Mod_Status : Empty Client / Protocol / Vhost / Request Columns

2016-04-13 Thread Ken
The error logs contain no errors whatsoever. Using Firebug in FireFox shows
empty 's. No errors or warning appear in console either.

All modules for Apache show they were last built on the same day 2.4.20 was
upgraded.



On Wed, Apr 13, 2016 at 12:23 PM, Otis DeWitt  wrote:

> I would check the error.log file for errors.
> Did you have a module compile on on the previous version that is not in
> 2.4.20?
>
> Also inspect the web page, by right clicking on the empty spot and choose
> inspect then refresh your page and see what RED errors you get in the
> console if any.
>
> Sent from my iPhone
>
> On Apr 13, 2016, at 12:53 PM, Ken  wrote:
>
> I recently upgraded to Apache 2.4.20 on FreeBSD and up until this update,
> everything has been working great with mod_status.
>
> However since the upgrade, unless an action is taking place (sending
> reply, closing connection, etc), the Client / Protocol / Vhost / Request
> columns are completely blank. Before upgrading to 2.4.20, those columns
> would show the last request information. Now when the action is finished,
> those 4 columns are blanked out.
>
> I have not made any changes to my configuration file(s) or upgraded
> anything else on my system. I just updated to the latest version of Apache
> 2.4 - and that's it.
>
> Here is a screenshot : http://i67.tinypic.com/21kgncl.png
>
> I really hope that this is a bug and not "now working as intended".
>
> Ken
>
>


Re: [users@httpd] Mod_Status : Empty Client / Protocol / Vhost / Request Columns

2016-04-13 Thread Otis DeWitt
I would check the error.log file for errors.
Did you have a module compile on on the previous version that is not in 2.4.20?

Also inspect the web page, by right clicking on the empty spot and choose 
inspect then refresh your page and see what RED errors you get in the console 
if any.

Sent from my iPhone

> On Apr 13, 2016, at 12:53 PM, Ken  wrote:
> 
> I recently upgraded to Apache 2.4.20 on FreeBSD and up until this update, 
> everything has been working great with mod_status.
> 
> However since the upgrade, unless an action is taking place (sending reply, 
> closing connection, etc), the Client / Protocol / Vhost / Request columns are 
> completely blank. Before upgrading to 2.4.20, those columns would show the 
> last request information. Now when the action is finished, those 4 columns 
> are blanked out.
> 
> I have not made any changes to my configuration file(s) or upgraded anything 
> else on my system. I just updated to the latest version of Apache 2.4 - and 
> that's it.
> 
> Here is a screenshot : http://i67.tinypic.com/21kgncl.png
> 
> I really hope that this is a bug and not "now working as intended".
> 
> Ken


[users@httpd] Mod_Status : Empty Client / Protocol / Vhost / Request Columns

2016-04-13 Thread Ken
I recently upgraded to Apache 2.4.20 on FreeBSD and up until this update,
everything has been working great with mod_status.

However since the upgrade, unless an action is taking place (sending reply,
closing connection, etc), the Client / Protocol / Vhost / Request columns
are completely blank. Before upgrading to 2.4.20, those columns would show
the last request information. Now when the action is finished, those 4
columns are blanked out.

I have not made any changes to my configuration file(s) or upgraded
anything else on my system. I just updated to the latest version of Apache
2.4 - and that's it.

Here is a screenshot : http://i67.tinypic.com/21kgncl.png

I really hope that this is a bug and not "now working as intended".

Ken


[users@httpd] TELEX COPY

2016-04-13 Thread Dien-Foon Wu
Hello,

Please find the attached TT payment for your reference only.

Best Regards.
<<< text/html; charset=US-ASCII; name="REMITTANCE COPY.html": Unrecognized >>>

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Not able to make .so file during install apache-2.4.18

2016-04-13 Thread Hemant Chaudhary
Hi

No even with --enable-so=yes, having the same error :(
error is
 C
annot load modules/mod_authn_file.so into server: dlopen
(6CA04E70->/home/hemant
/testC/apache/modules/mod_authn_file.so, 5):\nFileSystem Error 4002 on File
/hom
e/hemant/testC/apache/modules/mod_authn_file.s\no

On Wed, Apr 13, 2016 at 2:55 PM, Hemant Chaudhary <
hemantdude.chaudh...@gmail.com> wrote:

> I am trying with -enable-so=yes
>
> On Wed, Apr 13, 2016 at 2:48 PM, Yann Ylavic  wrote:
>
>> On Wed, Apr 13, 2016 at 10:56 AM, Hemant Chaudhary
>>  wrote:
>> > Here is the config.log
>>
>> Possibly the same file with --enable-so=yes configured?
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>


[users@httpd] mod_ext_filter with Mono problem

2016-04-13 Thread Tero Armando De La Rosa

Hello,

I'm trying to create a simple Mono program that is configured as an external 
filter that simply reads from stdin and writes to stdout a modified version of 
a media file (images, videos...).

Prior to reading from stdin I'm trying to craft a POC which simply replaces all 
requests' content with a hardcoded file ("Capture.PNG" in my case).

The problem is that a timeout always occurs when I do this.

[Wed Apr 13 11:26:51.906231 2016] [ext_filter:error] [pid 1899:tid 
139929490360064] (70007)The timeout specified has expired: [client 
10.0.216.137:15328] AH01466: apr_file_read(child output), len 
18446744073709551615
[Wed Apr 13 11:26:51.906342 2016] [ext_filter:error] [pid 1899:tid 
139929490360064] (70007)The timeout specified has expired: [client 
10.0.216.137:15328] AH01468: ef_unified_filter() failed


However, if I replace the filter line with this: "/bin/cat 
/var/www/html/Capture.PNG" it will always work correctly.

Can anyone shed some light on this? Thank you in advance.

PD. Find enclosed the source code and apache configuration I'm using. I'm also 
running Apache 2.4.7 on Ubuntu Server 14.04 which comes by default.
using System;
using System.IO;

namespace ApacheFilterExample1
{
class Program
{
#if WINDOWS
const string Sample1 = @"C:\Apache24\htdocs\Capture.PNG";
#else
const string Sample1 = "/var/www/html/Capture.PNG";
#endif

static int Main(string[] args)
{
try
{
byte[] bytes;

using (Stream output = System.Console.OpenStandardOutput())
{
bytes = File.ReadAllBytes(Sample1);
output.Write(bytes, 0, bytes.Length);
}

Console.Error.WriteLine(String.Format("{0} bytes written.", 
bytes.Length.ToString()));

return 0;
}
catch (Exception e)
{
Console.Error.WriteLine(e.Message);

return -1;
}
}

}
}
using System;
using System.IO;

namespace ApacheFilterExample2
{
class Program
{
#if WINDOWS
const string Success = @"C:\Apache24\htdocs\Capture.PNG";
const string Failure = @"C:\Apache24\htdocs\Capture2.PNG";
#else
const string Success = "/var/www/html/Capture.PNG";
const string Failure = "/var/www/html/Capture2.PNG";
#endif

static int Main(string[] args)
{
try
{
 if nothing is being piped in, then exit  (not working 
correctly)
//if (!IsPipedInput())
//{
//Console.Error.WriteLine("Nothing being piped in, 
waiting...");
//Thread.Sleep(250);
////return 0;
//}

Console.Error.WriteLine("Waiting for input.");

byte[] fileBytes;

if (System.Console.In.Peek() != -1)
{
Console.Error.WriteLine("Input available, opening 
stream...");

using (Stream s = System.Console.OpenStandardInput())
{
Console.Error.WriteLine("Input stream open, reading 
from stream...");

byte[] buffer = new byte[4096];
using (MemoryStream ms = new MemoryStream())
{
int read;

while ((read = s.Read(buffer, 0, buffer.Length)) > 
0)
{
ms.Write(buffer, 0, buffer.Length);
}

fileBytes = ms.ToArray();

Console.Error.WriteLine(String.Format("{0} bytes 
read from input stream. Opening output stream...", 
fileBytes.Length.ToString()));
}
}

using (Stream output = System.Console.OpenStandardOutput())
{
fileBytes = File.ReadAllBytes(Success);

output.Write(fileBytes, 0, fileBytes.Length);

Console.Error.WriteLine(String.Format("{0} bytes 
written to output stream.", fileBytes.Length.ToString()));
output.Dispose();
}

}
else
{
Console.Error.WriteLine("Error, no data available to 
read.");

using (Stream output = System.Console.OpenStandardOutput())
{
fileBytes = File.ReadAllBytes(Failure);

output.Write(fileBytes, 0, fileBytes.Length);

Console.Error.WriteLine(String.Format("{0} bytes 
written to output stream (NO INPUT).", fileBytes.Length.ToString()));

Re: [users@httpd] Not able to make .so file during install apache-2.4.18

2016-04-13 Thread Hemant Chaudhary
I am trying with -enable-so=yes

On Wed, Apr 13, 2016 at 2:48 PM, Yann Ylavic  wrote:

> On Wed, Apr 13, 2016 at 10:56 AM, Hemant Chaudhary
>  wrote:
> > Here is the config.log
>
> Possibly the same file with --enable-so=yes configured?
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [users@httpd] Not able to make .so file during install apache-2.4.18

2016-04-13 Thread Yann Ylavic
On Wed, Apr 13, 2016 at 10:56 AM, Hemant Chaudhary
 wrote:
> Here is the config.log

Possibly the same file with --enable-so=yes configured?

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Not able to make .so file during install apache-2.4.18

2016-04-13 Thread Yann Ylavic
On Wed, Apr 13, 2016 at 10:39 AM, Yann Ylavic  wrote:
> Does adding --enable-so=yes make a difference?

Otherwise, please attach your config.log file.

>
> Regards,
> Yann.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Not able to make .so file during install apache-2.4.18

2016-04-13 Thread Yann Ylavic
Hi,

On Wed, Apr 13, 2016 at 9:15 AM, Hemant Chaudhary
 wrote:
>
> CFLAGS="-Wextensions  -Wv -D__TANDEM"; export CFLAGS
> "./configure" \
> "--prefix=/home/hemant/testC/apache" \
> "--with-included-apr" \
> "--with-pcre=/home/hemant/testC/apache/httpd-2.4.18/srclib/pcre/pcre2-config"
> \
> "--enable-authnz-fcgi" \
> "--enable-mods-shared=all cgi" \
> "--enable-mpms-shared=all" \
> "--enable-suexec=shared" \
> "CFLAGS=-Wextensions -Wv -D__TANDEM" \
> "$@

Does adding --enable-so=yes make a difference?

Regards,
Yann.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Not able to make .so file during install apache-2.4.18

2016-04-13 Thread Hemant Chaudhary
Hello
I tried with different configuration command and get the same error

Configuration command ...

#! /bin/sh
#
# Created by configure

CFLAGS="-Wextensions  -Wv -D__TANDEM"; export CFLAGS
"./configure" \
"--prefix=/home/hemant/testC/apache" \
"--with-included-apr" \
"--with-pcre=/home/hemant/testC/apache/httpd-2.4.18/srclib/pcre/pcre2-config"
\
"--enable-authnz-fcgi" \
"--enable-mods-shared=all cgi" \
"--enable-mpms-shared=all" \
"--enable-suexec=shared" \
"CFLAGS=-Wextensions -Wv -D__TANDEM" \
"$@

During building got this " Assuming installing a .so rather than a libtool
archive."

Error is here while run apachectl -k start
"Cannot load modules/mod_authn_file.la into server: dlopen
(6CA04E70->/home/hemant /testC/apache/modules/mod_authn_file.la,
5):\nFileSystem Error 4013 on File
/home/hemant/testC/apache/modules/mod_authn_file.l\na "

Thanks
Hemant


On Wed, Apr 13, 2016 at 10:32 AM, Hemant Chaudhary <
hemantdude.chaudh...@gmail.com> wrote:

> Hi Yann
> My configuration command is
>
> #! /bin/sh
> #
> # Created by configure
>
> CFLAGS="-Wextensions -Wv -D__TANDEM "; export CFLAGS
> "./configure" \
> "--prefix=/home/hemant/testC/apache" \
> "--with-included-apr" \
> "--with-pcre=/home/hemant/testC/apache/httpd-2.4.18/srclib/pcre/pcre2-config"
> \
> "--enable-shared" \
> "CFLAGS=-Wextensions -Wv -D__TANDEM" \
> "$@"
>
>
> On Tue, Apr 12, 2016 at 4:10 PM, Yann Ylavic  wrote:
>
>> Hello Hemant,
>>
>> On Tue, Apr 12, 2016 at 10:58 AM, Hemant Chaudhary
>>  wrote:
>> > While installing apache-2.4.18 on Non Stop HP,  I am not able to create
>> .so
>> > file(shared file) which is required in httpd.conf. It is creating  '.a '
>> > file in modules but not ' .so ' . Please help me through this.
>>
>> Did you compile Apache httpd by yourself?
>> If so, which "./configure ..." command line was used?
>>
>> Regards,
>> Yann.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>