Re: [OT] redirecting people to maintenance mode

2012-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 8/24/12 8:43 PM, Martin Gainty wrote: > dont forget with PEM you will need to deploy a single-rooted PKI > http://en.wikipedia.org/wiki/Privacy_Enhanced_Mail WTF are you talking about? No single-root is necessary: web servers support mult

RE: [OT] redirecting people to maintenance mode

2012-08-24 Thread Martin Gainty
MG>Frederich, MG>comments interspersed > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: [OT] redirecting people to maintenance mode > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fred, > > On 8/24/12 12:02 PM, Fre

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
Thanks for all of that, Chris. Cheers, Fred On Fri, Aug 24, 2012 at 9:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fred, > > On 8/24/12 12:02 PM, Fred Janon wrote: > > Excellent, thanks for all these suggestions. I never

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, On 8/24/12 12:02 PM, Fred Janon wrote: > Excellent, thanks for all these suggestions. I never really > understood why Tomcat standalone would be that much slower than > something else serving files like you pointed it out. So good > things to lo

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
Hi Chris, Excellent, thanks for all these suggestions. I never really understood why Tomcat standalone would be that much slower than something else serving files like you pointed it out. So good things to look at and try out. thanks for the SSL pointer as well, I need it. Thanks again. Fred On

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, (Marking OT because this strays from the OP's topic) On 8/23/12 4:21 PM, Fred Janon wrote: > I am interested in more details from your comment: > > "This is a common misconception: Apache httpd is *not* faster than > Tomcat for static content

Re: redirecting people to maintenance mode

2012-08-23 Thread Fred Janon
Christopher, I am interested in more details from your comment: "This is a common misconception: Apache httpd is *not* faster than Tomcat for static content *when configured appropriately*. The current default configuration is unfortunately much less optimized than Apache httpd's default configur

Re: redirecting people to maintenance mode

2012-08-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 8/22/12 5:04 AM, Miguel González Castaños wrote: > On 21/08/2012 17:00, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Miguel, >> >> On 8/21/12 6:25 AM, Miguel González Castaños wrote: >>> Dear all, >>>

Re: redirecting people to maintenance mode

2012-08-22 Thread Miguel González Castaños
On 21/08/2012 17:00, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 8/21/12 6:25 AM, Miguel González Castaños wrote: Dear all, I have a Tomcat web server. From time to time, I need to do some maintenance and want people not to interact with the Tomcat serv

Re: redirecting people to maintenance mode

2012-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 8/21/12 6:25 AM, Miguel González Castaños wrote: > Dear all, > > I have a Tomcat web server. From time to time, I need to do some > maintenance and want people not to interact with the Tomcat server > while I'm doing it. The key thing her

Re: redirecting people to maintenance mode

2012-08-20 Thread André Warnier
Miguel González Castaños wrote: Dear all, I have a Tomcat web server. From time to time, I need to do some maintenance and want people not to interact with the Tomcat server while I'm doing it. The key thing here is that the Tomcat server is up and running. This is what I want to achieve:

Re: redirecting people to maintenance mode

2012-08-20 Thread Jose María Zaragoza
> Sorry, for any reason the date was changed in my system inadvertently > > Corrected. I don't have any problem to fix issues to people from the future :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additio

Re: redirecting people to maintenance mode

2012-08-20 Thread Miguel González Castaños
On 20/08/2012 13:50, André Warnier wrote: Miguel González Castaños wrote: Dear all, I have a Tomcat web server. Apparently, you also have an email program that sends messages dated from the future. Or, maybe you should say then : I will have a Tomcat web server. Either way, it makes it

Re: redirecting people to maintenance mode

2012-08-20 Thread André Warnier
Miguel González Castaños wrote: Dear all, I have a Tomcat web server. Apparently, you also have an email program that sends messages dated from the future. Or, maybe you should say then : I will have a Tomcat web server. Either way, it makes it a bit harder to follow the gist of the conve

Re: redirecting people to maintenance mode

2012-08-20 Thread Konstantin Kolinko
2012/8/21 Miguel González Castaños : > On 20/08/2012 12:37, Jose María Zaragoza wrote: >>> >>>I assume I can use iptables to redirect people to a different web >>> server, >>> but how can I know that I need to redirect them to the maintenance.html >>> if >>> that server is serving other web pag

Re: redirecting people to maintenance mode

2012-08-20 Thread Jose María Zaragoza
> maybe I haven't worded my idea correctly. I can't assume the Tomcat service > in server1 is running all the time (since it's under maintenance, tomcat > might be restarted a few times during the maintenance). That's why I thought > about iptables. The issue is that iptables run at the IP level wh

Re: redirecting people to maintenance mode

2012-08-20 Thread mailingl...@j-b-s.de
What about a non-tomcat solution like a load balancer (apache, nginx?) in front of your tomcats? Sent from my iPhone On 21.08.2012, at 12:25, Miguel González Castaños wrote: > Dear all, > > I have a Tomcat web server. From time to time, I need to do some > maintenance and want people not

Re: redirecting people to maintenance mode

2012-08-20 Thread Miguel González Castaños
On 20/08/2012 12:37, Jose María Zaragoza wrote: I assume I can use iptables to redirect people to a different web server, but how can I know that I need to redirect them to the maintenance.html if that server is serving other web pages too? You can try Valve filters . With Valve, you have ac

Re: redirecting people to maintenance mode

2012-08-20 Thread Jose María Zaragoza
> I assume I can use iptables to redirect people to a different web server, > but how can I know that I need to redirect them to the maintenance.html if > that server is serving other web pages too? You can try Valve filters . With Valve, you have access to Request and Response objects I didn'

redirecting people to maintenance mode

2012-08-20 Thread Miguel González Castaños
Dear all, I have a Tomcat web server. From time to time, I need to do some maintenance and want people not to interact with the Tomcat server while I'm doing it. The key thing here is that the Tomcat server is up and running. This is what I want to achieve: - I want all people to be red