Re: [users@httpd] Caching module

2011-04-02 Thread Mohit Anchlia
I mean shared data. For eg if I have server 1-4 in one data center and 5-9 in other and when I write keyvalue pair to it updates the cache in nodes 1-9 On Fri, Apr 1, 2011 at 5:28 PM, Nick Kew wrote: > On Fri, 1 Apr 2011 16:24:31 -0700 > Mohit Anchlia wrote: > >> Apache 2: >

Re: [users@httpd] Caching module

2011-04-01 Thread Mohit Anchlia
ded up being caching on an application level. > > If you are a little more specific about your problem, we might be able > to share a little more. > > On Sat, Apr 2, 2011 at 10:24 AM, Mohit Anchlia wrote: >> Apache 2: >> >> Is there any caching module in apache that wil

[users@httpd] Caching module

2011-04-01 Thread Mohit Anchlia
Apache 2: Is there any caching module in apache that will also keep cache in sync accross multiple apache servers (cluster)? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org

Re: [users@httpd] Active Active Data center and stickyness

2011-03-30 Thread Mohit Anchlia
Thanks! I will get more info and post what I find or route I go. On Wed, Mar 30, 2011 at 7:22 AM, Ben Timby wrote: > On Wed, Mar 30, 2011 at 10:17 AM, Mohit Anchlia > wrote: >> Appreciate all the input! Those things were already part of my list >> that are mentioned in this e

Re: [users@httpd] Active Active Data center and stickyness

2011-03-30 Thread Mohit Anchlia
, 2011 at 12:12 AM, Mohit Anchlia > wrote: >> thanks! F5 supports the cookies and is recommended way but the problem >> is server A is not managed by us and may be very difficult to >> convience them to enter cookie (changing code). Is it possible to >> embed cookies fo

Re: [users@httpd] Active Active Data center and stickyness

2011-03-29 Thread Mohit Anchlia
;t be changed. On Tue, Mar 29, 2011 at 8:07 PM, Ben Timby wrote: > On Tue, Mar 29, 2011 at 10:56 PM, Mohit Anchlia > wrote: >> Yes but when we receive request it is not from the end user but other >> host. For eg: >> >> User ->  server A (prepares file) ->

Re: [users@httpd] Active Active Data center and stickyness

2011-03-29 Thread Mohit Anchlia
quests coming from one source ip address always go to the same > server ip address ... but as I said maybe I'm missing something :) > > On Wed, Mar 30, 2011 at 12:18 PM, Mohit Anchlia > wrote: >> >> But this doesn't work for scenario that I described where user >&g

Re: [users@httpd] Active Active Data center and stickyness

2011-03-29 Thread Mohit Anchlia
gt; >> >> http://devcentral-sea.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/26947/showtab/groupforums/Default.aspx >> >> On Wed, Mar 30, 2011 at 10:17 AM, Mohit Anchlia >> wrote: >>> >>> Are you referrring to GTM or LTM. I have looked into it a

[users@httpd] Bug help

2011-03-29 Thread Mohit Anchlia
In order to circimvent this bug https://issues.jboss.org/browse/JBPAPP-366 what should I exactly have in apache 2 properties. We often see "cping/cpong after connecting to the backend server failed (errno=110)" and bunch of 503s Current worker.properties look something like this: worker.app1.typ

Re: [users@httpd] Active Active Data center and stickyness

2011-03-29 Thread Mohit Anchlia
nse > but what about F5 source IP stickiness? > > Cheers, > Igor > > On Wed, Mar 30, 2011 at 3:34 AM, Mohit Anchlia > wrote: >> >> Currently, the load balancer don't provide the user >> stickyness/persistence for 'x' amount of time. At this point

Re: [users@httpd] Active Active Data center and stickyness

2011-03-29 Thread Mohit Anchlia
ay to use cookies in such scenarios. On Tue, Mar 29, 2011 at 7:25 AM, Ben Timby wrote: > On Mon, Mar 28, 2011 at 10:42 PM, Mohit Anchlia > wrote: >> Thanks! We are using F5 GTM as global load balancer with LTM. So >> global load balancing is not a problem. Problem is user sti

Re: [users@httpd] Active Active Data center and stickyness

2011-03-28 Thread Mohit Anchlia
and that's why cookies here will probably not work. On Mon, Mar 28, 2011 at 5:50 PM, Ben Timby wrote: > On Mon, Mar 28, 2011 at 8:30 PM, Mohit Anchlia wrote: >> Apache 2: >> >> We use apache 2 and we have 2 data centers. Problem is that both data >> centers are a

[users@httpd] Active Active Data center and stickyness

2011-03-28 Thread Mohit Anchlia
Apache 2: We use apache 2 and we have 2 data centers. Problem is that both data centers are active. So if User uploads a file for eg: in site A that User can be directed to site B. Files are kept in sync asynchronously. And it could take as long as 1 hr to bring them in sync on the other data cent

Re: [us...@httpd] Adding multiple keys and cert to a virtual host

2011-01-02 Thread Mohit Anchlia
On Sun, Jan 2, 2011 at 12:59 PM, Eric Covener wrote: > On Sun, Jan 2, 2011 at 2:21 PM, Mohit Anchlia wrote: >> Apache 2: >> >> I have a need to add multiple certs and keys to a given virtual host. >> I don't see a way to add multiple keys or certs to one virtual h

[us...@httpd] Adding multiple keys and cert to a virtual host

2011-01-02 Thread Mohit Anchlia
Apache 2: I have a need to add multiple certs and keys to a given virtual host. I don't see a way to add multiple keys or certs to one virtual host. For eg: key and cert for abc.com and def.com in Is there a way to do this? For java security for eg we use keytool. Can someone please suggest how

Re: [us...@httpd] Mod-jk worker not being called after calling handler

2010-11-23 Thread Mohit Anchlia
On Mon, Nov 22, 2010 at 4:16 PM, Mohit Anchlia wrote: > On Mon, Nov 22, 2010 at 9:54 AM, Mohit Anchlia wrote: >> On Sat, Nov 20, 2010 at 3:05 AM, Eric Covener wrote: >>> On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia >>> wrote: >>>> I am trying to l

Re: [us...@httpd] Mod-jk worker not being called after calling handler

2010-11-22 Thread Mohit Anchlia
On Mon, Nov 22, 2010 at 9:54 AM, Mohit Anchlia wrote: > On Sat, Nov 20, 2010 at 3:05 AM, Eric Covener wrote: >> On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia >> wrote: >>> I am trying to look at how handlers work so I created a very simple >>> perl handler t

Re: [us...@httpd] Mod-jk worker not being called after calling handler

2010-11-22 Thread Mohit Anchlia
On Sat, Nov 20, 2010 at 3:05 AM, Eric Covener wrote: > On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia > wrote: >> I am trying to look at how handlers work so I created a very simple >> perl handler that just return "OK". And I added an entry "PerlModule"

Re: [us...@httpd] Mod-jk worker not being called after calling handler

2010-11-20 Thread Mohit Anchlia
On Sat, Nov 20, 2010 at 3:05 AM, Eric Covener wrote: > On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia > wrote: >> I am trying to look at how handlers work so I created a very simple >> perl handler that just return "OK". And I added an entry "PerlModule"

[us...@httpd] Mod-jk worker not being called after calling handler

2010-11-19 Thread Mohit Anchlia
I am trying to look at how handlers work so I created a very simple perl handler that just return "OK". And I added an entry "PerlModule" and the "PerlHandler". I also was able to build mod_perl2.so. When I do a GET request with handler ON I see that Handler gets called but then the call is not goi

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

2010-11-18 Thread Mohit Anchlia
On Wed, Nov 17, 2010 at 5:56 PM, Mohit Anchlia wrote: > 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

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 li

[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: [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: >>> >>>>

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

2010-11-15 Thread Mohit Anchlia
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] Re: LimitRequestBody http return code

2010-11-15 Thread Mohit Anchlia
On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilman wrote: > On 11/15/2010 10:12 PM, Mohit Anchlia wrote: >> >> On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman >>  wrote: >> >>> >>> On 2010-11-04 23:38, Mohit Anchlia wrote: >>> >>&g

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

2010-11-15 Thread Mohit Anchlia
On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman wrote: > On 2010-11-04 23:38, Mohit Anchlia wrote: > >> 500 (Internal Server Error) Can't read entity body: Connection reset by peer >> Content-Type: text/plain >> Client-Date: Thu, 04 Nov 2010 22:36:21 GMT >>

Re: [us...@httpd] Limiting Request Body suggestion

2010-11-15 Thread Mohit Anchlia
> > >> > They may come with greater limits later. Simply give them what they have >> > chosen: bullshit error messages. >> > Providing .reg file that removes the lame setting is the best we can do >> > about this. >> > >> > sorry for being se

Re: [us...@httpd] Limiting Request Body suggestion

2010-11-09 Thread Mohit Anchlia
On Tue, Nov 9, 2010 at 2:17 AM, Matus UHLAR - fantomas wrote: >> On Thu, October 28, 2010 16:24, Tom Evans wrote: >> > Why do you care what the status code is? (or rather, why do you want >> > to return OK when an error occurs?) > > On 28.10.10 16:48, Joost de Heer wrote: >> To work around the "Di

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

2010-11-08 Thread Mohit Anchlia
On Thu, Nov 4, 2010 at 4:09 PM, Mohit Anchlia wrote: > On Thu, Nov 4, 2010 at 3:40 PM, Eric Covener wrote: >> On Thu, Nov 4, 2010 at 6:38 PM, Mohit Anchlia wrote: >>> On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener wrote: >>>> On Sun, Oct 31, 2010 at 8:09 PM, Mohit

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

2010-11-04 Thread Mohit Anchlia
On Thu, Nov 4, 2010 at 3:40 PM, Eric Covener wrote: > On Thu, Nov 4, 2010 at 6:38 PM, Mohit Anchlia wrote: >> On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener wrote: >>> On Sun, Oct 31, 2010 at 8:09 PM, Mohit Anchlia >>> wrote: >>>> On Wed, Sep 8, 2010

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

2010-11-04 Thread Mohit Anchlia
On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener wrote: > On Sun, Oct 31, 2010 at 8:09 PM, Mohit Anchlia wrote: >> On Wed, Sep 8, 2010 at 2:23 PM, Mohit Anchlia wrote: >>> I am trying to test LimitRequestBody. It looks like it always returns >>> Http code 500. Is this a

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

2010-10-31 Thread Mohit Anchlia
On Wed, Sep 8, 2010 at 2:23 PM, Mohit Anchlia wrote: > I am trying to test LimitRequestBody. It looks like it always returns > Http code 500. Is this as expected?  I thought it's supposed to return > Http 413. > > Is there a way to change the return code of LimitRequestBody? &

Re: [us...@httpd] Limiting Request Body suggestion

2010-10-31 Thread Mohit Anchlia
On Fri, Oct 29, 2010 at 3:21 AM, Green Wang wrote: > maybe you can use a script like php or what > and set the ErrorDocument to this script > then use header() function to set the response status code > IS there an example I can use? Or is there a better way of handling it? > On 10/28/2010 10:24

Re: [us...@httpd] Limiting Request Body suggestion

2010-10-27 Thread Mohit Anchlia
It looks like ErrorDocument changes the behaviour globally. What I need to do is return Http code 200 with customized message which clients can parse and display cleanly on the browser. On Wed, Oct 27, 2010 at 12:36 PM, Nick Kew wrote: > On Wed, 27 Oct 2010 12:28:47 -0700 > Mohit Anchlia

[us...@httpd] Limiting Request Body suggestion

2010-10-27 Thread Mohit Anchlia
Apache 2.2 Requirement I am working on is to block the request body if it is greatar than certain size. I can do this easily with LimitRequestBody directive in virtual hosts but the problem comes when I want to send customized message to the user instead of returning non 200 http code. Can someon

[us...@httpd] Mod-jk doesn't work with Expect 100-continue

2010-10-26 Thread Mohit Anchlia
We are using mod-jk 1.28. We have a web server that forwards mod-jk requests to jboss. What I am seeing is that jboss is not able to parse the data (our servlet). When I looked further I saw that clients are sending "Expect 100-continue" and I also see this in mod-jk header that's being passed fr

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

2010-09-08 Thread Mohit Anchlia
I am trying to test LimitRequestBody. It looks like it always returns Http code 500. Is this as expected? I thought it's supposed to return Http 413. Is there a way to change the return code of LimitRequestBody? - The official U

[us...@httpd] Re: Custom message instead of HTTP error on LimitRequestBody

2010-09-08 Thread Mohit Anchlia
> Apache 2: > > Is there a way to send custom message instead of just the Error Code > when there is an upload limit set using LimitRequestBody? > > Something like "You have exceeded the size" > - The official User-To-User support

[us...@httpd] Re: Limit on content size

2010-08-30 Thread Mohit Anchlia
On Tue, Aug 3, 2010 at 3:47 PM, Mohit Anchlia wrote: > On Sun, Aug 1, 2010 at 11:36 AM, Mohit Anchlia wrote: >> On Friday, July 30, 2010, Nilesh Govindarajan wrote: >>> On Sat, Jul 31, 2010 at 2:55 AM, Mohit Anchlia >>> wrote: >>>> Apache 2.11: >&g

[us...@httpd] Re: Limit on content size

2010-08-03 Thread Mohit Anchlia
On Sun, Aug 1, 2010 at 11:36 AM, Mohit Anchlia wrote: > On Friday, July 30, 2010, Nilesh Govindarajan wrote: >> On Sat, Jul 31, 2010 at 2:55 AM, Mohit Anchlia >> wrote: >>> Apache 2.11: >>> >>> Is there a way to limit the size of transmission from clie

[us...@httpd] Re: Limit on content size

2010-08-01 Thread Mohit Anchlia
On Friday, July 30, 2010, Nilesh Govindarajan wrote: > On Sat, Jul 31, 2010 at 2:55 AM, Mohit Anchlia wrote: >> Apache 2.11: >> >> Is there a way to limit the size of transmission from clients? If for >> eg if they send 1G size of transmission to our server then rej

Re: [us...@httpd] Limit on content size

2010-07-31 Thread Mohit Anchlia
I am not sure what the right terminology would be but this client making POST request and sending large bytes in the transmission. I guess it will be upload in that case. On Fri, Jul 30, 2010 at 10:31 PM, Nilesh Govindarajan wrote: > On Sat, Jul 31, 2010 at 2:55 AM, Mohit Anchlia wr

[us...@httpd] Limit on content size

2010-07-30 Thread Mohit Anchlia
Apache 2.11: Is there a way to limit the size of transmission from clients? If for eg if they send 1G size of transmission to our server then reject that with some error message. - The official User-To-User support forum of the A

Re: [us...@httpd] Re: Preventing DoS attacks from single client host

2010-04-04 Thread Mohit Anchlia
Isn't it diffcult to configure it based on Ip because: 1. Ip could be of proxy server 2. Ip could be of ISP Would that lead into good requests being denied? On Sun, Apr 4, 2010 at 11:16 AM, Nerius Landys wrote: > Guys, I think I'll just add Operating System wide firewall rules to > disallow mor

[us...@httpd] Re: timeout experience - why is mod_jk's behaviour not consistent

2010-03-31 Thread Mohit Anchlia
Until then it keeps the state of the worker "OK". Only after box comes up it changes the state to "ERR". What can be done to send it in ERR state? Note: We are on 1.2.27 mod_jk so can't use error_escalation. On Tue, Mar 30, 2010 at 4:58 PM, Mohit Anchlia wrote: > Adding

[us...@httpd] Re: timeout experience

2010-03-30 Thread Mohit Anchlia
_pool_timeout=20 worker.template.recovery_options=7 On Tue, Mar 30, 2010 at 1:58 PM, Mohit Anchlia wrote: > I see this in mod_jk logs: > > -- > [Tue Mar 30 13:18:29.862 2010] [13058:4143291040] [error] > ajp_send_request::jk_ajp_common.c (1467): (host2532) connecting to > back

[us...@httpd] Re: timeout experience

2010-03-30 Thread Mohit Anchlia
worker.tc.sticky_session=true On Tue, Mar 30, 2010 at 11:37 AM, Mohit Anchlia wrote: > Apache 2.2.11 > > I am reviewing the timeout values in worker.properties because > currently if one node out of so many other nodes in a jboss cluster > reboots or dies then we see that connection piles up on the w

[us...@httpd] timeout experience

2010-03-30 Thread Mohit Anchlia
Apache 2.2.11 I am reviewing the timeout values in worker.properties because currently if one node out of so many other nodes in a jboss cluster reboots or dies then we see that connection piles up on the web server. It looks like it's because of retries and and prepost_timeout that lot of request

Re: [us...@httpd] Is web server in front of app server necessary?

2010-03-18 Thread Mohit Anchlia
Thanks. We have our webservers only for the reason that we don't want to have our application servers directly exposed to the internet clients. William made a very good point of having 2 parsers makes it more secure. On Thu, Mar 18, 2010 at 7:58 AM, Mark H. Wood wrote: > Well, another possible ad

Re: [us...@httpd] Is web server in front of app server necessary?

2010-03-15 Thread Mohit Anchlia
Thanks Should we be concerned about security? Is httpd more secure than jboss or tomcat? On Sun, Mar 14, 2010 at 7:27 PM, 夏蒸鑫 wrote: > if only a java/servlet website, apache httpd is not necessary. > > Best regards, > Sharl.Jimh.Tsin > > ---

[us...@httpd] Is web server in front of app server necessary?

2010-03-14 Thread Mohit Anchlia
We have apache 2 in front of Jboss. I am wondering what are the benefits of having apache in front of Jboss. Why not just have jboss? I am sure there are reasons why people design it this way and prefer it this way. In our configuration apache is pretty much the pass through to Jboss using mod jk.

[us...@httpd] Re: Executing CGI

2010-02-19 Thread Mohit Anchlia
Got it working cgi_module wasn't loaded. On Fri, Feb 19, 2010 at 11:35 AM, Mohit Anchlia wrote: > Apache 2: > > My cgi shows complete text of the script instead of executing it like > a cgi script.  Am I missing something in below configuration > > >    Options +E

[us...@httpd] Executing CGI

2010-02-19 Thread Mohit Anchlia
Apache 2: My cgi shows complete text of the script instead of executing it like a cgi script. Am I missing something in below configuration Options +ExecCGI AddHandler cgi-script .cgi .pl AllowOverride None Order allow,deny Allow from all my cgi #!/usr/bin/perl print "Go

[us...@httpd] Log

2010-02-08 Thread Mohit Anchlia
We are seeing the following in logs? I am not sure why we are getting request in hex format. Something like? 10.1.1.40 - - [21/Jan/2010:16:31:15 -0800] "\x05\.\x01" 501 207 "-" "-" "webserver1" 0 - - - 32 207 Is this normal? It looks like a bad request trying to get in Thanks --

[us...@httpd] mod vhost limit module

2009-11-28 Thread Mohit Anchlia
I downloaded mod vhost limit module from it's site. I've compiled it and ready to use. Problem is that I can't locate it's manual or tutorial or even a simple example anywhere. Has anyone use this module and have some examples for me would be really great? If not, then I am not sure how I can get

Re: [us...@httpd] mod_vhost compilation errors

2009-11-28 Thread Mohit Anchlia
On Fri, Nov 27, 2009 at 10:08 AM, Eric Covener wrote: > On Fri, Nov 27, 2009 at 12:14 PM, Mohit Anchlia > wrote: >> What changes do I need to make to my compile script to use apxs? >> >> libtool --silent --mode=compile gcc  -g -O2 -pthread    -DLINUX=2 \ > >

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Mohit Anchlia
-rpath /usr/lib/httpd/modules \ -module -avoid-version mod_vhost_limit.lo rm -rf *.a *.la *.lo *.slo *.o mv .libs/*.so . rm -rf .libs On Fri, Nov 27, 2009 at 8:46 AM, Eric Covener wrote: > On 11/27/09, Mohit Anchlia wrote: >>  > Are you using apxs? >> no > use apxs.

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Mohit Anchlia
-module -avoid-version mod_vhost_limit.lo rm -rf *.a *.la *.lo *.slo *.o mv .libs/*.so . rm -rf .libs On Fri, Nov 27, 2009 at 8:43 AM, Mohit Anchlia wrote: > no > > On Fri, Nov 27, 2009 at 8:41 AM, Eric Covener wrote: >> On 11/27/09, Mohit Anchlia wrote: >>> I downl

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Mohit Anchlia
no On Fri, Nov 27, 2009 at 8:41 AM, Eric Covener wrote: > On 11/27/09, Mohit Anchlia wrote: >> I downloaded the module mod_vhost_limit from "http://apache.ivn.cl/"; >>  site. When I try to complile I get the following errors. The module I >>  downloaded is for apa

[us...@httpd] mod_slotlimit module questions

2009-11-27 Thread Mohit Anchlia
I downloaded the source and compiled it. When I read Readme It's little confusing to me. My questions are: AvailableSlotsPercent - does it mean that upto 13 LimitSite can be allocated? LimitSite - does it mean that the site running within the apache itself or the external site trying to access apa

[us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Mohit Anchlia
I downloaded the module mod_vhost_limit from "http://apache.ivn.cl/"; site. When I try to complile I get the following errors. The module I downloaded is for apache2. Could someone please help me? In file included from /usr/local/apache2/include/ap_config.h:25, from /usr/local/apa

Re: [us...@httpd] Limiting Connection per virtual host and Custom messaging

2009-11-26 Thread Mohit Anchlia
There seems to be no documentation about how to configure them. Also how do I set customized messaging? On Wed, Nov 25, 2009 at 10:33 PM, Iñigo Medina wrote: > >> 1. Is there a way to limit Max Client Connections per virtual host? > > At least 2: > > - mod_slotlimit: http://sourceforge.net/projec

[us...@httpd] Limiting Connection per virtual host and Custom messaging

2009-11-25 Thread Mohit Anchlia
Apache 2.11: Couple of questions: 1. Is there a way to limit Max Client Connections per virtual host? 2. When Max Connection is reached, is there a way to return custom error message in the response? For eg: "Please try again in 15mts." ---

[us...@httpd] How can I get rid of these errors

2009-09-11 Thread Mohit Anchlia
We have a health check page and when our F5 does health check to see if servers are up and running we see the following: [Wed Sep 09 13:20:48 2009] [info] Seeding PRNG with 136 bytes of entropy [Wed Sep 09 13:20:48 2009] [info] [client 10.4.1.24] (70014)End of file found: SSL handshake interrupte

Re: [us...@httpd] Excluding String from access log

2009-09-10 Thread Mohit Anchlia
All I want is to remove that "info" message from the access log. So basically I don't want to see that in access or error log On Wed, Sep 9, 2009 at 7:12 PM, Eric Covener wrote: > On Wed, Sep 9, 2009 at 6:20 PM, Mohit Anchlia wrote: >> These go as "info" in acce

Re: [us...@httpd] Excluding String from access log

2009-09-09 Thread Mohit Anchlia
These go as "info" in access log On Wed, Sep 9, 2009 at 3:03 PM, Eric Covener wrote: > On Wed, Sep 9, 2009 at 4:49 PM, Mohit Anchlia wrote: >> I need to exclude below string (as an example) from access log. Is >> there a way I can use CustomLog and do that? >> >

[us...@httpd] Excluding String from access log

2009-09-09 Thread Mohit Anchlia
I need to exclude below string (as an example) from access log. Is there a way I can use CustomLog and do that? [Wed Sep 09 13:20:47 2009] [info] [client 10.4.1.41] Connection closed to child 4 with abortive shutdown (server ) [Wed Sep 09 13:20:47 2009] [info] [client 28.20.40.241] Connection to

Re: [us...@httpd] Apache graceful-stop

2009-08-20 Thread Mohit Anchlia
I stopped load and waited for thrice as long as our application timeout. On Thu, Aug 20, 2009 at 7:43 AM, Eric Covener wrote: > On Thu, Aug 20, 2009 at 10:24 AM, Mohit Anchlia wrote: >> I think I knew that. Question is even though there were no outstanding >> requests the httpd

Re: [us...@httpd] Apache graceful-stop

2009-08-20 Thread Mohit Anchlia
idea now ! > > Amit > http://new-innovation.blogspot.com/ > > > > > On Wed, Aug 12, 2009 at 7:52 PM, Mohit Anchlia > wrote: >> >> I installed Apache 2.2.11 and tested graceful-stop. When I run >> graceful-stop I still see all the httpd processes even

[us...@httpd] Apache graceful-stop

2009-08-12 Thread Mohit Anchlia
I installed Apache 2.2.11 and tested graceful-stop. When I run graceful-stop I still see all the httpd processes even though there is nothing listening on port 80. Those httpd processes stay there even though there are no incoming or existing sessions. Is there a bug someone knows about or am I doi

[us...@httpd] Re: mod_vhost_limit module

2009-06-30 Thread Mohit Anchlia
Is there someone out there who is even using mod_vhost_limit? I am unable to find sufficient information On Fri, Jun 19, 2009 at 7:28 PM, Mohit Anchlia wrote: > I am trying to get mod_vhost_limit documentation but can't find one. I > just have a simple question, is mod_vhost_limit

Re: [us...@httpd] Apache install problem

2009-06-27 Thread Mohit Anchlia
Another question when I upgrade does it remove existing apache 2.2.6 installation? On Sat, Jun 27, 2009 at 9:43 AM, Mohit Anchlia wrote: > So can't I install on top of already installed package even though > it's a different package? I wonder why it worked on one of the other &g

Re: [us...@httpd] Apache install problem

2009-06-27 Thread Mohit Anchlia
; since you need to upgrade. If you want to install then you better uninstall > the old one first. > > > On Sat, Jun 27, 2009 at 6:20 AM, Frank Gingras > wrote: >> >> Mohit, >> >> You need to ask a mailing list tailored for your linux distribution. >> >&

Re: [us...@httpd] Apache install problem

2009-06-26 Thread Mohit Anchlia
Could you please explain more? I did install on one of the other machines successfully before that had the old package installed. On Fri, Jun 26, 2009 at 1:01 PM, Frank Gingras wrote: > Mohit, > > That's not how package managers work. > > Frank. > > Mohit Anchlia wr

Re: [us...@httpd] Apache install problem

2009-06-26 Thread Mohit Anchlia
I don't want to upgrade but want to install this pacakge. On Fri, Jun 26, 2009 at 12:49 PM, Frank Gingras wrote: > See the difference between --install and --upgrade > > Frank > > Mohit Anchlia wrote: >> >> I am installing new package but I am getting error message

Re: [us...@httpd] Apache install problem

2009-06-26 Thread Mohit Anchlia
file from package httpd2-2.2.6-2_0_2_0 On Fri, Jun 26, 2009 at 12:27 PM, Eric Covener wrote: > On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia wrote: >> I am trying to upgrade apache but keep getting following error: >> >> $ rpm -ivh httpd2-2.2.11-5.2

[us...@httpd] Apache install problem

2009-06-26 Thread Mohit Anchlia
I am trying to upgrade apache but keep getting following error: $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm Preparing...### [100%] file /etc/rc.d/init.d/httpd2 from install of httpd2-2.2.11-5.2.1.1 conflicts with file from package httpd2-2.2

[us...@httpd] vhost limit module

2009-06-24 Thread Mohit Anchlia
Apache 2.2.11 Has anyone worked with vhost limit module? I can't find tutorial or manual to read about it. Is there one? Is it possible to set customized message for clients that are being turned away? - The official User-To-User

Re: [us...@httpd] Limiting connections per IP

2009-06-21 Thread Mohit Anchlia
at 3:00 PM, Eric Bowman wrote: > Mohit Anchlia wrote: > > Apache 2.2.6: > > > > I am aggresively looking for some solution that limits number of > > connections per IP and the settings can dynamically be changed. Does > > anyone know if there such a module w

[us...@httpd] mod_cguard

2009-06-21 Thread Mohit Anchlia
Does anyone know how mod_cguard work? Website http://httpd.renatasystems.org/mod_cguard/ seems to be down. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> fo

[us...@httpd] Limiting connections per IP

2009-06-21 Thread Mohit Anchlia
Apache 2.2.6: I am aggresively looking for some solution that limits number of connections per IP and the settings can dynamically be changed. Does anyone know if there such a module which is dynamic in nature. For eg: After starting apache can I dynamically change number of connections without ha

Re: [us...@httpd] Throttling in apache

2009-06-20 Thread Mohit Anchlia
> Thanks > Arnab > > On Fri, Jun 19, 2009 at 8:05 PM, Mohit Anchlia wrote: > >> We are using apache 2.2.6. We have a need to write a utility that >> would throttle traffic based on the element of the content. We get >> data from various client application that have

[us...@httpd] mod_vhost_limit module

2009-06-19 Thread Mohit Anchlia
I am trying to get mod_vhost_limit documentation but can't find one. I just have a simple question, is mod_vhost_limit dynamic in nature. Can I change the value dynamically without having to shut down apache. Is there any similar module that will let me do that. ---

[us...@httpd] Re: Throttling in apache

2009-06-19 Thread Mohit Anchlia
Could someone please give some suggestions? On Fri, Jun 19, 2009 at 7:35 AM, Mohit Anchlia wrote: > We are using apache 2.2.6. We have a need to write a utility that > would throttle traffic based on the element of the content. We get > data from various client application that have ap

[us...@httpd] Throttling in apache

2009-06-19 Thread Mohit Anchlia
We are using apache 2.2.6. We have a need to write a utility that would throttle traffic based on the element of the content. We get data from various client application that have application id assigned to them. This application id is part of the text or xml content. What we want is some utility t

Re: [us...@httpd] Benefits on Linux64 bit OS as compared to 32bit

2009-06-16 Thread Mohit Anchlia
some more Qs 1. Is there a list of 3rd party libs that we need to verify against? We currently don't have 64bit OS. We are planning to compile apache on 64bit. 2. Is the assumption that successful compilation of apache means that we are ok with 3rd party libs correct? 3. Is there a stable release

[us...@httpd] Benefits on Linux64 bit OS as compared to 32bit

2009-06-16 Thread Mohit Anchlia
We are currently on Apache 2.2.6, Red Hat Linux 32bit. We are planning to move to Linux 64bit OS to be consistent with other environments internal to our group. Before we make this change I wanted some suggestions on the following: 1. Are there any pros or cons of running Apache on Linux 64bit? 2.

Re: [us...@httpd] Stable Release of Apache

2009-06-11 Thread Mohit Anchlia
Where can I get Apache that runs on 64bit linux? Is it available somewhere? On Thu, Jun 11, 2009 at 1:31 PM, Mohit Anchlia wrote: > Thanks. So I am little confused if I should wait for a while for > Apache 3.0 or take this as a stable release and upgrade from Apache > 2.2. > >

Re: [us...@httpd] Stable Release of Apache

2009-06-11 Thread Mohit Anchlia
Thanks. So I am little confused if I should wait for a while for Apache 3.0 or take this as a stable release and upgrade from Apache 2.2. On Thu, Jun 11, 2009 at 12:33 PM, William A. Rowe, Jr. wrote: > Tom Evans wrote: >> On Thu, 2009-06-11 at 07:57 -0700, Mohit Anchlia wrote: >&

Re: [us...@httpd] Stable Release of Apache

2009-06-11 Thread Mohit Anchlia
Thanks. So if I already have some earlier version of 2.2 installed then does the apache install upgrades by applying patch or is it a new installation? On Thu, Jun 11, 2009 at 8:15 AM, Tom Evans wrote: > On Thu, 2009-06-11 at 07:57 -0700, Mohit Anchlia wrote: >> I see that apache 2.2.11

Re: [us...@httpd] Stable Release of Apache

2009-06-11 Thread Mohit Anchlia
I see that apache 2.2.11 has been released but how do I find out if that's a stable release and something I can consider deploying in production? On Wed, Jun 10, 2009 at 10:17 PM, William A. Rowe, Jr. wrote: > Mohit Anchlia wrote: >> We are using Apache 2.2. How can I find whi

[us...@httpd] Stable Release of Apache

2009-06-10 Thread Mohit Anchlia
We are using Apache 2.2. How can I find which one is most recent stable version? I am trying to determine if we need to upgrade Apache. I am also waiting for this bug to get fixed in that version https://issues.apache.org/bugzilla/show_bug.cgi?id=42829 ---

[us...@httpd] mod_ip_count and mod_so_limit, mod_accounting - thorttling traffic. Is it even possible ?

2009-03-17 Thread Mohit Anchlia
Apache 2: Can I use following modules to throttle traffic? mod_ip_count and mod_so_limit, mod_accounting Is it possible to return customized error message using mod_ip_count I asked same question is separate thread, but after looking at apache module I thought I should ask it in separate thread.

Re: [us...@httpd] Throttle traffic

2009-03-17 Thread Mohit Anchlia
Are there any suggestions, input or if anyone else is doing something smiliar in Apache as a plug in?? On Thu, Mar 12, 2009 at 10:27 AM, Mohit Anchlia wrote: > This looks like is to limit traffic for the clients that download > data. I am looking for HTTP clients that POST and GET. >

Re: [us...@httpd] Throttle traffic

2009-03-12 Thread Mohit Anchlia
you can take a look and decide if this is > what you are looking for. > > Regards, Ali Nebi! > > On Thu, 2009-03-12 at 08:33 -0700, Mohit Anchlia wrote: >> Apache 2.2 - Is there a way to throttle traffic in apache. Something >> where we mention if requests on particular UR

[us...@httpd] Throttle traffic

2009-03-12 Thread Mohit Anchlia
Apache 2.2 - Is there a way to throttle traffic in apache. Something where we mention if requests on particular URL exceeded 'x' number then return 'y' message? - The official User-To-User support forum of the Apache HTTP Server P

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-10 Thread Mohit Anchlia
t;> On Tue, Mar 10, 2009 at 4:20 AM, Matus UHLAR - fantomas >> wrote: >> > There's bug in apache which appears if more than one listening socket is >> > open. It should be fixed in 2.2.12, see bug 42829 at >> > https://issues.apache.org/bugzilla/show_bug

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-10 Thread Mohit Anchlia
Thanks ..we are indeed listening on 443 also. How do I tell the version apache? On Tue, Mar 10, 2009 at 4:20 AM, Matus UHLAR - fantomas wrote: > On 09.03.09 17:47, Mohit Anchlia wrote: >> That's what I thought but it doesn't behave that way. I see that it >> still try to

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Mohit Anchlia
@httpd] Ask apache to stop listening on only one > socket? > > Mohit, > > With a graceful restart, any workers will stay alive until the KeepAlive > > timeout is reached, at which point the process will be terminated. If > you want them to die faster, lower the KeepAlive value. >

  1   2   >