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 n...@webthing.com wrote: On Fri, 1 Apr 2011 16:24:31 -0700 Mohit Anchlia mohitanch...@gmail.com wrote

[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

Re: [users@httpd] Caching module

2011-04-01 Thread Mohit Anchlia
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 mohitanch...@gmail.com wrote: Apache 2: Is there any caching module in apache that will also keep cache

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

2011-03-30 Thread Mohit Anchlia
at 12:12 AM, Mohit Anchlia mohitanch...@gmail.com 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 for non-browser clients

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 bti...@gmail.com wrote: On Wed, Mar 30, 2011 at 10:17 AM, Mohit Anchlia mohitanch...@gmail.com wrote: Appreciate all the input! Those things were already part of my list

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

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

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

2011-03-29 Thread Mohit Anchlia
but what about F5 source IP stickiness? Cheers, Igor On Wed, Mar 30, 2011 at 3:34 AM, Mohit Anchlia mohitanch...@gmail.com wrote: Currently, the load balancer don't provide the user stickyness/persistence for 'x' amount of time. At this point only option I see is that of creating a custom

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

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

2011-03-29 Thread Mohit Anchlia
://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 mohitanch...@gmail.com wrote: Are you referrring to GTM or LTM. I have looked into it and even talked to F5 but currently they don't have

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

2011-03-29 Thread Mohit Anchlia
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 mohitanch...@gmail.com wrote: But this doesn't work for scenario that I described where user connects to server

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

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

[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

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 bti...@gmail.com wrote: On Mon, Mar 28, 2011 at 8:30 PM, Mohit Anchlia mohitanch...@gmail.com wrote: Apache 2: We use apache 2 and we have 2 data centers. Problem is that both data centers are active

[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 VirtualHost 10.10.10.101:80 Is there a way to do this? For java security for eg we use keytool. Can

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 cove...@gmail.com wrote: On Sun, Jan 2, 2011 at 2:21 PM, Mohit Anchlia mohitanch...@gmail.com 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

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 mohitanch...@gmail.com wrote: On Mon, Nov 22, 2010 at 9:54 AM, Mohit Anchlia mohitanch...@gmail.com wrote: On Sat, Nov 20, 2010 at 3:05 AM, Eric Covener cove...@gmail.com wrote: On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia mohitanch...@gmail.com

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 cove...@gmail.com wrote: On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia mohitanch...@gmail.com 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-22 Thread Mohit Anchlia
On Mon, Nov 22, 2010 at 9:54 AM, Mohit Anchlia mohitanch...@gmail.com wrote: On Sat, Nov 20, 2010 at 3:05 AM, Eric Covener cove...@gmail.com wrote: On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia mohitanch...@gmail.com wrote: I am trying to look at how handlers work so I created a very simple

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 cove...@gmail.com wrote: On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia mohitanch...@gmail.com 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 going

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 mohitanch...@gmail.com wrote: On Wed, Nov 17, 2010 at 4:50 PM, Eric Covener cove...@gmail.com wrote: On Wed, Nov 17, 2010 at 5:58 PM, Mohit Anchlia mohitanch...@gmail.com wrote: Apache 2: I have a requirement to look at content length

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 mohitanch...@gmail.com wrote: On Mon, Nov 15, 2010 at 1:23 PM, Jeroen Geilman jer...@adaptr.nl wrote: On 11/15/2010 10:21 PM, Mohit Anchlia wrote: On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilmanjer...@adaptr.nl  wrote: On 11/15/2010 10:12 PM

[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] 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 cove...@gmail.com wrote: On Wed, Nov 17, 2010 at 5:58 PM, Mohit Anchlia mohitanch...@gmail.com 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

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

2010-11-15 Thread Mohit Anchlia
. Providing .reg file that removes the lame setting is the best we can do about this. sorry for being semi-OT On 09.11.10 10:14, Mohit Anchlia wrote: Doesn't work for us. We have clients who pay for our products and electronically send there information to us and it's the requirement from

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 jonas_li...@frukt.org 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 Client-Warning: Internal

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 jer...@adaptr.nl wrote: On 11/15/2010 10:12 PM, Mohit Anchlia wrote: On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckermanjonas_li...@frukt.org  wrote: On 2010-11-04 23:38, Mohit Anchlia wrote: 500 (Internal Server Error) Can't read entity body

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 jer...@adaptr.nl wrote: On 11/15/2010 10:21 PM, Mohit Anchlia wrote: On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilmanjer...@adaptr.nl  wrote: On 11/15/2010 10:12 PM, Mohit Anchlia wrote: On Sun, Nov 14, 2010 at 11:58 AM, Jonas

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 uh...@fantomas.sk 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

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 mohitanch...@gmail.com wrote: On Thu, Nov 4, 2010 at 3:40 PM, Eric Covener cove...@gmail.com wrote: On Thu, Nov 4, 2010 at 6:38 PM, Mohit Anchlia mohitanch...@gmail.com wrote: On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener cove...@gmail.com wrote

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 cove...@gmail.com wrote: On Sun, Oct 31, 2010 at 8:09 PM, Mohit Anchlia mohitanch...@gmail.com wrote: On Wed, Sep 8, 2010 at 2:23 PM, Mohit Anchlia mohitanch...@gmail.com wrote: I am trying to test LimitRequestBody. It looks like it always returns

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 cove...@gmail.com wrote: On Thu, Nov 4, 2010 at 6:38 PM, Mohit Anchlia mohitanch...@gmail.com wrote: On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener cove...@gmail.com wrote: On Sun, Oct 31, 2010 at 8:09 PM, Mohit Anchlia mohitanch...@gmail.com wrote

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

2010-10-31 Thread Mohit Anchlia
On Fri, Oct 29, 2010 at 3:21 AM, Green Wang cocow...@gmail.com 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

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

2010-10-31 Thread Mohit Anchlia
On Wed, Sep 8, 2010 at 2:23 PM, Mohit Anchlia mohitanch...@gmail.com 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

[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

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 n...@webthing.com wrote: On Wed, 27 Oct 2010 12:28:47 -0700 Mohit

[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

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

[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

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

2010-08-30 Thread Mohit Anchlia
On Tue, Aug 3, 2010 at 3:47 PM, Mohit Anchlia mohitanch...@gmail.com wrote: On Sun, Aug 1, 2010 at 11:36 AM, Mohit Anchlia mohitanch...@gmail.com wrote: On Friday, July 30, 2010, Nilesh Govindarajan li...@itech7.com wrote: On Sat, Jul 31, 2010 at 2:55 AM, Mohit Anchlia mohitanch...@gmail.com

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

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

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

2010-08-01 Thread Mohit Anchlia
On Friday, July 30, 2010, Nilesh Govindarajan li...@itech7.com wrote: On Sat, Jul 31, 2010 at 2:55 AM, Mohit Anchlia mohitanch...@gmail.com 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

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 li...@itech7.com wrote: On Sat, Jul 31, 2010 at 2:55 AM, Mohit Anchlia

[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

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 nlan...@gmail.com wrote: Guys, I think I'll just add Operating System wide firewall rules

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

2010-03-31 Thread Mohit Anchlia
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 mohitanch...@gmail.com wrote: Adding below settings helped

[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

[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 mohitanch...@gmail.com 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

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

2010-03-30 Thread Mohit Anchlia
30, 2010 at 1:58 PM, Mohit Anchlia mohitanch...@gmail.com 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 backend failed. Tomcat is probably not started or is listening

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 mw...@iupui.edu wrote: Well,

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, 夏蒸鑫 xiazheng...@limsoft.co.cc 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

[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 Directory /usr/local/apache2/cgi-bin/ Options +ExecCGI AddHandler cgi-script .cgi .pl AllowOverride None Order allow,deny Allow from

[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

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

2009-11-28 Thread Mohit Anchlia
On Fri, Nov 27, 2009 at 10:08 AM, Eric Covener cove...@gmail.com wrote: On Fri, Nov 27, 2009 at 12:14 PM, Mohit Anchlia mohitanch...@gmail.com 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 \ I

[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

[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

[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

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 cove...@gmail.com wrote: On 11/27/09, Mohit Anchlia mohitanch...@gmail.com 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

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

2009-11-27 Thread Mohit Anchlia
-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 mohitanch...@gmail.com wrote: no On Fri, Nov 27, 2009 at 8:41 AM, Eric Covener cove...@gmail.com wrote: On 11/27/09, Mohit Anchlia mohitanch

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

2009-11-27 Thread Mohit Anchlia
/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 cove...@gmail.com wrote: On 11/27/09, Mohit Anchlia mohitanch...@gmail.com wrote:   Are you using apxs? no use apxs

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 imed...@grosshat.com wrote: 1. Is there a way to limit Max Client Connections per virtual host? At least 2: - mod_slotlimit:

[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

[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] 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 cove...@gmail.com wrote: On Wed, Sep 9, 2009 at 4:49 PM, Mohit Anchliamohitanch...@gmail.com wrote: I need to exclude below string (as an example) from access log. Is there a way I can use CustomLog and do that? [Wed

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

2009-08-20 Thread Mohit Anchlia
! Amit http://new-innovation.blogspot.com/ On Wed, Aug 12, 2009 at 7:52 PM, Mohit Anchlia mohitanch...@gmail.com wrote: 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

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 Covenercove...@gmail.com wrote: On Thu, Aug 20, 2009 at 10:24 AM, Mohit Anchliamohitanch...@gmail.com wrote: I think I knew that. Question is even though there were no outstanding

[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

[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 Anchliamohitanch...@gmail.com wrote: I am trying to get mod_vhost_limit documentation but can't find one. I just have a simple question, is

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

2009-06-27 Thread Mohit Anchlia
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 francois.ging...@gmail.com wrote: Mohit, You need to ask a mailing list tailored for your linux distribution. Frank. Mohit Anchlia wrote: Could you

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

2009-06-27 Thread Mohit Anchlia
Gingras francois.ging...@gmail.com wrote: Mohit, You need to ask a mailing list tailored for your linux distribution. Frank. Mohit Anchlia wrote: 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

[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

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

2009-06-26 Thread Mohit Anchlia
I am installing new package but I am getting error message as listed in my initial post. $ 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

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 Gingrasfrancois.ging...@gmail.com wrote: See the difference between --install and --upgrade Frank Mohit Anchlia wrote: I am installing new package but I am getting error message as listed

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 Gingrasfrancois.ging...@gmail.com wrote: Mohit, That's not how package managers work. Frank. Mohit Anchlia wrote: I

[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

[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

[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

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

2009-06-21 Thread Mohit Anchlia
at 3:00 PM, Eric Bowman ebow...@boboco.ie 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 which is dynamic in nature. For eg

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

2009-06-20 Thread Mohit Anchlia
tool. Thanks Arnab On Fri, Jun 19, 2009 at 8:05 PM, Mohit Anchlia mohitanch...@gmail.comwrote: 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

[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

[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 mohitanch...@gmail.comwrote: 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

[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] 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?

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

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.wr...@rowe-clan.net wrote: Mohit Anchlia wrote: We are using Apache 2.2. How can I find which

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 Evanstevans...@googlemail.com wrote: On Thu, 2009-06-11 at 07:57 -0700, Mohit Anchlia wrote: I see

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.wr...@rowe-clan.net wrote: Tom Evans wrote: On Thu, 2009-06-11 at 07:57 -0700, Mohit Anchlia wrote: I

[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

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 mohitanch...@gmail.com wrote: This looks like is to limit traffic for the clients that download data. I am looking for HTTP clients that POST

[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

[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

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

2009-03-12 Thread Mohit Anchlia
, but 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 URL exceeded 'x' number then return

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 uh...@fantomas.sk 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 take in new

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

2009-03-10 Thread Mohit Anchlia
Anchlia wrote: That's what I thought but it doesn't behave that way. I see that it still try to take in new sessions and sometimes it just hangs (or becomes defunct process) even if there are no sessions in progress. On 10.03.09 08:27, Mohit Anchlia wrote: Thanks ..we are indeed listening

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

2009-03-09 Thread Mohit Anchlia
Apache 2: Is there a way to tell apache to listen on say port 9000 and then when apache is up ask apache to stop listening on just port 9000? Which means it will keep listening on port 80 or 443. - The official User-To-User

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

2009-03-09 Thread Mohit Anchlia
then start apache. If you alter those, apache must be restarted. Frank Mohit Anchlia wrote: Apache 2: Is there a way to tell apache to listen on say port 9000 and then when apache is up ask apache to stop listening on just port 9000? Which means it will keep listening on port 80 or 443

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

2009-03-09 Thread Mohit Anchlia
. On Mon, Mar 9, 2009 at 10:21 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: On 09.03.09 10:12, Mohit Anchlia wrote: But can I tell apache to stop listening on only one port? So if apache is listening on 80, 8080 then ask apache to stop listening on 8080 only. The most important question

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

2009-03-09 Thread Mohit Anchlia
graceful stop doesn't work ..I've tried multiple times. sometimes it leaves a defunct process and other times it just hangs even though all the existing requests have been processed. On Mon, Mar 9, 2009 at 12:07 PM, Brian Mearns mearn...@gmail.com wrote: On Mon, Mar 9, 2009 at 3:05 PM, Eric

  1   2   >