Re: [us...@httpd] using protocols other than http

2010-08-19 Thread Rainer Jung
On 18.08.2010 02:05, James Godrej wrote: Is it possible to use Apache for any other protocol as ftp or so Yes, for example see http://httpd.apache.org/mod_ftp/ and make it as a front end to a group of servers running in backend. As is the case with Reverse Proxy situation in virtual hosting o

Re: [us...@httpd] proxy_loadbalancer and failover

2010-08-19 Thread Rainer Jung
On 19.08.2010 13:56, michael bienstein wrote: Hi all, I am trying to configure the latest Apache 2.2.x on Windows 7 64bit (so using 32bit emulation) as a Reverse Proxy with Load Balancing. I can get the reverse proxy side of things to work. The load balancing too works if the origin servers work

Re: [us...@httpd] Re : [us...@httpd] proxy_loadbalancer and failover

2010-08-19 Thread Rainer Jung
On 19.08.2010 16:44, michael bienstein wrote: Hi, Thanks for the help. I have a IIS listening on port 80 and nothing on port 81. Version is Apache/2.2.16 (Win32) Server Built: Jul 30 2010 16:15:37 Here's the changes I've made to the httpd.config from the default install: httpd.config Listen 8

Re: [us...@httpd] Apache reverse proxy to tomcat application server

2010-08-19 Thread Rainer Jung
On 19.08.2010 17:57, li...@cgi-net.ch wrote: Hi List, I'm running mod_jk on a apache 2.2.14 connecting to a second host, running tomcat 5 server with a third party application. This application is configured to display some company internal information when accessing the page directly without an

[us...@httpd] Re : [us...@httpd] proxy_loadbalancer and failover

2010-08-20 Thread Rainer Jung
On 20.08.2010 12:05, michael bienstein wrote: Here's the error.log snippet for sending my Chrome browser to http://localhost:8081/qlikview The first request gets sent to 127.0.0.1:80 and works. It is a redirect to /qlikview/index.htm. The second request gets sent to 127.0.0.1:81. This says that

Re: [us...@httpd] Sticky Session with no control on origin server cookies

2010-08-26 Thread Rainer Jung
On 26.08.2010 11:57, michael bienstein wrote: Hi all. I'm trying to configure a proxy_loadbalancer with sticky session. I read around the web and in the source code and discovered that this module expects to handle sticky session by re-using the user's session ID provided by the origin server. Th

Re: [us...@httpd] Slow Responses Under Low Load

2010-08-31 Thread Rainer Jung
On 31.08.2010 23:38, Eric Covener wrote: Running `netstat -tapn | grep 80 | wc -l' shows 11299 connections to port 80. We're setup to use prefork with the following configuration. MaxClients1000 Is the netstat output a typo? With MaxClients 1000 and the default ListenBackLog of ~500,

Re: [us...@httpd] sticky_session doesn't work

2010-09-01 Thread Rainer Jung
On 01.09.2010 08:24, 王科选 wrote: Hi, I'm using Apache/2.2.16 (Win32) mod_jk/1.2.30 , and had set the sticky_session=1, but it doesn't work! will someone help me please, thanks! Here is the workers.properties: worker.list = balancer,status worker.tomcat1.port=8010 worker.tomcat1.host=10.3.1.

Re: [us...@httpd] HTTP_HOST in logs

2010-09-04 Thread Rainer Jung
On 03.09.2010 18:39, Charan wrote: Hello, I'm using rewrite module to redirect some of the aliases.I have configured around 10 aliases like this. How can I get the alias name in the access logs. I don't want to use rewrite log here. What about: %{Host}i Regards, Rainer

Re: [us...@httpd] Re: Building Apache HTTPD with mod_whatkilledus and mod_backtrace

2010-09-04 Thread Rainer Jung
On 04.09.2010 13:42, Marko Kevac wrote: Sory, very stupid question :-) I have forgotten to check whether this modules are in httpd distribution or not :-) Right, but you know about this place? http://people.apache.org/~trawick/ Building as shared modules would be done with "apxs". Regards,

Re: [us...@httpd] mod_proxy and POST requests

2010-09-07 Thread Rainer Jung
On 07.09.2010 06:53, Devraj Mukherjee wrote: Hi all, I am using Apache as a reverse proxy to proxy Lotus iNotes 8.5.1. iNotes is moving to an Ajax based interface which uses JSON strings to fetch data from the server. A particular requests happens to be a POST request and the proxy fails to pro

Re: [us...@httpd] How much backend connections with mod_proxy and multiple VirtualHost

2010-09-07 Thread Rainer Jung
On 07.09.2010 08:04, Christian Wittwer wrote: Hi, We're currently using a setup with a tomcat application server and an apache in front. The configuration looked like this. Apache/2.2.3 with prefork model and 7 virtualhosts. Each virtualhost had the following proxypass to the tomcat ajp connector

Re: [us...@httpd] Configuring multiple Tomcat application servers with Apache HTTP server/ Load Balancing with Apache Web Server :- Not Working

2010-09-07 Thread Rainer Jung
The usual list to discuss mod_jk is the Tomcat users mailing list. To subscribe, send mail to users-subscr...@tomcat.apache.org To jumpstart the discussion there, please also add some information to the below post regarding what does actually not work. Regards, Rainer On 07.09.2010 10:2

Re: [us...@httpd] mod_proxy and POST requests

2010-09-07 Thread Rainer Jung
On 07.09.2010 11:27, Devraj Mukherjee wrote: On Tue, Sep 7, 2010 at 5:21 PM, Rainer Jung wrote: On 07.09.2010 06:53, Devraj Mukherjee wrote: A particular requests happens to be a POST request and the proxy fails to proxy the request. Reading the documentation suggests that this is know

Re: [us...@httpd] FW: Request to a specific URL Link on one of the web applications is returning "Bad Gateway"

2010-09-09 Thread Rainer Jung
On 09.09.2010 06:54, Karthik Nanjangude wrote: Config Spec Apache 2.2.1.6 Jboss 4.2.1 mod_jk-1.2.28-httpd-2.2.3.so Linux Red Hat DB Oracle Hosted Application : 4 apps [ Independent Containers of JBOSS Server mapped to Apache ] Logs Configured : JkLogFile “/apps/logs” & JkLogLevel debug Pr

Re: [us...@httpd] How to compile mod_proxy_ajp.so and mod_proxy_balancer.so on apache 2.0.59

2010-09-10 Thread Rainer Jung
On 10.09.2010 14:22, Amol Puglia wrote: Hello Team, Please let me know the steps to compile mod_proxy_ajp.so and mod_proxy_balancer.so with apache 2.0.59 Those modules only exist for Apache 2.2.x. You should update from 2.0.59 zu the recent 2.2.x (2.2.16). The update is not a very big issue

Re: [us...@httpd] Upgrade 1.3.12 -> 2.2.16: Reverse Proxy issues [WAS: Jserv issue ???]

2010-09-11 Thread Rainer Jung
On 11.09.2010 04:12, Mike Schleif wrote: On 9/10/2010 3:19 PM, Mike Schleif wrote: > > On 9/10/2010 12:07 PM, Sander Temme wrote: > > > > On Sep 10, 2010, at 5:23 AM, Mike Schleif wrote: > > > >> SSL: move all SSL to the new frontend? No SSL running on legacy web > server? > > > > Absol

Re: [us...@httpd] Unable to load perl file

2010-09-12 Thread Rainer Jung
On 12.09.2010 06:50, aparna aryan wrote: hi , When trying to restart the server, For the following error we recieve...we have tried pasting the files that apache is giving " file not found " in the path where the startup.pl ie the perl script is running.It is able to pic up f

Re: [us...@httpd] Upgrade 1.3.12 -> 2.2.16: Reverse Proxy issues [WAS: Jserv issue ???]

2010-09-14 Thread Rainer Jung
On 14.09.2010 01:15, Sander Temme wrote: On Sep 13, 2010, at 10:57 AM, Mike Schleif wrote: Does NOT work: DOES work: Actually, the former works with IE, but does NOT work with Firefox. Editing the former to the latter, the latter works with both IE and Firefox. Is this the type of proble

Re: [us...@httpd] Apache mod-jk log rotate issue

2010-09-14 Thread Rainer Jung
On 13.09.2010 15:27, Joost de Heer wrote: On Mon, September 13, 2010 14:28, Garg, Saman wrote: Thanks Jeff for your reply. Is apache expected to not create new mod-jk log right on restart? Apache no longer creates the logfile, that's now left to rotatelogs. And rotatelogs only creates the file

Re: [us...@httpd] mod_jk balancing two balancer lists?

2010-09-14 Thread Rainer Jung
On 14.09.2010 16:29, nino martinez wael wrote: Hi Im not sure if this is the correct user list. But here goes. I have to separate sites, with 3 servers on each site. On site A I'd like to have a balancer which goes through server A1,A2 and A3 and if A1,A2,A3 were down it would go cross site to

Re: [us...@httpd] Apache Proxy Balancer cannot use other parameter except JSESSIONID for stickysession.

2010-09-15 Thread Rainer Jung
On 15.09.2010 04:02, FUNASAKI KENJI wrote: Hi, I have a question. Can Apache Proxy Balancer use other parameter except JSESSIONID for stickysession ? For example, like following httpd.conf. --- ProxyPass / balancer://mycluster/ lbmethod=byrequests timeout=5 stickysession=TESTID nofai

Re: [us...@httpd] Can Apache Proxy Balancer gerenate value into cookie ?

2010-09-15 Thread Rainer Jung
On 15.09.2010 04:11, FUNASAKI KENJI wrote: Hi, I use Apache Proxy Balancer and Tomcat. And I succeeded Load Balancing and Sticky Session. However, I'd like not to use AP's jvmRoute, And I wish that Apach Proxy Balancer would set jvmRoute into user's cookie. ( like Amazon Elastic Load Balancing,

Re: [us...@httpd] Is there any way I could share a session b/w Jsp(Tomcat) & php(apache)??!

2010-09-23 Thread Rainer Jung
On 20.09.2010 13:03, mani2604 wrote: Well I do have a UMN mapserver php app which runs on apache& we do have sessions to store latitudes& longitudes to perform queries... Now the thing it somehow need to be integrated with Tomcat so that the client inputs the lat& long in the jsp page and I n

Re: [us...@httpd] https and http server with the same documentRoot + force to use https for some content and authenticate!

2010-09-23 Thread Rainer Jung
On 15.09.2010 18:11, Joost de Heer wrote: On 09/15/2010 05:55 PM, sattlite Installer wrote: Thanks for the reply, then to confirm is there no way of doing this only in .htaccess files? I would prefer to do this as the web team edit these while I have to edit the server config? You need SSLRequ

Re: [us...@httpd] Add ID by request in Error Logfile

2010-09-23 Thread Rainer Jung
On 21.09.2010 16:45, marcos rebelo wrote: Hy all I would like to add one ID to every line of my error log file. Like this I could grep the log lines for every call in the access log I did: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{MY_REQUEST_ID}e\"" combined H

Re: [us...@httpd] Apacge url is changing to application server url

2010-09-23 Thread Rainer Jung
Eric meant: ProxyPassReverse /eMatrix http://server_name:8081/eMatrix ProxyPassReverse /eMatrix http://server_name:8082/eMatrix ProxyPassReverse /eMatrix http://server_name:8083/eMatrix It is strange though, that these redirects happen when using ajp. Regards, Rainer On 21.09.2010 07:35, Amol

Re: [us...@httpd] symbolic link to public_html folders

2010-09-23 Thread Rainer Jung
On 21.09.2010 22:18, J Greenbaum wrote: Hi, I'm having trouble configuring apache so that the public_html folder can be a symbolic link to another directory. On my Ubuntu 10.04 installation, my userdir.conf file includes the 'FollowSymLinks' option for the /home/*/public_html directories. Howe

Re: [us...@httpd] "proxy_balancer" | stickysession

2010-09-30 Thread Rainer Jung
On 29.09.2010 16:53, King Holger (CI/AFP2) wrote: Dear mailing list, currently, we use the Apache2 version: - Apache2 2.2.16 64bit - standard "mod_proxy_balancer" module with the following V-HOST configuration including a proxy balancer directive (with two Apache Tomcat instances behind):

Re: [us...@httpd] Re: Rewrite altering path

2010-09-30 Thread Rainer Jung
On 30.09.2010 15:41, Ben Short wrote: Fixed. I needed to add the PT flag to the redirect. For further reference: this topic is somehow explained at http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html Regards, Rainer On 30 September 2010 14:06, Ben Short wrote: Hi, So far I

Re: [us...@httpd] Win2003, Apache2.2 & Tomcat6 Apache proxy to Tomcat

2010-10-01 Thread Rainer Jung
On 30.09.2010 22:29, Mike Rea wrote: I am running a Win2003 server using Apache2.2 to basically just proxy to Tomcat6 with SSL. I had tried running just tomcat6 but from everything that I read it was better for SSL traffic to proxy using Apache, so that is what i did. Right now I am just pointi

Re: [us...@httpd] Win2003, Apache2.2 & Tomcat6 Apache proxy to Tomcat

2010-10-01 Thread Rainer Jung
message in IE, I will try it in firefox and others and see what I get. Really not getting anything in the error log, first place I looked. Thanks Don't overlook my hint about using port 8080 instead of 8443. On Fri, Oct 1, 2010 at 3:44 AM, Rainer Jung mailto:rainer.j...@kippdata.de>

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-04 Thread Rainer Jung
On 04.10.2010 21:00, Igor Galić wrote: - "Grant" wrote: The "virtualhost for each SSL host" is what I mean by separate apache2 configs. I'd like to be able to define different domain names on the fly within my perl scripts without changing apache2 config. Maybe we're just not there ye

Re: [us...@httpd] Replacing TEXT on the Response Page

2010-10-06 Thread Rainer Jung
On 06.10.2010 14:11, Tushar Chavan wrote: Hi Expert, Below is our scenario Browser ->Apache Server -->Web Dispatcher ->SAP J2EE Engine -->SAP SRM Server.. Now when ever we execute https://apache_server_host:1443/irj , we get a page. Now if I want to replace certain text on the

Re: [us...@httpd] The apache duplicate the request

2010-10-08 Thread Rainer Jung
On 07.10.2010 16:49, Oscar Celada wrote: The apache duplicate the request: I have installed apache httpd 2.2.10 with mod jk 1.2.28 and tomcat 6.0.29. I have a transaction that is executed in the tomcat and that lasts for 15 minutes. The problem is in that Apache once 300 second bests were pas

Re: [us...@httpd] mod_proxy_ajp failed to connect infrequently

2010-10-08 Thread Rainer Jung
On 08.10.2010 09:33, Yu Kikuchi wrote: My environment is Apache 2.2.11 and JBoss AS 5.0.0. There were no messages in JBoss's access log when the error occured. I had changed the setting to use "mod_proxy_http" the day before yesterday, then not HTTP 503 error but 502 error occured. Are anybody o

Re: [us...@httpd] The apache duplicate the request

2010-10-08 Thread Rainer Jung
On 08.10.2010 13:44, Oscar Celada wrote: Hello Rainer: Yesterday I changed the connector jk for mod_wl_22.so and the problem goes on. If I do the request against tomcat directly it works well. For this test I suppose that the problem is in the apache server or in the browser (like you say).

Re: [us...@httpd] Compression problem - super newbie

2010-10-09 Thread Rainer Jung
On 08.10.2010 20:14, James Buchholz wrote: No Compression is happening. Is there any trick that I'm missing? I set up SetOutputFilter DEFLATE, as you'll see below and uncommented LoadModule deflate_module modules/mod_deflate.so This is Apache2.2 on a windows box. I'm not sure which Apache bui

Re: [us...@httpd] "proxy_balancer" | stickysession

2010-10-15 Thread Rainer Jung
Hi Holger, On 14.10.2010 16:16, King Holger (CI/AFP2) wrote: Unfortunately, after having activated the: - Tomcat-AccessLog - custom-LogFormat using Cookie-OutPut in Apache2 2.2.16 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" \"%{Cookie}i\" \"%{JSESSIONID}C\" \"%{S

Re: [us...@httpd] Reserving a thread for request against mod_jk in apache server.

2010-10-15 Thread Rainer Jung
On 14.10.2010 17:49, Oscar Celada wrote: I have installed apache httpd 2.2.10 with mod_jk 1.2.28 and tomcat 6.0.29 (a cluster with six nodes). Some times apache has all his threads busy (512), in theses moments I want to change same parameter in the jk module (I know which is the tomcat of my c

Re: [us...@httpd] "proxy_balancer" | stickysession

2010-10-15 Thread Rainer Jung
On 15.10.2010 12:32, King Holger (CI/AFP2) wrote: it's a pity - but the clocks are in sync (using NTP). On both Tomcats and the Apache2 instances. Good to know. According to the following command output: grep -i "52C326B80A73EFF19CEE49B013533F06" localhost_access_log.2010-10-14.log the last

Re: [us...@httpd] Need to know incoming request before apache responds

2010-10-15 Thread Rainer Jung
On 15.10.2010 23:12, Sudhir Dharmadhikari wrote: Hi , We have slow response from app servers which is being load balanced using mod_jk . We need to know if apache is receiving request, so that we can check time taken by app server . Currently, all apache logs are updated only when request is res

Re: [us...@httpd] HTTPS over mod_proxy

2010-10-18 Thread Rainer Jung
On 18.10.2010 11:17, Hendrik Schmieder wrote: Joost de Heer schrieb: On 10/18/2010 11:03 AM, Hendrik Schmieder wrote: Hello, with http over a proxy (like Apache mod_proxy) I send something like GET http://192.168.2.234:/server/info HTTP/1.1 Content-Length: 0 Host: 192.168.2.234: Conn

Re: [us...@httpd] HTTPS over mod_proxy

2010-10-18 Thread Rainer Jung
On 18.10.2010 14:29, Hendrik Schmieder wrote: Rainer Jung schrieb: On 18.10.2010 11:17, Hendrik Schmieder wrote: Joost de Heer schrieb: On 10/18/2010 11:03 AM, Hendrik Schmieder wrote: Hello, with http over a proxy (like Apache mod_proxy) I send something like GET http://192.168.2.234

Re: [us...@httpd] HTTPS over mod_proxy

2010-10-18 Thread Rainer Jung
Sorry, I meant: CONNECT 192.168.2.234: HTTP/1.1 (no path) Regards, Rainer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscr

Re: [us...@httpd] HTTPS over mod_proxy

2010-10-18 Thread Rainer Jung
On 18.10.2010 16:30, Hendrik Schmieder wrote: Rainer Jung schrieb: Sorry, I meant: CONNECT 192.168.2.234: HTTP/1.1 (no path) Regards, Rainer OK, I hope I get it know: I make the following sequence: CONNECT http://192.168.2.234: HTTP/1.1 wait for response if

Re: [us...@httpd] tool for viewing http headers send by browser

2010-10-19 Thread Rainer Jung
On 19.10.2010 17:45, Tom Evans wrote: On Tue, Oct 19, 2010 at 4:40 PM, Harald Falkenberg wrote: Hi, does somebody know how to view all detailed http headers send by a browser via apache server itself or another tool? For firefox I found an add-on. But I need something which I can run out-side

Re: [us...@httpd] Re: [announce] Apache HTTP Server 2.2.17 and 2.0.64 Released

2010-10-20 Thread Rainer Jung
On 20.10.2010 11:47, Igor Galić wrote: - "Matus UHLAR - fantomas" wrote: On 19.10.10 11:27, William A. Rowe Jr. wrote: Subject: [announce] Apache HTTP Server 2.2.17 and 2.0.64 Released The Apache Software Foundation and the Apache HTTP Server Project are pleased to announce

Re: [users@httpd] Re-use of a Setenv directive

2010-10-20 Thread Rainer Jung
On 20.10.2010 14:49, Sébastien Moretti wrote: Hi I have defined a SetEnv Directive this way: SetEnv BASE_PATH /tmp/smthg I would like to re-use this variable in another SetEnv Directive, e.g.: SetEnv PATHS $BASE_PATH/a:$BASE_PATH/b:$BASE_PATH/c:... But $BASE_PATH is not interpreted as a varia

Re: [us...@httpd] Re-use of a Setenv directive

2010-10-20 Thread Rainer Jung
On 20.10.2010 17:04, Igor Galić wrote: - "J.Lance Wilkinson" wrote: Rainer Jung wrote: If the values are in fact static, i.e. do not depend in the request, virtual host etc., you can actually use the fact, that Apache allows you to resolve unix environment variables (no

Re: [users@httpd] MOD_PROXY Open CSV Content Into Excel

2010-10-20 Thread Rainer Jung
On 20.10.2010 17:50, Todd Simons wrote: Hello All We develop web applications using Weblogic and JSP pages. Our web app has the functionality to export to excel where data is pulled from a database and presented to the web client, at that point the web client recognizes the content stream and op

Re: [us...@httpd] missing $DESTDIR in HTTPD 2.2.17

2010-10-25 Thread Rainer Jung
On 25.10.2010 13:52, Eric Covener wrote: On Mon, Oct 25, 2010 at 7:33 AM, Eugene wrote: Hello, I usual make packages of HTTPD by myself for my Solaris 10 systems. After successful compilation I do "DESTDIR=$TMPDIR gmake install" and then make a package from the temporary dir. This is missing

Re: [us...@httpd] Apache mod jk loadbalancer

2010-12-01 Thread Rainer Jung
On 30.11.2010 10:43, numen2 wrote: Hi I have some problems with apache load balancer I have one apache (LB) and two tomcats. Apache: Server version: Apache/2.0.64 Tomcat Apache Tomcat/5.5.26 Ajp13, tomcat-connectors-1.2.31-src Everything works fine on simple jsp file. When I deploy application

Re: [us...@httpd] Mod-jk worker not being called after calling handler

2010-12-01 Thread Rainer Jung
On 23.11.2010 18:58, Mohit Anchlia wrote: On Mon, Nov 22, 2010 at 4:16 PM, Mohit Anchlia wrote: On Mon, Nov 22, 2010 at 9:54 AM, Mohit Anchlia wrote: On Sat, Nov 20, 2010 at 3:05 AM, Eric Covener wrote: On Sat, Nov 20, 2010 at 12:09 AM, Mohit Anchlia wrote: I am trying to look at how hand

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-12-01 Thread Rainer Jung
On 26.11.2010 19:20, Jonas Eckerman wrote: On 2010-11-25 15:28, Igor Galić wrote: Worker MPM will *never* spawn more than StartServers children. According to the docs at it will. Quote: ---8<--- The StartServers directiv

Re: [us...@httpd] Facing xml/expat problems installing Apache 2.3.8 on Ubuntu 10.10

2010-12-01 Thread Rainer Jung
On 28.11.2010 13:11, Igor Galić wrote: - "Sanchit Jain" wrote: Hi! I'm facing a problem installing Apache 2.3.8 on Ubuntu. You are aware of the fact, that this is the current alpha release? I followed the instructions given on http://httpd.apache.org/docs/2.2/install.html. - While

Re: [us...@httpd] Connection Issues

2010-12-01 Thread Rainer Jung
On 29.11.2010 23:25, Travis Whitton wrote: Hi, We're experiencing some odd behavior regarding connections taking a long time to establish to our website. We've been running Apache in production for over three years now and have recently began experiencing issues where the server-status page, sta

Re: [us...@httpd] Want more info about logging works

2010-12-03 Thread Rainer Jung
On 04.12.2010 00:49, Igor Galić wrote: - "Jeroen Geilman" wrote: On 12/01/2010 07:38 PM, ma...@manfbraun.de wrote: Because the timestamp does not contain milliseconds, how can I determine, which request was the first? Would it help me, just to subtract the processing-time? Probably no

Re: [us...@httpd] How to configure SSL-Proxy Session-Resumption?

2010-12-05 Thread Rainer Jung
On 05.12.2010 01:30, Qingshan Xie wrote: Hello! We have a Reverse Proxy server, which initiates SSL connection to the backend server, functioning as a SSL client. In order to enable Session-Resumption, should we configure SSLSessionCache and SSLSessionCacheTimeout? AFAIR the reverse proxy

Re: [us...@httpd] question about an error in the error log

2010-12-09 Thread Rainer Jung
On 08.12.2010 23:23, Nathan Belk wrote: I am seeing this error come up every once in a while in a log I am reviewing. I have tried to find its meaning on google and find lots of way you can try fixing it but not what it means. This is the error: [error] mod_jk child init 1 -2 At this point, I d

Re: [us...@httpd] Module specific logging not working

2010-12-10 Thread Rainer Jung
On 10.12.2010 01:18, Dustin Chesterman wrote: Hello all - I am having trouble getting logging to work for some modules, specifically mod_rewrite and mod_jk. Here is a portion of my httpd.conf. I get mod_jk logging for the startup process in my mod_jk.log but not the request level logging. B

Re: [us...@httpd] Module specific logging not working

2010-12-12 Thread Rainer Jung
On 10.12.2010 19:25, Dustin Chesterman wrote: On 10.12.2010 01:18, Dustin Chesterman wrote: Hello all - I am having trouble getting logging to work for some modules, specifically mod_rewrite and mod_jk. Here is a portion of my httpd.conf. I get mod_jk logging for the startup process in my

Re: [us...@httpd] help on compile 2.2.17 with ldap support

2010-12-27 Thread Rainer Jung
On 24.12.2010 02:16, Nick Kew wrote: On Thu, 23 Dec 2010 16:16:48 -0800 David Long wrote: Hi, I am getting error when trying to compile 2.2.17 with ldap authentication support on Solaris 10 Sparc server. Insufficient information - I see more than one likely cause. First thing to do is to s

Re: [us...@httpd] help on compile 2.2.17 with ldap support

2010-12-27 Thread Rainer Jung
cing errors. No output written to .libs/httpd collect2: ld returned 1 exit status *** Error code 1 Is there a step I am missing? Thanks David Long -----Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Monday, December 27, 2010 1:53 AM To: users@httpd.apache.org Subj

Re: FW: [us...@httpd] help on compile 2.2.17 with ldap support

2010-12-27 Thread Rainer Jung
Hi David, On 27.12.2010 22:32, David Long wrote: Please keep the discussion on list. Thanks for your help to point me to apr and apr-util. Do you know the config switch for ldap support in apr-util? On Apache websie, it says. # Build and install apr 1.2 cd srclib/apr ./configure --prefix=/us

Re: FW: [us...@httpd] help on compile 2.2.17 with ldap support

2010-12-28 Thread Rainer Jung
On 28.12.2010 20:15, David Long wrote: Hi Rainer, I downloaded apr 1.4.2 and apr-util 1.3.10 For apr 1.4.2, I did "configure --prefix=/www/apache2/apr-httpd/" For apr util 1.3.10, I did "configure --prefix=/www/apache2/apr-util-httpd/ --with-apr=/www/apache2/apr-httpd/ --with-ldap" For httpd-2.

Re: FW: [us...@httpd] help on compile 2.2.17 with ldap support

2010-12-30 Thread Rainer Jung
bjectClass=organizationalPerson) [Wed Dec 29 15:37:12 2010] [info] [client 12.171.37.10] [293] auth_ldap authenticate: user dlong authentication failed; URI /EMU [LDAP: ldap initialization failed][Unknown error] Thanks David Long -Original Message----- From: Rainer Jung [mailto:rainer.j...@k

Re: [us...@httpd] Searchin better solution as mod_proxy/vhost

2010-12-30 Thread Rainer Jung
On 30.12.2010 15:50, Igor Galić wrote: - "Joost de Heer" wrote: On 29-12-2010 20:00, Michelle Konzack wrote: Hello *, On my gateway I use a bunch of files (currently 1782) like Why a single file for each of these? 8<-- S

Re: [users@httpd] Number of connections and load

2011-01-08 Thread Rainer Jung
On 08.01.2011 19:30, Tom Jones wrote: I would like to query the httpd process to see how many current connections are occurring and what the load level is like. Is this possible? http://httpd.apache.org/docs/2.2/mod/mod_status.html Regards, Rainer ---

Re: [users@httpd] Apache process not coming down and going high upto 259

2011-01-10 Thread Rainer Jung
On 10.01.2011 18:34, Igor Galić wrote: - "Amol Puglia" wrote: Hello Team, Hi I am facing very weird problem of apache porcess going high upto 259 and increasing again even after restart of backend server ie. tomcat. Apache version :- 2.0.59 Tomcat Version :- 5.5.9 Apache/Tomcat con

Re: [users@httpd] Apache process not coming down and going high upto 259

2011-01-11 Thread Rainer Jung
erse proxy is a slow backend. So I would take thread dumps of your Tomcat JVM and investigate, what your web applications are doing (slow request processing). Regards, Rainer --- On *Tue, 1/11/11, Rainer Jung //* wrote: From: Rainer Jung Subject: Re: [us...@httpd] Apache process not c

[users@httpd] Re: 2.2.19 (and probably earlier) won't let you make non-ssl vhosts on 443?

2011-05-26 Thread Rainer Jung
On 26.05.2011 11:10, Issac Goldstand wrote: > I just upgraded a machine from 2.2.8 to 2.2.19 and suddenly Apache > wouldn't let me run non-SSL vhosts on port 443. A snippet like below: > > > DocumentRoot /home/foo/httpdocs > ServerName foo > > allow from all > Options +Indexes > > > > Sudden

Re: [users@httpd] Apache returns 200 to client in case of proxytimeout

2011-06-18 Thread Rainer Jung
On 16.06.2011 08:35, Moshe Ben-Shoham wrote: > But this is not the case - the request was perfectly OK, just took the > backend server too long to handle (note that I am less worried about bogus > requests because this Apache is behind firewall and only serves requests > coming from another comp

Re: [users@httpd] Apache returns 200 to client in case of proxytimeout

2011-06-18 Thread Rainer Jung
On 18.06.2011 21:57, Rainer Jung wrote: > On 16.06.2011 08:35, Moshe Ben-Shoham wrote: >> But this is not the case - the request was perfectly OK, just took the >> backend server too long to handle (note that I am less worried about bogus >> requests because this Apache i

Re: [users@httpd] HELP: apache 2.2.17 creating zombies that are increasing server load

2011-09-10 Thread Rainer Jung
Hi Martin, Thanks for the detailed information. The observed zombies are threads in Apache child processes. Those processes (here PID 16042 are actually in the process of shutting down, either due to a web server restart, or MPM configuration (like MacRequestsPerChild or spare process configurati

Re: [users@httpd] Apache freezes after running for 2 days.

2011-09-28 Thread Rainer Jung
On 26.09.2011 23:35, Abhi Auradkar wrote: > I have been running the apache server to load test a application. > > The apache 2.2.20 is running on CentOS 5.6 > > -bash-3.2$ uname -a > Linux hdm102 2.6.18-238.19.1.el5.centos.plus #1 SMP Mon Jul 18 10:05:09 > EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

Re: [users@httpd] mod_include.so: undefined symbol: ap_escape_html2 Error

2011-10-01 Thread Rainer Jung
On 01.10.2011 16:17, Wang, Mary Y wrote: > After a system upgrade, I'm unable to start the Apache server anymore. > Using the following command to start Apache server 'httpd -f > /opt/csvn/data/conf/httpd.conf -k start' , I got the following error: > httpd: Syntax error on line 20 of /opt/csvn/data

Re: [users@httpd] problem with rotatelogs time of day formatting

2011-10-01 Thread Rainer Jung
On 01.10.2011 05:20, Albert Lunde wrote: > The date substitutions are working, but the time of day characters come > out as zeros. An example, and some system information, are quoted below. > ErrorLog "|/usr/local/sbin/rotatelogs -f > /var/log/httpd/error_log_chnuinfow3.%Y-%m-%d-%H_%M_%S.txt 86400

Re: [users@httpd] serving pre-compressed content

2011-10-06 Thread Rainer Jung
On 06.10.2011 18:36, Xavier Noria wrote: > Does anyone have a well-tested and idiomatic Apache configuration to serve > pre-compressed content? Vary header, Content-Type header, browser gotchas, > and everything robustly sorted out? Yes, see below. > The situation is that you have foo.css and foo

Re: [users@httpd] vulnerabilities-oval.xml

2011-10-09 Thread Rainer Jung
On 08.10.2011 22:51, Pascal HERAUD wrote: > Hello, > > Does anybody know where did go the > http://httpd.apache.org/security/vulnerabilities-oval.xml page ? The page was removed: http://svn.apache.org/viewvc?view=revision&revision=1179600 Regards, Rainer --

Re: [users@httpd] AJP proxy timeout problem

2011-10-28 Thread Rainer Jung
Which version of httpd? On 28.10.2011 08:49, SpliFF wrote: > I've having an issue where a long-running backend script behind AJP is > causing apache to error with "Service Temporarily > Unavailable" after exactly 5 minutes. > > I tried to solve this by moving from mod_rewrite to mod_proxy, with

Re: [users@httpd] Enabling mod_expires and mod_headers

2011-10-28 Thread Rainer Jung
On 28.10.2011 08:19, Brent Clark wrote: > On 27/10/2011 15:11, Eric Covener wrote: >> If you want them cached, there's a benefit in enabling caching. > > Thanks for replying. > > But would I be correct in thinking that they both ultimately do the same > task, I.e. work on the headers. So would I

Re: [users@httpd] AJP proxy timeout problem

2011-10-29 Thread Rainer Jung
uexec" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_ERRORLOG="logs/error_log" > -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" > -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf" > > > On 28/10/11 19:

Re: [users@httpd] HTTP meetup at ApacheCon?

2011-10-30 Thread Rainer Jung
On 29.10.2011 17:38, Sander Temme wrote: > > On Oct 29, 2011, at 7:20 AM, Eric Covener wrote: > >> Please bump the interest count linked below if you'll attend the HTTP >> meetup on Thursday Nov 11 at ApacheCon in Vancouver: > > Done... who else is coming? I'm coming. Rainer

Re: [users@httpd] apr_off_t mismatch

2011-11-09 Thread Rainer Jung
On 09.11.2011 22:17, William A. Rowe Jr. wrote: On 11/9/2011 11:52 PM, Asaf Dalet wrote: the precompiled apache version is definitely 2.2.0 (according to httpd -V) and there is definitely some mismatch between request_rec size between it and my compiled module. Of course i don't know it for sure

Re: [users@httpd] apr_off_t mismatch

2011-11-09 Thread Rainer Jung
On 09.11.2011 23:31, Asaf Dalet wrote: i don't see APR version in httpd -V when i run it on an accidental apache, only "Server version" also, is there a way to compile the APR without LARGE_FILES? i would like to do it so i can test the scenario. It would help, if you provided a bit more info.

Re: [users@httpd] response time in jmeter

2011-11-12 Thread Rainer Jung
On 12.11.2011 08:44, Marco Di Sano wrote: Hi all, someone can tell me what parameter is the response time to serve an http request in JMETER? Is it latency parameter??? Please help me Please post your question to the JMeter users list: http://jmeter.apache.org/mail.html http://jmeter.apa

Re: [users@httpd] Apache 2 server hangs when CGI script is executed

2011-12-04 Thread Rainer Jung
On 29.11.2011 07:43, garima goel wrote: Hi All, I work for Oracle, India. I deployed Oracle Access Manager Webgate module on Apache 2 Server which provides single sign-on solution. I also configured Apache 2 server in SSL mode on Solaris 10 and enabled hardware acceleration by setting "SSLCrypto

Re: [users@httpd] mod_proxy ProxyPass max parameter and ThreadsPerChild

2011-12-04 Thread Rainer Jung
On 29.11.2011 11:29, codefruit wrote: Hello, I am using Apache 2.2 with the MPM worker. I have some questions about the interaction between the 'max' parameter that can be added to a mod_proxy ProxyPass configuration line and the MPM worker ThreadsPerChild value. From reading the docs, my unde

Re: [users@httpd] mod_proxy ProxyPass max parameter and ThreadsPerChild

2011-12-18 Thread Rainer Jung
On 07.12.2011 18:41, codefruit wrote: Hi, Thank you for the information. I have one more question on this subject You say that each server process has its own mod_proxy proxy pools (all with the same config). So, if I configure my mod_proxy like so: ProxyPass /examples http://backend.exam

Re: [users@httpd] mod_rewrite / mod_jk not working together

2011-12-27 Thread Rainer Jung
On 27.12.2011 17:12, Eric Covener wrote: What am I missing? How do I make mod_jk use the mapped URL from mod_rewrite? (And send the mapped URL on to Tomcat instead of sending the original URL)? The PT flag, but there is also a mod_jk bug or config element that can prevent that from working II

Re: [users@httpd] 2.4.0 fails

2012-01-17 Thread Rainer Jung
On 17.01.2012 01:25, Nick Edwards wrote: Hello, I was not sure if I should subscribe to dev list to send this, but, I guess here is better? Trying out 2.4.0 from 2.2.21 Well, the config file from 2.2.21 is not going to work, fine, I'll deal with that in time, obviously things that were defaulte

Re: [users@httpd] mod_dav, XP-File Explorer and ErrorDocument 404

2012-01-23 Thread Rainer Jung
On 23.01.2012 14:44, Hendrik Schmieder wrote: Michael Renner schrieb: I guess this is more or less a bug, isn't it? Can I solve it server side without to do it without the external page? CU This looks like a know IE bug (at least for older versions). IE expects that error documents have a mini

Re: [users@httpd] Apache 2.2.21 SSL on RHEL v5.7

2012-01-23 Thread Rainer Jung
On 23.01.2012 20:02, Ruiyuan Jiang wrote: Hi, I have two Apache 2.2.21 reverse proxy servers on Solaris 10 (SPARC) and additional modules that not in the Apache distribution. They are running fine so far. Now we want to migrate Apache to Redhat Enterprise server v5.7. I compiled Apache the sam

Re: [users@httpd] External module suspected to be slow - how to add timer around calls

2012-01-28 Thread Rainer Jung
On 25.01.2012 14:18, DENIS Laurent wrote: Hello, *** Question *** How can I measure how much time is spent in the processing function of module? Of course, the supplier of the module does not provide any source code. My idea is to add an APRLOG_DEBUG the "apr_time_now" before and after the fu

Re: [users@httpd] RE: Can you use variables inside a conf file?

2012-01-28 Thread Rainer Jung
On 25.01.2012 14:47, Desilets, Alain wrote: I use this syntax too, but I think it works for me only because of my loading of a NON-STANDARD module, mod_define. http://people.apache.org/~rjung/mod_define/mod_define.html It works for me and I don't have mod_def

Re: [users@httpd] RE: Can you use variables inside a conf file?

2012-01-29 Thread Rainer Jung
snipets which you can instantiate using parameters. Regards, Rainer On 28 January 2012 14:53, Rainer Jung mailto:rainer.j...@kippdata.de>> wrote: On 25.01.2012 14:47, Desilets, Alain wrote: I use this syntax too, but I think it works for me only becau

Re: [users@httpd] Problem when building Apache 2.2.22 with --with-included-apr - libtool: link: only absolute run-paths are allowed

2012-02-09 Thread Rainer Jung
On 09.02.2012 02:33, Manuel Lemos wrote: Hello, I am trying to build Apache 2.2.22 from source. Since it was giving some missing symbols in APR, I tried to build it with --with-included-apr . It compiles OK, but when it tries to link apr it gives me an libtool error. Full output below. libtoo

Re: [users@httpd] concurrent connections and netstat

2012-02-11 Thread Rainer Jung
On 11.02.2012 06:11, Ishita Kapadiya wrote: Hi All, Recently I did 'ab' test just to check performance of my new setup. so far, if we want to check concurrent users for that server, we were using "netstat -an | grep 'EST' | wc -l" to check how many total no of connections being used. I know we c

Re: [users@httpd] concurrent connections and netstat

2012-02-11 Thread Rainer Jung
that something is wrong with the netstat measurement. Have a look at the full output instead of immediately throwing away everything apart from EST. The numbers bigger than 50 indicate that there might also be connections from some other client involved, the much lower numbers are very strange. On S

  1   2   3   >