Re: [EMAIL PROTECTED] Apache Load Balancing issue using in cluster envionment of tomcat.

2008-11-13 Thread Raj_Dexter
check if ajp port is already in use or not. If hte port is already in use tomcat internally increments the port by one and starts listening to that port for requests. In this scenario apache won't be able to forward your requests to respective node. kashif_tomcat wrote: > > Hi All, > > i am doi

Re: [EMAIL PROTECTED] change BalancerMember status if servlet fails

2008-11-13 Thread Raj_Dexter
I did the same trick. When my back-end server is down i throw HTTP 503 servlet error from respective worker node. The error is shown to the user only for the first time. But after refreshing the browser the request is redirected to some other working node (even if the load on the node is more than

[EMAIL PROTECTED] Proxy balancing weirdness with bybusyness

2008-11-13 Thread Dan Udey
Hey all, We're having a strange problem with our 64-bit Apache 2.2.9 + bybusy patch proxy-balancing to mongrel app servers. What seems to happen is that Apache will forget (or ignore) workers that it knows about indefinitely. You can see this best from ps output: deploy 27326 14

RE: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Hollie Hollis
In your config are the RewriteCond and RewriteRule really on the same line together or is that just the e-mail playing with it? I'm not sure that it matters but I'd put them on separate lines if they are not already. -Original Message- From: Frank Gingras [mailto:[EMAIL PROTECTED] Sent: T

Re: [EMAIL PROTECTED] function modulename_child_exit in apache 2.0

2008-11-13 Thread Anurag Gujral
Thanks a lot Tom Anurag From: Tom Evans <[EMAIL PROTECTED]> To: users@httpd.apache.org Cc: Anurag Gujral <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2008 6:10:40 AM Subject: Re: [EMAIL PROTECTED] function modulename_child_exit in apache 2.0 On Thu, 2008-11

Re: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Justin Pasher
Reynier Perez Mira wrote: You will have to add the RewriteLogLevel and RewriteLog directives (they do not appear in a default apache config). They can be set within the global apache config or the VirtualHost directive. The purpose of the logs is not to eliminate the error, but to try to see how

Re: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Frank Gingras
Actually, a leading / in a condition will work just fine in the htaccess / directory / location context. You need to remove it from a RewriteRule, if present. Frank. Hollie Hollis wrote: Because this is in a .htaccess file rather than in the main apache configuration file you need to remove t

RE: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Reynier Perez Mira
> -Original Message- > From: Hollie Hollis [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2008 3:02 PM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Problems with .htaccess file > Because this is in a .htaccess file rather than in the main apache > configuration fi

RE: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Hollie Hollis
Because this is in a .htaccess file rather than in the main apache configuration file you need to remove the leading slash from your rule since it's looks at the rule from within the directory in which the .htaccess file is located. RewriteCond %{REQUEST_URI} !^index\.php$ RewriteRule !\.(js|ico|g

RE: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Reynier Perez Mira
> You will have to add the RewriteLogLevel and RewriteLog directives (they > do not appear in a default apache config). They can be set within the > global apache config or the VirtualHost directive. The purpose of the > logs is not to eliminate the error, but to try to see how the URLs are > being

Re: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Justin Pasher
Reynier Perez Mira wrote: Try increasing your RewriteLogLevel (something like RewriteLogLevel 3) in your apache config (you may have to set RewriteLog also). Then look through the log to see exactly how it is rewriting the request. Where I change these values? I look in apache2.conf file a

RE: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Reynier Perez Mira
> Try increasing your RewriteLogLevel (something like RewriteLogLevel 3) > in your apache config (you may have to set RewriteLog also). Then look > through the log to see exactly how it is rewriting the request. Where I change these values? I look in apache2.conf file and nothing like "RewriteLog

Re: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Justin Pasher
Reynier Perez Mira wrote: You can add an exception before it to avoid this RewriteCond %{REQUEST_URI} !^/index\.php$ RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php Well, now my .htaccess file is this: php_flag magic_quotes_gpc off php_flag register_globals off RewriteEngine On Rewri

[EMAIL PROTECTED] Q about --enable-debug

2008-11-13 Thread craig
Is --enable-debug still a usable option for Apache configure? The web page that I found about such things, http://httpd.apache.org/docs/2.2/programs/configure.html only mentions --enable-maintainer-mode not --enable-debug. With --enable-maintainer-mode in 'make', I got quite a number of warni

[EMAIL PROTECTED] apache server not starting

2008-11-13 Thread Anurag Gujral
Hi All, I downloaded  httpd-2.0.63 and after ./configure make and make install. I gave the command ./bin/apachectl start but I get an error that Syntax error on line 95 of conf/httpd.conf: Cannot load /home/y/lib/mod_tagweb_fed.so into server: /home/y/lib/mod_tagweb_fed.so: cannot

Re: [EMAIL PROTECTED] Apache fails to start as service

2008-11-13 Thread André Warnier
Hi. You may want to verify that Apache's logfiles are actually writeable by the user under which Apache runs (or should run) as a service. If you have run Apache before from the command-line as Administrator, it may have created logfiles unwriteable by anyone else. This would prevent Apache fro

RE: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Reynier Perez Mira
> You can add an > exception before it to avoid this > > RewriteCond %{REQUEST_URI} !^/index\.php$ > RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php > Well, now my .htaccess file is this: php_flag magic_quotes_gpc off php_flag register_globals off RewriteEngine On RewriteBase /webacula Rew

Re: [EMAIL PROTECTED] Apache fails to start as service

2008-11-13 Thread Timothy Orme
Hello Dewey, Well I was able to narrow down my problem and managed to find an "acceptable" workaround. It seems that when you map a network drive it is invisible to services regardless of permissions. This kind of makes sense, as my loose understanding of mapped network drives is that

Re: [EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Justin Pasher
Reynier Perez Mira wrote: Hi every: I'm newbie using Rewrite rules with Apache and for that is my problem. I want to install Webacula application in one of my servers. This app have this .htaccess file: php_flag magic_quotes_gpc off php_flag register_globals off RewriteEngine On RewriteBase

RE: [EMAIL PROTECTED] Apache fails to start as service

2008-11-13 Thread Williams, Dewey
> -Original Message- > From: Timothy Orme [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 05, 2008 10:43 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Apache fails to start as service > > Hello, > > I'm running Apache 2.2.10 on Windows 2003 EE. I have a direct

Re: [EMAIL PROTECTED] function modulename_child_exit in apache 2.0

2008-11-13 Thread Tom Evans
On Thu, 2008-11-13 at 04:49 -0800, Anurag Gujral wrote: > Hi All, > I need to call function modulename_child_exit in apache > 2.0 to free resources that are allocated in > modulename_child_init. How should I use that function so that it gets > called only when child dies. > > Plz Co

[EMAIL PROTECTED] Problems with .htaccess file

2008-11-13 Thread Reynier Perez Mira
Hi every: I'm newbie using Rewrite rules with Apache and for that is my problem. I want to install Webacula application in one of my servers. This app have this .htaccess file: php_flag magic_quotes_gpc off php_flag register_globals off RewriteEngine On RewriteBase /webacula RewriteRule !\.(js

[EMAIL PROTECTED] function modulename_child_exit in apache 2.0

2008-11-13 Thread Anurag Gujral
Hi All,     I need to call function modulename_child_exit in apache 2.0 to free resources that are allocated in modulename_child_init. How should I  use that function so that it gets called only when child dies. Plz Comment Thanks Anurag

[EMAIL PROTECTED] How to configure httpd.conf file to include different external configuration/module files into it?

2008-11-13 Thread 白建勇
Hi , everybody! Here is my problem , I really need your help and hope you give me some advice. Apache version : apache httpd 2.0 In my case ,I need use some kind of directives like Include to finish this job . there are some different OS(linux,SunOS,HP-UX etc) platform in the project , on