[EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Massimiliano Giraldo
Hello! I'm trying to find the solution of my problems in Nabble, but my search isn't good. I'm working with Jboss 4.2.3.GA, Apache 2.2.9 and mod_jk, everything working on Fedora 8. I would like to create a cluster of two computers and a loadbalancer based on Apache. I had no problems creating t

[EMAIL PROTECTED] close to success with RewriteRule

2008-09-17 Thread Alain Roger
I still no have been successful to make it works. any idea ? -- Forwarded message -- From: Alain Roger <[EMAIL PROTECTED]> Date: Tue, Sep 16, 2008 at 7:32 PM Subject: Re: [EMAIL PROTECTED] close to success with RewriteRule To: users@httpd.apache.org this is what i have in my .h

[EMAIL PROTECTED] Re: Make Apache dump core in windows.

2008-09-17 Thread André Warnier
Prathima Dandapani -X (pdandapa - HCL at Cisco) wrote: Hi All, I am running Apache 2.2.9 as a service in windows. Can any help me in making Apache to dump core in some directory before it crashes. Thanks in advance. Now that's kind of an unusual request. Usually

Re: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Davide Bianchi
Massimiliano Giraldo wrote: > Then I tried to configure the web server with mod_jk. I downloaded the > binary version of mod_jk and I followed the guide that I found on > http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta500/html_single/index.html#clusterin

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-17 Thread André Warnier
Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 4:21 PM, André Warnier <[EMAIL PROTECTED]> wrote: I'm beginning to think we're chasing our tails. IE is going to pass the credentials in NTLM format, I believe. Even if we got the username right, I'm thinking maybe the password won't be readab

Re: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread André Warnier
Davide Bianchi wrote: Massimiliano Giraldo wrote: Then I tried to configure the web server with mod_jk. I downloaded the binary version of mod_jk and I followed the guide that I found on http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta500/html_single/i

Re: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Massimiliano Giraldo
Ciao Davide! My application works on JBoss. It's a html page which invokes a servlet. If I try my application visiting http://:8080/, it works! apachectl configtest returns "Syntax OK" and in error_log file, i can find only the error "File does not exist", because Apache looks for my application

RE: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Deepak Gupta
Hi, You need to JkMount your URLs from Apache to Jboss add this in your mod-jk.conf or httpd.conf JkMount /__application__/* loadbalancer Regards, Deepak Senior Software Eng. MPS Technologies Ltd. (A Macmillan Company) 3A, 5th Floor, DLF Corporate Park Phase III, Gurgaon - HARYANA, INDIA Office

Re: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Massimiliano Giraldo
Hello André I think that mod_jk is not loaded in Apache! I have no message in the log referred to the module. Following the guide of JBoss about the configuration of mod_jk, at the end of httpd.conf I added this line: Include conf/mod-jk.conf and then I created in the same folder the file "mod-

Re: [EMAIL PROTECTED] Make Apache dump core in windows.

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 2:06 AM, Prathima Dandapani -X (pdandapa - HCL at Cisco) <[EMAIL PROTECTED]> wrote: > Hi All, > > I am running Apache 2.2.9 as a service in windows. > Can any help me in making Apache to dump core in some directory > before it crashes. > Thanks in

RE: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Massimiliano Giraldo
I already do it in my "mod-jk.conf" file. I have a line like this: JkMount /application/* loadbalancer But it doesn't work! :confused: Max Deepak Gupta-5 wrote: > > Hi, > > You need to JkMount your URLs from Apache to Jboss add this in your > mod-jk.conf or httpd.conf > > JkMount /__appl

Re: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread André Warnier
Well then, it looks like none of these instructions are being read by Apache when it starts. If only part of them were being read, then Apache would write error messages to its error log, and probably refuse to start. Are you sure that the files that you *think* are the configuration files for A

Re: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Massimiliano Giraldo
Hi André The version of Apache isn't an Apache "packaged" for Fedora. I downloaded the .tar.gz version from http://httpd.apache.org and then I configured and installed it! The installation created the folder /usr/apache2, specified with the command "./configure --prefix=/usr/apache2". I start, r

Re: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Massimiliano Giraldo
Ok, I found what's wrong! Following what André said, I looked for other file called "httpd.conf" in my computer and I found some files under the folder /etc/httpd. Here there aren't all the files of Apache, but there is the httpd.conf which is working with Apache. So I need to modify this file,

Re: [EMAIL PROTECTED] Configuration Question

2008-09-17 Thread Carol Walter
I am talking about the document root. I'm sorry it was unclear. I'm a newby. =) I guess my real question is, does it have to be a user in /home/username on a Unix system? I'll have only one user - the app user. Carol On Sep 16, 2008, at 12:50 PM, Justin Pasher wrote: Carol Walter wr

Re: [EMAIL PROTECTED] Re: Make Apache dump core in windows.

2008-09-17 Thread Jay Sprenkle
André Warnier wrote: Prathima Dandapani -X (pdandapa - HCL at Cisco) wrote: Hi All, I am running Apache 2.2.9 as a service in windows. Can any help me in making Apache to dump core in some directory before it crashes. Thanks in advance. Now that's kind of an unus

Re: [EMAIL PROTECTED] Re: Make Apache dump core in windows.

2008-09-17 Thread Tom Evans
On Wed, 2008-09-17 at 08:08 -0500, Jay Sprenkle wrote: > André Warnier wrote: > > Prathima Dandapani -X (pdandapa - HCL at Cisco) wrote: > >> Hi All, > >> > >> I am running Apache 2.2.9 as a service in windows. > >> Can any help me in making Apache to dump core in some director

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-17 Thread Clayton Hicklin
On Wed, Sep 17, 2008 at 4:56 AM, André Warnier <[EMAIL PROTECTED]> wrote: > Clayton Hicklin wrote: > >> On Tue, Sep 16, 2008 at 4:21 PM, André Warnier <[EMAIL PROTECTED]> wrote: >> >> I'm beginning to think > we're chasing our tails. IE is going to pass the credentials in NTLM for

Re: [EMAIL PROTECTED] Configuration Question

2008-09-17 Thread Justin Pasher
Carol Walter wrote: I am talking about the document root. I'm sorry it was unclear. I'm a newby. =) I guess my real question is, does it have to be a user in /home/username on a Unix system? I'll have only one user - the app user. Carol If you are talking about the global DocumentRoot

RE: [EMAIL PROTECTED] How do I tell Apache where to find the APR and APR-utils?

2008-09-17 Thread Jorge Medina
Hi, I'm still trying to find a solution. Is there any way to link the APR statically? Thanks -Jorge -Original Message- From: Jorge Medina [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 4:49 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] How do I tell Apache w

[EMAIL PROTECTED] LDAP authentication - search depth

2008-09-17 Thread parminder gupta
Hello, I am trying to get my Apache/Subversion server running on Linux authenticate users on Windows Active Directory using LDAP. Server information is as below: Apache: 2.2.3 Subversion: 1.5.1 Linux: CentOS 5.2 (kernel 2.6.18-92.1.10.el5) The LDAP structure of my company looks like below: DC=ex

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-17 Thread André Warnier
Clayton Hicklin wrote: [...] After doing some more reading, I really think this isn't going to work how I want. There, I think you are basically right. IE is never going to send the password in clear (or even encoded as Base64), unless you use Basic authentication, and in my opinion that impl

RE: [EMAIL PROTECTED] How do I tell Apache where to find the APR and APR-utils?

2008-09-17 Thread Gene LeDuc
Did you specify the path with ./configure? --with-apr=PATH prefix for installed APR or the full path to apr-config --with-apr-util=PATHprefix for installed APU or the full path to apu-config At 08:09 AM 9/17/2008, Jorge Medina wrote: Hi, I'm still trying to find a solution.

[EMAIL PROTECTED] How to Find Online Users?

2008-09-17 Thread amiribarksdale
What is the "standard" way to determine whether a user is indeed logged in to a site and online right then? I have a web app where users log in and get a cookie. Part of it is the sessin cookie which expires at the close of the session, and part of it is a longer lasting authentication cookie. Am

RE: [EMAIL PROTECTED] How do I tell Apache where to find the APR and APR-utils?

2008-09-17 Thread Jorge Medina
Yes, but the original path to the APR and APR-util is not the same as in the deployment machine. I specify the paths --with-apr=/home/developer/opt/myapp/apr --with-apr-util=/home/developer/opt/myapp/apr-util But when my app gets "deployed" (just the binaries), the paths may change to something

[EMAIL PROTECTED] Responding to ping

2008-09-17 Thread Arnab Ganguly
Hi All, Is it possible that Apache server stops responding under heavy load, but it responds to ping? What would be the possible causes for this? Remote client is getting connection refused when it tries to connect.But when the I ping the server from the client box it shows the server is alive. Tha

RE: [EMAIL PROTECTED] How do I tell Apache where to find the APR and APR-utils?

2008-09-17 Thread Gene LeDuc
Can you create your production layout on your build machine and do it that way? We do something like this by having a standard layout on our production servers so we can build the binaries on our build machine and then transfer them over to the production boxes. We use stow to make everything

Re: [EMAIL PROTECTED] Configuration Question

2008-09-17 Thread Carol Walter
Justin, Thank you very much. That is exactly what I needed to know. I'm glad you answer was more succinct that my question! Carol On Sep 17, 2008, at 10:38 AM, Justin Pasher wrote: Carol Walter wrote: I am talking about the document root. I'm sorry it was unclear. I'm a newby. =) I

Re: [EMAIL PROTECTED] Responding to ping

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 12:30 PM, Arnab Ganguly <[EMAIL PROTECTED]> wrote: > Hi All, > Is it possible that Apache server stops responding under heavy load, but it > responds to ping? What would be the possible causes for this? > Remote client is getting connection refused when it tries to connect.B

[EMAIL PROTECTED] How memory are actually used?

2008-09-17 Thread howard chen
Hello, I am running Apache HTTPD 1.3.37 with mod_php, when using the top command, I see: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 12584 web 15 0 142m 12m 9176 S8 0.3 2:07.01 httpd 12586 web 15 0 142m 12m 9168 S8 0.3 2:08.85 httpd 12589

Re: [EMAIL PROTECTED] How memory are actually used?

2008-09-17 Thread Justin Pasher
howard chen wrote: Hello, I am running Apache HTTPD 1.3.37 with mod_php, when using the top command, I see: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 12584 web 15 0 142m 12m 9176 S8 0.3 2:07.01 httpd 12586 web 15 0 142m 12m 9168 S8 0.3

[EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-17 Thread Alain Roger
so here is what works perfectly at work but not at home. at home i get error message: > Internal Server Error > > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, [EMAIL PROTECTED] and inform them >

Re: [EMAIL PROTECTED] How to Find Online Users?

2008-09-17 Thread Justin Pasher
amiribarksdale wrote: What is the "standard" way to determine whether a user is indeed logged in to a site and online right then? I have a web app where users log in and get a cookie. Part of it is the sessin cookie which expires at the close of the session, and part of it is a longer lasting aut

Re: [EMAIL PROTECTED] How memory are actually used?

2008-09-17 Thread Torsten Foertsch
On Wed 17 Sep 2008, howard chen wrote: > I am running Apache HTTPD 1.3.37 with mod_php, when using the top > command, I see: > >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND > 12584 web       15   0  142m  12m 9176 S    8  0.3   2:07.01 httpd > 12586 web       15   0  142m  

Re: [EMAIL PROTECTED] How to Find Online Users?

2008-09-17 Thread André Warnier
Justin Pasher wrote: amiribarksdale wrote: What is the "standard" way to determine whether a user is indeed logged in to a site and online right then? I have a web app where users log in and get a cookie. Part of it is the sessin cookie which expires at the close of the session, and part of it

[EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Yoom Nguyen
I am using Apache2 on SuSe 10 ES My redirect rule get my webserver go into a loop. I need to bring a production server down for a maintenance.  So when this happen I want the apache server to redirect everything from this particular production domain to a new DocumentRoot to display

Re: [EMAIL PROTECTED] Responding to ping

2008-09-17 Thread Dragon
Arnab Ganguly did speak thusly: Hi All, Is it possible that Apache server stops responding under heavy load, but it responds to ping? What would be the possible causes for this? Remote client is getting connection refused when it tries to connect.But when the I ping the server from the client b

Re: [EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 1:38 PM, Alain Roger <[EMAIL PROTECTED]> wrote: > so here is what works perfectly at work but not at home. > at home i get error message: >> >> Internal Server Error >> >> The server encountered an internal error or misconfiguration and was >> unable to complete your request

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 2:49 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > > DocumentRoot /srv/www/maintenance/ > > RewriteEngine on > RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) > RewriteRule .* -[F] > > RewriteRule ^/(.*)$ maintenance.html [R=302,NC,L] Add a / before maintenance.html, and Pro

Re: [EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-17 Thread Yoom Nguyen
Eric, There are nothing under the error_log. However, the access_log continue to display the same line "GET /maintenance.html HTTP/1.1" 302 219 "--" "Mozilla/4.0 compatible:MSIE 5.01: Windows NT 5.0)" "GET /maintenance.html HTTP/1.1" 302 219 "--" "Mozilla/4.0 compatible:MSIE 5.01: Windows N

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Agus
2008/9/17 Eric Covener <[EMAIL PROTECTED]>: > On Wed, Sep 17, 2008 at 2:49 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > >> >> DocumentRoot /srv/www/maintenance/ >> >> RewriteEngine on >> RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) >> RewriteRule .* -[F] >> >> RewriteRule ^/(.*)$ maintenance.html

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Yoom Nguyen
Eric, That was it, I need that RewriteCond. Thank you so much for your help. Y - Original Message - From: "Eric Covener" <[EMAIL PROTECTED]> To: users@httpd.apache.org Sent: Wednesday, September 17, 2008 3:40:15 PM (GMT-0500) America/New_York Subject: Re: [EMAIL PROTECTED] Rewrite Rul

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread André Warnier
Eric Covener wrote: On Wed, Sep 17, 2008 at 2:49 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: DocumentRoot /srv/www/maintenance/ RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* -[F] RewriteRule ^/(.*)$ maintenance.html [R=302,NC,L] Add a / before maintenance.htm

Re: [EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 3:39 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > Eric, > > There are nothing under the error_log. However, the access_log continue to > display the same line > > "GET /maintenance.html HTTP/1.1" 302 219 "--" "Mozilla/4.0 compatible:MSIE > 5.01: Windows NT 5.0)" > "GET /

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 4:02 PM, André Warnier <[EMAIL PROTECTED]> wrote: >> (you can do the latter via your regex, but it's usually simpler to >> guard it the other way) >> >> > RewriteRule !^/maintenance\.html$ /maintenance.html [R=302,NC,L] It quickly gets unamangeable as you need to add captu

Re: [EMAIL PROTECTED] How to Find Online Users?

2008-09-17 Thread solprovider
On 9/17/08, André Warnier <[EMAIL PROTECTED]> wrote: > Justin Pasher wrote: > > amiribarksdale wrote: > > > What is the "standard" way to determine whether a user is indeed logged > in to > > > a site and online right then? I have a web app where users log in and > get a > > > cookie. Part of it is

Re: [EMAIL PROTECTED] How to Find Online Users?

2008-09-17 Thread Justin Pasher
[EMAIL PROTECTED] wrote: On 9/17/08, André Warnier <[EMAIL PROTECTED]> wrote: Justin Pasher wrote: amiribarksdale wrote: What is the "standard" way to determine whether a user is indeed logged in to a site and online right then? I have a web app where users log i

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread André Warnier
Eric Covener wrote: On Wed, Sep 17, 2008 at 4:02 PM, André Warnier <[EMAIL PROTECTED]> wrote: (you can do the latter via your regex, but it's usually simpler to guard it the other way) RewriteRule !^/maintenance\.html$ /maintenance.html [R=302,NC,L] It quickly gets unamangeable as you need

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 4:58 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Eric Covener wrote: >> >> On Wed, Sep 17, 2008 at 4:02 PM, André Warnier <[EMAIL PROTECTED]> wrote: (you can do the latter via your regex, but it's usually simpler to guard it the other way) >>> Rew

Re: [EMAIL PROTECTED] Responding to ping

2008-09-17 Thread fchan
Dragon is correct. Apache can be overload due many issues (ie overly popular site or DoS attack, etc.) but the system will still ping and respond to other ports and services. Apache will hit the limit and not respond to http request, which is good, to prevent your system from DoS or crash. Ther