Re: [us...@httpd] Load balancing: nothing gets logged for a few seconds when a machine is rebooted

2010-05-12 Thread Mauro Vanetti
2010 15.48, Mark Watts: On Wed, 2010-05-12 at 13:00 +0200, Mauro Vanetti wrote: Hello! I'm testing load balancing between four nodes placed in two distinct machines (2 + 2). The load balancer is on the first machine, where nodes 11 and 12 are. Nodes 21 and 22 are on the second machine. When I re

[us...@httpd] Load balancing: nothing gets logged for a few seconds when a machine is rebooted

2010-05-12 Thread Mauro Vanetti
Real example (requests per second logged in access_log): 100 112 102 92 32 <-- CRISIS 0 <-- PEAK OF THE CRISIS 3 <-- CRISIS 25 <-- CRISIS 55 <-- RECOVERY 98 93 101 What can be the reason for this behaviour? Thank you very much for your help. Best regards! -- _ ____ ___

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-07 Thread Mauro Sacchetto
Il martedì 7 ottobre 2008 19:43:09 hai scritto: > That is because the link you click on contains the long addres. > Rewrites do not affect the content of the response. You will need to > change the code that generates the menu to use the short address for > the "home" button. Y're right! Infact I

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-07 Thread Mauro Sacchetto
ill only work through Apache httpd.  Directly accessing > the application server will error for these links. The menus are dinamically generated by PHP... MS -- linux user no.: 353546 -- Prof. Mauro Sacchetto Santa Croce 1332a 30135 VENEZIA tel.: 041 5226494 cell.: 320 7414579 34

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-07 Thread Mauro Sacchetto
Il martedì 7 ottobre 2008 16:41:50 Krist van Besien ha scritto: > What you have to understand is that RewriteRules operate on the > requests that are sent from the browser to the server, not the other > way round. > So what you can do with a rewrite rule is make it possible for a > browser to reque

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-07 Thread Mauro Sacchetto
Il martedì 7 ottobre 2008 08:21:04 [EMAIL PROTECTED] ha scritto: > This cannot be fixed with basic Apache httpd; you should correct your > menus in the application. (mod_proxy_html might help if you get it to > work.) Consider that I use an external host, so I cannot work on its Apache configurati

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-07 Thread Mauro Sacchetto
Il martedì 7 ottobre 2008 08:21:04 [EMAIL PROTECTED] ha scritto: > The second rewrite redirects requests with the querystring > "?pagina=home" to the homepage. To check querystrings with multiple > parameters: >RewriteCond %{QUERY_STRING} ^(.*&)*pagina=home(&)? >RewriteRule (*.) / [P] If I

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-06 Thread Mauro Sacchetto
Il lunedì 6 ottobre 2008 19:14:02 hai scritto: > None of the examples in the manual match against the protocol or > hostname part of the URL. > I previously described that you also can't match the query string in > the rewriterule. > You also probably need a trailing slash on the 2nd argument. > No

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-06 Thread Mauro Sacchetto
Il lunedì 6 ottobre 2008 15:56:23 Krist van Besien ha scritto: > In what direction do you want the rewrite to happen? > Let me guess: You want the user to be able to enter the following in > the address bar in his browser: > http://www.giovannifornero.net > and the webserver should then answer with

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-06 Thread Mauro Sacchetto
Il lunedì 6 ottobre 2008 15:55:33 Eric Covener ha scritto: > The query string (after the question mark) isn't part of what you're > comparing against. To compare against the query string, precede your > rule with > Rewritecond %{QUERY_STRING} pagina=home (and remove the query string part. > The 2nd

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-06 Thread Mauro Sacchetto
Il lunedì 6 ottobre 2008 15:56:23 Krist van Besien ha scritto: > In what direction do you want the rewrite to happen? > Let me guess: You want the user to be able to enter the following in > the address bar in his browser: > http://www.giovannifornero.net > and the webserver should then answer with

[EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-06 Thread Mauro Sacchetto
I must translate the following address: http://www.giovannifornero.net/index.php?pagina=home in the more confortable way: http://www.giovannifornero.net I tried to put in .htaccess the string: RewriteRule ^/index.php?pagina=home$ ^giovannifornero.net [R=301,NC,L] but it doesn't happen anything. Is

[EMAIL PROTECTED] undefined symbol: zend_ini_string

2006-11-23 Thread Mauro
/lib \ --with-libdir=/data/programs/mysql/lib/mysql Could you help me? Thank You Mauro

Re: [EMAIL PROTECTED] problem loading DSO modules

2006-07-20 Thread Mauro
apache2 is a link to http-2.2.2   I found the solution!   I have to write:   LoadModule env_module modules/mod_env.so ^^^ and not LoadModule mod_env modules/mod_env.so ^^^   Thank you for your support     RGDS   Mauro

Re: [EMAIL PROTECTED] problem loading DSO modules

2006-07-20 Thread Mauro
c" <[EMAIL PROTECTED]> To: Sent: Thursday, July 20, 2006 10:16 AM Subject: Re: [EMAIL PROTECTED] problem loading DSO modules > Hi, > > On Don 20.07.2006 10:12, Mauro wrote: > > > >I'v configuread apache with these configure options: > >

[EMAIL PROTECTED] problem loading DSO modules

2006-07-20 Thread Mauro
where: # ls -la /data/programs/apache2/modules/mod_env.so -rwxr-xr-x  1 root root 23491 Jul 20 09:23 /data/programs/apache2/modules/mod_env.so   Could you help me to understand why apache doesn't load shared modules?   Thank You   Regards   Mauro  

Re: [EMAIL PROTECTED] Alias or ScriptAlias ?

2006-07-18 Thread Mauro
Thank You It works fine!!! - Original Message - From: "Boyle Owen" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 18, 2006 11:48 AM Subject: RE: [EMAIL PROTECTED] Alias or ScriptAlias ? Something like this might work: Options ExecCGI SetHandler cgi-script Rgds, Owen Boyle Disclaim

[EMAIL PROTECTED] Alias or ScriptAlias ?

2006-07-18 Thread Mauro
shows.   If i configure it like "ScriptAlias" web server try to execute all inside If i configure it like "Alias" and I add "DirectoryIndex script.cgi" "Options +ExecCGI" web server shows me content of script.cgi without executing it.   Could you help me?   Thank Yoo   Mauro