[users@httpd] Potential Bug in mod_file_cache.c

2012-06-13 Thread Ken Cheung
I observed a code clone in the following files. The second and third functions type cast the object after allocation using "apr_palloc" while the first function does not. I wonder if this is necessary in the function "create_server_config". Hope it helps. function : create_server_config @ (file

[users@httpd] Lost a server ... was working fine

2012-06-13 Thread Lester Caine
While I have moved many of the server setups to Apache2.4.x with PHP5.4.x, I'd left one with 2.2 and PHP5.3 as I did not have the time to check out all of the mapping display system. This machine has just stopped working and I don't think I updated anything before it happened. SUSE12.1, Apache

Re: [users@httpd] ProxyPass question

2012-06-13 Thread Daniel Ruggeri
On 6/13/2012 3:52 PM, Janos Dohanics wrote: > Thanks Anne, this was what I needed. > > However, I got a new problem: I also want to protect the / directory > with .htaccess, and that works fine. I assumed that this will also > protect /Camera - evidently, not. > > Is there a way to force authentica

Re: [users@httpd] ProxyPass question

2012-06-13 Thread Janos Dohanics
On Wed, 13 Jun 2012 13:20:50 +0200 Anne Blankert wrote: > If I understand your question correctly, think you need to configure: > > ProxyPass /Camera/ http://10.10.10.249:7000/ > ProxyPass /discover.cgi http://10.10.10.249:7000/discover.cgi > > > The ProxyPassReverse lines work only for redire

Re: [users@httpd] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

2012-06-13 Thread Michael Felt
started with php build. 1st real error is a syntax error in the embedded sqlite. After building an external version of sqlite (3.6.22 was the last one I had downloaded, haven not looked for a new one) I am stopping for the night. Will keep posted. Question: what are the minimum modules (e.g. gd,

Re: [users@httpd] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

2012-06-13 Thread Michael Felt
forgot to mention: no have not tried to compile php against 2.4.x yet. Will setup a test machine soon to try. On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt wrote: > I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2. > > The important thing I noticed is that if you compile apr with gcc you m

Re: [users@httpd] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

2012-06-13 Thread Michael Felt
I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2. The important thing I noticed is that if you compile apr with gcc you must compile httpd with gcc as well, and v.v. Noone noticed when they were "bundled" I expect. I also have a buildaix.ksh for both apr and apr-util, but I do not know if t

Re: [users@httpd] Access rules in an intranet

2012-06-13 Thread Anam Ali Khan
Hi, Insert "Directory" block in virtual host container (configuration). It seems you have added in that area where option is not allowed. -Anam From: Luís de Sousa To: users@httpd.apache.org; Anam Ali Khan Sent: Wednesday, 13 June 2012, 11:52 Subject: Re:

RE: [users@httpd] Attack on my reverse proxy server

2012-06-13 Thread Ruiyuan Jiang
Thanks Matus Actually we see a lot of POST command from lots different IPs around the world and our site was took down (very slow). -Original Message- From: Matus UHLAR - fantomas [mailto:uh...@fantomas.sk] Sent: Tuesday, June 12, 2012 7:05 AM To: users@httpd.apache.org Subject: Re: [us

RE: [users@httpd] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

2012-06-13 Thread Brian Gaber
Michael, I will try your buildaix.ksh script. I have been using IBM's compiler (xlc, cc_r, cc). On related question, Have you successfully compiled PHP against Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail at some point. Against Apache 2.2.x I have not pr

Re: [users@httpd] ProxyPass question

2012-06-13 Thread Anne Blankert
If I understand your question correctly, think you need to configure: ProxyPass /Camera/ http://10.10.10.249:7000/ ProxyPass /discover.cgi http://10.10.10.249:7000/discover.cgi The ProxyPassReverse lines work only for redirects. /discover.cgi is not a redirect, but probably inside the content

Re: [users@httpd] Uncompressing incoming requests

2012-06-13 Thread Abhi Auradkar
Hi Nick,    I have one more module(weblogic apache plugin) loaded. I am not sure what it does and I don't have the source code for it.  Is there a way to tell apache that always invoke mod_deflate before it calls any other filters?  Thanks, From: Nick Kew To:

[users@httpd] ProxyPass question

2012-06-13 Thread Janos Dohanics
Hello List, I need to proxy a DVR's built-in web server. I have this in httpd-ssl.conf: ProxyPass /Camera/ http://10.10.10.249:7000/ ProxyPassReverse /Camera/ http://10.10.10.249:7000/ The DVR's web page gets displayed - but not all of it. Here is the snippet of the log file: 141.158.70.143 - -

Re: [users@httpd] Access rules in an intranet

2012-06-13 Thread Luís de Sousa
Hi Eric, For each access to the phppgadmin folder I'm getting this line at the error log: 158.64.4.14 - - [13/Jun/2012:08:51:21 +0200] "GET /phppgadmin/ HTTP/1.1" 403 510 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0" It doesn't say much to me. Thank you for a