Re: [us...@httpd] Filter or Handler to look at content length and return custom error message suggestion

2010-11-17 Thread Mohit Anchlia
On Wed, Nov 17, 2010 at 4:50 PM, Eric Covener wrote: > On Wed, Nov 17, 2010 at 5:58 PM, Mohit Anchlia wrote: >> Apache 2: >> >> I have a requirement to look at content length and if it is greatar >> than desired size then return error message. So psuedo code is like: >> >> if content_length > 32G

Re: [us...@httpd] Filter or Handler to look at content length and return custom error message suggestion

2010-11-17 Thread Eric Covener
On Wed, Nov 17, 2010 at 5:58 PM, Mohit Anchlia wrote: > Apache 2: > > I have a requirement to look at content length and if it is greatar > than desired size then return error message. So psuedo code is like: > > if content_length > 32G > then >   if url contains /abc/ >   then >       echo "0|abc

[us...@httpd] SSL error message in Firefox

2010-11-17 Thread El Reggae Dancer
Hello, I'm running Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8l DAV/2 PHP/5.3.3 on my Solaris 10 server (Release : Solaris 10 10/09 s10x_u8wos_08a X86) The web server is working fine, but sometimes, when I try to get page using Firefox 3.6.12 (e.g : https://myserver.url/) I see an error pa

[us...@httpd] Filter or Handler to look at content length and return custom error message suggestion

2010-11-17 Thread Mohit Anchlia
Apache 2: I have a requirement to look at content length and if it is greatar than desired size then return error message. So psuedo code is like: if content_length > 32G then if url contains /abc/ then echo "0|abc|Bad length" # pipe delimited format that some clients api support

Re: [users@httpd] mod_proxy_http and input filters

2010-11-17 Thread Lawrence S K Ong
Igor, Thanks for the reply. Sorry, I did not include ProxyPassReverse in my initial post. The full "proxy" configurations are: ProxyPass /altlocation http://serverA/altlocation ProxyPass / http://defaultServer/ ProxyPassReverse / http://defaul

Re: [us...@httpd] HTTP PROCESS CONSUMING 100% cpu

2010-11-17 Thread Ravi Markil
Frank I am not sure,if it's a php script. But this xampp appln is tied up with Bromine test management tool. Here i am trying start the apache on which bromine tool works. Thanks Ravi. On Wed, Nov 17, 2010 at 12:46 PM, Frank Gingras wrote: > On 17/11/2010 3:39 PM, Ravi

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-17 Thread Jeroen Geilman
On 11/17/2010 10:23 PM, Ahmed Bakir wrote: Thanks for the responses! @jeroen: - There is no bandwidth difference between the connections. Both the client and the host are either running on the same machine or on the same LAN (I have tested on both and see the problem in both cases) - I have i

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-17 Thread Ahmed Bakir
Thanks for the responses! @jeroen: - There is no bandwidth difference between the connections. Both the client and the host are either running on the same machine or on the same LAN (I have tested on both and see the problem in both cases) - I have increased TCP receiver buffers, and that has all

Re: [us...@httpd] HTTP PROCESS CONSUMING 100% cpu

2010-11-17 Thread Jeroen Geilman
On 11/17/2010 09:39 PM, Ravi Markil wrote: Hi friends I recently installed xampp 1.7.1 application which has apache server. Starting the apache is consuming 100% of CPU starting from 20%,which is affecting the performance of my system. Please help me

Re: [us...@httpd] HTTP PROCESS CONSUMING 100% cpu

2010-11-17 Thread Frank Gingras
On 17/11/2010 3:39 PM, Ravi Markil wrote: Hi friends I recently installed xampp 1.7.1 application which has apache server. Starting the apache is consuming 100% of CPU starting from 20%,which is affecting the performance of my system. Please help me

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-17 Thread Nick Kew
On Wed, 17 Nov 2010 11:18:57 -0800 Ahmed Bakir wrote: > Could anyone provide some insight on the different behavior between 2.0.x > and 2.2.x? Apart from what adaptr said ... Is it uploads or downloads that are failing? Does the setting of AcceptFilter in 2.2 make any difference to this problem

[us...@httpd] HTTP PROCESS CONSUMING 100% cpu

2010-11-17 Thread Ravi Markil
Hi friends I recently installed xampp 1.7.1 application which has apache server. Starting the apache is consuming 100% of CPU starting from 20%,which is affecting the performance of my system. Please help me out. Last few lines from access.log

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-17 Thread Jeroen Geilman
On 11/17/2010 08:18 PM, Ahmed Bakir wrote: Hi all, For the application I am working on right now, I need to send large files between two servers via Apache. I am using reverse proxying to accomplish this. When I hammer my host with requests from the client (several requests in short successio

Re: [us...@httpd] last access time

2010-11-17 Thread Peter Janovsky
thnx From: Jeroen Geilman To: users@httpd.apache.org Sent: Wed, November 17, 2010 3:26:06 PM Subject: Re: [us...@httpd] last access time On 11/17/2010 09:21 PM, Peter Janovsky wrote: does apache modify the last access date of a resource obtained through a call

Re: [us...@httpd] last access time

2010-11-17 Thread Jeroen Geilman
On 11/17/2010 09:21 PM, Peter Janovsky wrote: does apache modify the last access date of a resource obtained through a call to function ap_sub_req_lookup_file? That would be dependent on your filesystem, not apache. If you mount the filesystem with noatime, it will not be changed. -- J.

[us...@httpd] last access time

2010-11-17 Thread Peter Janovsky
does apache modify the last access date of a resource obtained through a call to function ap_sub_req_lookup_file?

Re: [us...@httpd] security: fully blown chroot environment vs chrootdir

2010-11-17 Thread SYBA
Thanks for that Dave.Current environment requirements do not let me use SELinux hence I was wondering id there are any more comments on ChrootDir directive ? Thanks. S. On 17 November 2010 08:37, David (Dave) Donnan wrote: > Just a thought recommended to me by RedHat last year. > > Run SELinu

[us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-17 Thread Ahmed Bakir
Hi all, For the application I am working on right now, I need to send large files between two servers via Apache. I am using reverse proxying to accomplish this. When I hammer my host with requests from the client (several requests in short succession), error.log starts to fill up with "OS Error 1

Re: [us...@httpd] localhost ipv6 problem

2010-11-17 Thread coeus.si
I've found a bug report for this issue, and it should be fixed in version 2.2.12 (I am using 2.2.17). https://issues.apache.org/bugzilla/show_bug.cgi?id=46195 I've also tried suggested workaround - add a line to "c:\Windows\System32\drivers\etc\hosts" ::1 mydummy and modified Apache config

Re: [us...@httpd] Re: LimitRequestBody http return code

2010-11-17 Thread Mohit Anchlia
On Mon, Nov 15, 2010 at 1:33 PM, Mohit Anchlia wrote: > On Mon, Nov 15, 2010 at 1:23 PM, Jeroen Geilman wrote: >> On 11/15/2010 10:21 PM, Mohit Anchlia wrote: >>> >>> On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilman  wrote: >>> On 11/15/2010 10:12 PM, Mohit Anchlia wrote: >

Re: [us...@httpd] localhost ipv6 problem

2010-11-17 Thread coeus.si
Thanks Igor, I guess I will file a bug report. Cheers, Bosjtan On 17.11.2010, at 7:09, Igor Galić wrote: > > - "coeus.si" wrote: > >> Hi, >> >> I am running Apache on Win Server 2008 and I am trying to configure it >> as a proxy serving another application that runs on localhost:8020. >>

[us...@httpd] apache crash , libapr.dll

2010-11-17 Thread Jordi
Hi, I'm trying to install an apache in a Windows XP embedded, SP3. I'm getting the windows binaries from http://www.apache.org/dist/httpd/binaries/win32/ I first installed httpd-2.2.17-win32-x86-openssl-0.9.8o.msi, used "typical installation", but once the installation finishes, apache auto

RE: [us...@httpd] Could not get next bucket brigade [500, #0]

2010-11-17 Thread Bennett, Tony
The client broke the socket-connection before sending a complete request. mod_dav reads client request from a bucket-brigade (see http://www.apachetutor.org/dev/brigades for an overview). If getting the next bucket fails, you get that message. The primary cause I've see is a client breaking a con

[us...@httpd] Could not get next bucket brigade [500, #0]

2010-11-17 Thread Paul Simon
Hi All. Could anybody explain what this error might mean, "Could not get next bucket brigade [500, #0]?" I'm getting the error with certain files when trying to PUT them file to webdav enabled server. Thanks, Paul - The official

Re: [us...@httpd] localhost ipv6 problem

2010-11-17 Thread Igor Galić
- "coeus.si" wrote: > Hi, > > I am running Apache on Win Server 2008 and I am trying to configure it > as a proxy serving another application that runs on localhost:8020. > The configuration is as follows: > > > DocumentRoot "C:/myApp" > > ServerName example.com > ErrorLo

Fwd: [us...@httpd] SSLRequire & UTF-8 characters

2010-11-17 Thread Igor Galić
Hi Myles, it might be appropriate to ping dev@ with this problem I'm not sure if it's a bug or a feature. So long, i - "Myles Bunbury (Myles)" wrote: > > Which version of OpenSSL do you have? > > openssl-0.9.8e-12.el5_4.6 > xmlsec1-openssl-1.2.9-8.1.1 > > > What locale is your system

Re: [us...@httpd] RewriteRule & jsessionid

2010-11-17 Thread Sébastien Moretti
Hi I experience some problem with apache, mod_rewrite and mod_proxy. I get some timeouts that deny access to the server. Here is the error message I get: (70007)The timeout specified has expired: proxy: error reading status line from remote server XXX [Wed Nov 17 11:5

RE: [us...@httpd] SSLRequire & UTF-8 characters

2010-11-17 Thread Bunbury, Myles (Myles)
> Which version of OpenSSL do you have? openssl-0.9.8e-12.el5_4.6 xmlsec1-openssl-1.2.9-8.1.1 > What locale is your system running on? $LANG = en_US.UTF-8 - The official User-To-User support forum of the Apache HTTP Server Proj

Re: [us...@httpd] RewriteRule & jsessionid

2010-11-17 Thread Sai A
On Wed, Nov 17, 2010 at 6:34 PM, Sébastien Moretti < sebastien.more...@unil.ch> wrote: > Hi > > I experience some problem with apache, mod_rewrite and mod_proxy. > I get some timeouts that deny access to the server. > Here is the error message I get: > > (70007)The timeout specified has expired: p

[us...@httpd] RewriteRule & jsessionid

2010-11-17 Thread Sébastien Moretti
Hi I experience some problem with apache, mod_rewrite and mod_proxy. I get some timeouts that deny access to the server. Here is the error message I get: (70007)The timeout specified has expired: proxy: error reading status line from remote server XXX [Wed Nov 17 11:57:09 2010] [error] [client

Re: [us...@httpd] Group authentication to AD

2010-11-17 Thread Patricia A Moss
I'm not sure I saw an answer. Can someone assist? >Are those different servers, with different Bind-usernames and Passwords? Yes. They are different servers with different bind-usernames. PATI MOSS System Engineer Sr. Professional CSC From: Igor Galić To: users@httpd.apache.org Date: 11/1

Re: [us...@httpd] security: fully blown chroot environment vs chrootdir

2010-11-17 Thread David (Dave) Donnan
Just a thought recommended to me by RedHat last year. Run SELinux : SELinux can enforce the access rights of every user, application, process, and file within a Red Hat system to a degree previously unavailable in enterprise operating systems. It ensures that a

[us...@httpd] how to remove index.jsp (index.htm, index.html) from URL

2010-11-17 Thread hai . nguyen
Hi I know somes threads talk about this subject but I DIDn't see any solution in detail :( My site is running on the server Debian with Apache2 + Tomcat 5.5 + jk mod 1.2.26 I connect to my site with domain www.xyz.com it shows automatic on explorer www.xyz.com/index.jsp how could I remove "inde