Re: [us...@httpd] Re: How to see/use the response when the apache server is down.

2009-07-06 Thread Eric Covener
On Mon, Jul 6, 2009 at 6:05 PM, Chintan Kachhi wrote: > All the person would > then have to do is to load the module, which would have the rewrite engine > turned on.. and boom, it would work. Why would someone ever use the module if ErrorDocument is there? -- Eric Covener cove...@gmail.com ---

Re: [us...@httpd] Re: Load balancing between different versions of a web application

2009-07-06 Thread Pranjal Thakur
On Mon, Jul 6, 2009 at 9:04 PM, Jonathan Zuckerman wrote: > On Mon, Jul 6, 2009 at 5:56 PM, Pranjal Thakur wrote: > > I am using the apache mod_proxy load balancer: > > http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html > > > > I am not able to find any configuration change that I could

Re: [us...@httpd] Re: Load balancing between different versions of a web application

2009-07-06 Thread Jonathan Zuckerman
On Mon, Jul 6, 2009 at 5:56 PM, Pranjal Thakur wrote: > I am using the apache mod_proxy load balancer: > http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html > > I am not able to find any configuration change that I could make to achieve > this. > Here is the situation: > my web application

Re: [us...@httpd] Re: Load balancing between different versions of a web application

2009-07-06 Thread Pranjal Thakur
I am using the apache mod_proxy load balancer: http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html I am not able to find any configuration change that I could make to achieve this. Here is the situation: my web application has 2 versions say N and N+1. N has 5 instances and N+1 has 5 inst

Re: [us...@httpd] Re: Load balancing between different versions of a web application

2009-07-06 Thread Jonathan Zuckerman
On Mon, Jul 6, 2009 at 1:49 PM, Pranjal Thakur wrote: > Hello, > My problem is mentioned in the previous post (see below). I want to add that > I cannot use sticky sessions as the cloud that hosts our sessions is fully > clustered and so has the ability to send requests to a different server > inst

[us...@httpd] mod_rewrite - RewriteLog directive in Apache 2.2.X: support for UNC paths ?

2009-07-06 Thread Toadie
I am using apache 2.2.8+ running on Windows. It looks like somewhere along the 2.2.X line, supports for UNC path based log files have been added. I have verified that CustomLog, ErrorLog directive works with UNC path e.g. LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog "|bin/rotatelogs.

Re: [us...@httpd] Re: How to see/use the response when the apache server is down.

2009-07-06 Thread Chintan Kachhi
Thanks for the link...I have looked through it before, and I just tried what it says, and it works ( I can just put my custom message within the httpd.conf file against the ErrorDocument 404 directive, and it will display this message when the page cannot be found.).That's exactly the functionality

Re: [us...@httpd] Re: How to see/use the response when the apache server is down.

2009-07-06 Thread André Warnier
Chintan Kachhi wrote: Thanks for the replies... I guess that can't be done then, but after thinking a bit, I think that I am probably looking for the scenario where a service is down on a server, rather than the server itself. Let's assume that I get the following response when the service is dow

Re: [us...@httpd] Re: How to see/use the response when the apache server is down.

2009-07-06 Thread Eric Covener
On Mon, Jul 6, 2009 at 4:55 PM, Chintan Kachhi wrote: > Thanks for the replies... I guess that can't be done then, but after > thinking a bit, I think that I am probably looking for the scenario where a > service is down on a server, rather than the server itself. Let's assume > that I get the foll

Re: [us...@httpd] Re: Apache workers DNS change question?

2009-07-06 Thread André Warnier
Jai wrote: We are not going to change it dynamically. We are going to bring down jboss servers when we change IP address. But we will not be able to bring apache since it has JK Mount configured for applications other than the application we bring down. Sure. I will search it in tomcat forums and

Re: [us...@httpd] Re: Apache workers DNS change question?

2009-07-06 Thread Jai
We are not going to change it dynamically. We are going to bring down jboss servers when we change IP address. But we will not be able to bring apache since it has JK Mount configured for applications other than the application we bring down. Sure. I will search it in tomcat forums and will go ahea

Re: [us...@httpd] Re: How to see/use the response when the apache server is down.

2009-07-06 Thread Chintan Kachhi
Thanks for the replies... I guess that can't be done then, but after thinking a bit, I think that I am probably looking for the scenario where a service is down on a server, rather than the server itself. Let's assume that I get the following response when the service is down: HTTP/1.1 404 Not Foun

Re: [us...@httpd] Re: Apache workers DNS change question?

2009-07-06 Thread André Warnier
Jai wrote: Apache is acting as a front end webserver and it sends requests to Jboss application server. We have configured Jboss servers as a workers in apache workers.properties file. We have specified Jboss host name in workers.properties Very good, so now we know something more : that you are

[us...@httpd] Re: Load balancing between different versions of a web application

2009-07-06 Thread Pranjal Thakur
Hello, My problem is mentioned in the previous post (see below). I want to add that I cannot use sticky sessions as the cloud that hosts our sessions is fully clustered and so has the ability to send requests to a different server instance in case the current instance fails. let me know if there i

Re: [us...@httpd] Re: Apache workers DNS change question?

2009-07-06 Thread Jai
Apache is acting as a front end webserver and it sends requests to Jboss application server. We have configured Jboss servers as a workers in apache workers.properties file. We have specified Jboss host name in workers.properties On Mon, Jul 6, 2009 at 1:46 PM, André Warnier wrote: > Jai wrote:

Re: [us...@httpd] Re: Apache workers DNS change question?

2009-07-06 Thread André Warnier
Jai wrote: Also, I forgot to include that we dont have reference of IP address in any of apache configuration file. On Mon, Jul 6, 2009 at 11:16 AM, Jai wrote: All, We have Apache 2.0.63 and Jboss 4.0.4 are running in two different machines. Could you please suggest me what happens with apac

[us...@httpd] Sticky session and ModJK Load Balancer

2009-07-06 Thread Emilio Recio
Hi, i have installed Apache 2.2 and two Tomcat 6 whit load balancing in cluster mode using "mod_jk" module and setting sticky session in TRUE, and memory replication. I was testing my project and work perfect. We have a dilemma using sticky session or not using it, with my team work. Setting st

[us...@httpd] Re: Apache workers DNS change question?

2009-07-06 Thread Jai
Also, I forgot to include that we dont have reference of IP address in any of apache configuration file. On Mon, Jul 6, 2009 at 11:16 AM, Jai wrote: > All, > > We have Apache 2.0.63 and Jboss 4.0.4 are running in two different > machines. Could you please suggest me what happens with apache if w

[us...@httpd] Apache workers DNS change question?

2009-07-06 Thread Jai
All, We have Apache 2.0.63 and Jboss 4.0.4 are running in two different machines. Could you please suggest me what happens with apache if we change the Jboss hosts DNS IP address? Do we need to restart Apache web server to make the changes take effect? Thanks Jayamurugan

[us...@httpd] Re: How to see/use the response when the apache server is down.

2009-07-06 Thread hugh williams
Assuming your definition of "down" is "not responding", there is no way for the server to respond with any kind of status code. Your customer's browsers will generally give them a message of some kind that it couldn't contact the server , however as the web administrator you have no visibility

[us...@httpd] mod_proxy_balance: route redirect not working

2009-07-06 Thread Juergen.Link
We use mod_proxy to distribute requests to four tomcat instances. Our configuration (vhost.conf) is as follows: ProxyPass /balancer-manager ! ProxyPass / balancer://mybalancer/ stickysession=JSESSIONID BalancerMember ajp://xx.yy.zz:11009/ldsportal route=tomcat1 loadfactor=50

Re: [us...@httpd] How to see/use the response when the apache server is down.

2009-07-06 Thread Eric Covener
On Mon, Jul 6, 2009 at 10:57 AM, Chintan Kachhi wrote: > I have installed apache http server version 2.2 on my local machine. I am > trying to write an apache rewrite module for the case when the apache server > is down. When the server is down, I need to redirect to a custom error page. > Does any

[us...@httpd] Load balancing between different versions of a web application

2009-07-06 Thread Pranjal Thakur
This is more of a theoretical question. I want to know if it is possible to do this: I have various versions of a web application, each running certain number of instances. When a request comes in, it goes to a certain instance of some version. I want the load balancer to now route further request

Re: [us...@httpd] implementing an SLA for a request in apache

2009-07-06 Thread Neal Richter
On Mon, Jul 6, 2009 at 4:39 AM, Krist van Besien wrote: > ProxyTimeout 300 > ErrorDocument 504 /errorpages/504.html Thanks. I looked at this. ProxyTimeout does not accept anything less than 1 second. I need timeouts after 700-800ms. The ErrorDocument preserves the error's return code.. I'd lik

[us...@httpd] How to see/use the response when the apache server is down.

2009-07-06 Thread Chintan Kachhi
I have installed apache http server version 2.2 on my local machine. I am trying to write an apache rewrite module for the case when the apache server is down. When the server is down, I need to redirect to a custom error page. Does anyone know how can I apply this condition. So for starters, how c

Re: [us...@httpd]

2009-07-06 Thread André Warnier
Brian Mearns wrote: The answer is 12. On Mon, Jul 6, 2009 at 4:03 AM, John Winther wrote: help Actually, considering the OP's apparent location, it's 112. http://ec.europa.eu/environment/civil/prote/112/112_en.htm - The of

Re: [us...@httpd]

2009-07-06 Thread Brian Mearns
The answer is 12. On Mon, Jul 6, 2009 at 4:03 AM, John Winther wrote: > help -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://keys.gnupg.net - The official User-To-User support forum

Re: [us...@httpd] implementing an SLA for a request in apache

2009-07-06 Thread Krist van Besien
On Fri, Jul 3, 2009 at 6:56 PM, Neal Richter wrote: > Hi, > >  Here's a problem I'd like to solve.  Configure apache to receive a > request and proxy/forward it off to a backend app server (tomcat) .. > wait a specified period of time .. and no response is received send > back a static file or a re

Re: [us...@httpd] modules need to enable to setup https at apache level

2009-07-06 Thread André Warnier
ravindra wrote: Hi Everybody We are load balancing the Struts2 application running in Tomcat6 using Apache (apache 2.2) web server. To implement it we have enabled mod_jk. Both Tomcat6 and Apache are on the same host right now. We want to access Struts2 application securely through https. So

Re: [us...@httpd] modules need to enable to setup https at apache level

2009-07-06 Thread Krist van Besien
On Mon, Jul 6, 2009 at 10:49 AM, ravindra wrote: > We are load balancing the Struts2 application running in Tomcat6 using > Apache (apache 2.2) web server. To implement it we have enabled mod_jk. Both > Tomcat6 and Apache are on the same host right now. We want to access Struts2 > application secu

Re: [us...@httpd] why my httpd cored?

2009-07-06 Thread Nick Kew
On 6 Jul 2009, at 07:46, Yi Zhao wrote: when I start my apache, I got " Segmentation fault.", gdb information is: (gdb) r Starting program: /home/admin/search/apache/bin/httpd -f /home/ admin/search/conf/httpd.conf.16g -k start [Thread debugging using libthread_db enabled] [New Thread 18289

[us...@httpd] modules need to enable to setup https at apache level

2009-07-06 Thread ravindra
Hi Everybody We are load balancing the Struts2 application running in Tomcat6 using Apache (apache 2.2) web server. To implement it we have enabled mod_jk. Both Tomcat6 and Apache are on the same host right now. We want to access Struts2 application securely through https. So I enabled mod_ssl

[us...@httpd]

2009-07-06 Thread John Winther
help

Re: [us...@httpd] Windows Installation to local machine

2009-07-06 Thread Ognyan Dimitrov
Edward Diener wrote: When installing to my local machine under Windows, and using the installation program, what do i put for "Network Domain" and "Server Name" ? - The official User-To-User support forum of the Apache HTTP S