Re: [EMAIL PROTECTED] mod_proxy incorrectly decodes %2C when proxying URL to back-end?

2006-09-08 Thread Robert Jaeschke
Hello Jeff, Jeff Ambrosino schrieb: We have a mod_proxy (2.0.54) front-end proxying to a back-end MS IIS server. One type of URL that we use is causing problems because mod_proxy is decoding an encoded comma in the URL as it proxies the request to the back-end (we determined this with a

Re: [EMAIL PROTECTED] mod_proxy incorrectly decodes %2C when proxying URL to back-end?

2006-09-08 Thread Pid
Search the archives, I seem to remember seeing a discussion about something like this fairly recently. Robert Jaeschke wrote: Hello Jeff, Jeff Ambrosino schrieb: We have a mod_proxy (2.0.54) front-end proxying to a back-end MS IIS server. One type of URL that we use is causing problems

Re: [EMAIL PROTECTED] mod_proxy incorrectly decodes %2C when proxying URL to back-end?

2006-09-08 Thread Robert Jaeschke
Hello Pid, Pid schrieb: [...] between browser and mod_proxy: http://www.company.com/item-01-A1263%7E23334%2Cz831%7E238.asp between mod_proxy and back-end server: http://www.company.com/item-01-A1263%7E23334,z831%7E238.asp As you can see, mod_proxy is decoding ONLY the comma (%2C),

[EMAIL PROTECTED] configuring apache and tomcat via mod_jk

2006-09-08 Thread jbashir
Configuring apache and tomcat via mod_jk is done by installing apache on port 80 and tomcat on port 8080, and when we write http://localhost/ it's apache server which runs by default (being installed on port 80), and then through mod_jk.conf file we instruct the server when to switch to tomcat.

Re: [EMAIL PROTECTED] configuring apache and tomcat via mod_jk

2006-09-08 Thread Serge Dubrouski
On 9/8/06, jbashir [EMAIL PROTECTED] wrote: Configuring apache and tomcat via mod_jk is done by installing apache on port 80 and tomcat on port 8080, and when we write http://localhost/ it's apache server which runs by default (being installed on port 80), and then through mod_jk.conf file we

Re: [EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-08 Thread Ben
Rob, Ganesh I think that Ganesh was confusing perl DBD for apr-DBD. We don't use Perl on our systems. Rob, as you correctly guessed, I didn't do something different from the first build. However I was pretty surprised that it built and worked the second time round - my guess is that there

Re: [EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-08 Thread Rob Sterenborg
On Fri, September 8, 2006 15:11, Ben wrote: Rob, Ganesh I think that Ganesh was confusing perl DBD for apr-DBD. We don't use Perl on our systems. I guess so.. No hard feelings. :-) Rob, as you correctly guessed, I didn't do something different from the first build. However I was pretty

[EMAIL PROTECTED] the request_rec structure in c plugins

2006-09-08 Thread toni pérez
hello list, I'm building a C plugin for apache and, I need acces to the POST DATA in the request. I not found which structure contains the POST DATA in the request_rec structure. There is the args field that contains the query string, but is for GET method, I need the same for the POST method.

Re: [EMAIL PROTECTED] configuring apache and tomcat via mod_jk

2006-09-08 Thread jbashir
I think I could not communicate my problem in a right way. What actually happens is, Apache runs first and then it serve the requests for tomcat and the tomcat displays pages. What I want is, to run tomcat first (by default) and then send requests from tomcat to apache to display php pages. This

Re: [EMAIL PROTECTED] the request_rec structure in c plugins

2006-09-08 Thread Joshua Slive
On 9/8/06, toni pérez [EMAIL PROTECTED] wrote: hello list, I'm building a C plugin for apache and, I need acces to the POST DATA in the request. I not found which structure contains the POST DATA in the request_rec structure. There is the args field that contains the query string, but is for

Re: [EMAIL PROTECTED] mod_proxy incorrectly decodes %2C when proxying URL to back-end?

2006-09-08 Thread Jeff Ambrosino
We implemented a workaround to fix this problem. Basically it involves modifying modules/proxy/proxy_util.c to remove the comma from the list of characters in each allowed variable declaration (~lines 136-145). I'm not sure if this is likely to break anything else (aside from the RFC 1738 spec

Re: [EMAIL PROTECTED] configuring apache and tomcat via mod_jk

2006-09-08 Thread Serge Dubrouski
On 9/8/06, jbashir [EMAIL PROTECTED] wrote: I think I could not communicate my problem in a right way. What actually happens is, Apache runs first and then it serve the requests for tomcat and the tomcat displays pages. What I want is, to run tomcat first (by default) and then send requests

[EMAIL PROTECTED] Compiling Apache 2.2.3 with Visual Studio 2005

2006-09-08 Thread Hua Hou
When I am compiling Apache 2.2.3 from source code using Visual Studio 2005 from command line by typing: nmake /f Makefile.win _apached It gives me the following error after a while: fatal error RC1109: error creating Release/mod_authn_dbd.res I am building a debug version, but somehow it's

Re: [EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-08 Thread Ben
Rob, (Nick) I have been looking a little more at the issue of returning meaningful error messages back to apache - i didn't like my previous mail's hijacking of apache as a solution - though it should provide an idea of what is going on. So now the implementation looks like. Rob, sorry -

[EMAIL PROTECTED] Mod_perl 2.0.2 fails with apache 2.2.3

2006-09-08 Thread Tal Cohen
Has anyone tried installing mod_perl 2.0.2 onto apache 2.2.3? I keep getting: Failed Test Stat Wstat Total Fail Failed List of Failed---t/apache/content_length_header.t 27 1 3.70% 17t/api/status.t 6 2 33.33% 4-5

Re: [EMAIL PROTECTED] Logging Response time in access log

2006-09-08 Thread apacheuser123
Works now...Thanks for the help... -Original Message- From: [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Fri, 8 Sep 2006 12:48 AM Subject: Re: [EMAIL PROTECTED] Logging Response time in access log %D http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

[EMAIL PROTECTED] Restricting number of child processes in Worker MPM

2006-09-08 Thread apacheuser123
Hi, I have configured apache to run using the worker MPM. I am trying to restrict the number of child processes it spawns to one. Here is the relevant section from httpd.conf IfModule mpm_worker_module StartServers 1 MaxClients 150 ThreadsPerChild 150 MinSpareThreads 1 MaxSpareThreads

Re: [EMAIL PROTECTED] Restricting number of child processes in Worker MPM

2006-09-08 Thread Joshua Slive
On 9/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have configured apache to run using the worker MPM. I am trying to restrict the number of child processes it spawns to one. Here is the relevant section from httpd.conf IfModule mpm_worker_module StartServers 1 MaxClients 150

[EMAIL PROTECTED] Can someone explain me why Apache 2.2.3 requires libpq.so (postgres) ?

2006-09-08 Thread mailing lists
Can someone explain me why Apache 2.2.3 requires libpq.so (postgres) ? [EMAIL PROTECTED] RPMS]# rpm -Uhv httpd-2.2.3-1.i686.rpm error: Failed dependencies: libpq.so.3 is needed by httpd-2.2.3-1.i686 Suggested resolutions:

Re: [EMAIL PROTECTED] Can someone explain me why Apache 2.2.3 requires libpq.so (postgres) ?

2006-09-08 Thread Nick Kew
On Friday 08 September 2006 22:35, mailing lists wrote: Can someone explain me why Apache 2.2.3 requires libpq.so (postgres) ? It doesn't. PostgreSQL support is optional. [EMAIL PROTECTED] RPMS]# rpm -Uhv httpd-2.2.3-1.i686.rpm error: Failed dependencies: libpq.so.3 is needed by

[EMAIL PROTECTED] Re: Can someone explain me why Apache 2.2.3 requires libpq.so (postgres) ?

2006-09-08 Thread mailing lists
Very weird, I found if you have postgresql-libs installed when you compile apr or apr-utils, httpd will automatically depend on libpg. I solved this by removing postgresql-libs recompiled apr and apr-utils. Installed them and recompiled httpd. No error now! On 9/8/06, mailing lists [EMAIL

Re: [EMAIL PROTECTED] Restricting number of child processes in Worker MPM

2006-09-08 Thread apacheuser123
Thanks Joshua. I am trying to make sure there is exactly one memory cache per box. Guess your explanation means that I am achieving that with the config I posted ? Also, would setting the ThreadsPerChild to 150 cause performance issues( I am running Apache on Red hat) or is 150 a OK value ?

[EMAIL PROTECTED] Mod_rewrite and default document

2006-09-08 Thread Erik Funkenbusch
I've been banging my head on this for a while and can't seem to come up with a solution that works. Unfortunately, due to pre-exsting url's that I can't break, I need to support the old format, which uses this kind of URL: http://domain/?id=123 This uses the default document passthrough, which

Re: [EMAIL PROTECTED] Mod_rewrite and default document

2006-09-08 Thread Bob Ionescu
Erik Funkenbusch wrote: RewriteRule !^index\.php.* - [C] RewriteRule ^(.*) index.php?id=$1 [L] However, this doesn't work with the original form: http://domain/?id=123 Can anyone offer any suggestions on making this work with the implied default document and a query string? Thanks. Use

Re: [EMAIL PROTECTED] Restricting number of child processes in Worker MPM

2006-09-08 Thread Joshua Slive
On 9/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks Joshua. I am trying to make sure there is exactly one memory cache per box. Guess your explanation means that I am achieving that with the config I posted ? Yes. Also, would setting the ThreadsPerChild to 150 cause performance