[EMAIL PROTECTED] mod_proxy + PHP as an output filter not working

2005-08-17 Thread R Mills
Kind of an interesting problem: I am using mod_proxy to reverse proxy a site.  In addition I am trying to use PHP as an output filter to do session tracking on the proxy server. PHP by itself as an output filter works fine.  But when it is combined with mod_proxy, it does not appear to be c

[EMAIL PROTECTED] Apache dechunks request data

2005-08-17 Thread Chialing Sung
Hi, I have a java-based client that uses HTTP to communicate with a server. I've been trying to use chunked transfer encoding available in HTTP/1.1 to streamline request data from client to server. A servlet on the server side is designed to handle and process each chunk as they come along. B

Re: [EMAIL PROTECTED] apache2 mod_ssl windows...the simple way?

2005-08-17 Thread William A. Rowe, Jr.
At 02:11 AM 8/17/2005, Joost de Heer wrote: >> The httpd project will not distribute a contrib of such builds. However >> ascs is right, if you want parity with Linux etc, contribute builds of >> libeay32.dll/ssleay32.dll to the OpenSSL project. If they redistributed >> the DLL's, we could distri

Re: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-17 Thread Tony VanScoy
> Have you tried it? What happened? It worked after a few modifications > Your idea is basically fine, except you should pick a character other than > |, because that character is special in a rewritemap (used to > designate a default value). (Perhaps it doesn't matter if it is in > quotes; I'v

Re: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-17 Thread Joshua Slive
On 8/17/05, Tony VanScoy <[EMAIL PROTECTED]> wrote: > .. works great. My question is about sending more then just 1 > backreference to the map program. In this case, I'm sending %1. Can I > add to that? What if i wanted to also send the HTTP_REFERER, or the > REMOTE_HOST? These values would be gre

[EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-17 Thread Tony VanScoy
Thanks to the help of a number of people here. I've gotten RewriteMap to work like a charm. My question is about the variables being sent to the processing program. Right now I'm using syntax like the following line ... RewriteMap pdfFile prg:/home/user/getPDF.php .. and I use that program to ma

[EMAIL PROTECTED] tab chars in error_log, how to get rid of them?

2005-08-17 Thread Jeff Lacki
Hello- Ive been developing a website for several months now. I was playing around with mod_security and some other things in apache (I cant even remember now) and for some reason my output messages in the error_log now contain tab chars (\t) instead of just a tabbed out spaces. Example: [Wed Au

Re: [EMAIL PROTECTED] Why does Apache use up all my memory?

2005-08-17 Thread Joe Orton
On Wed, Aug 17, 2005 at 12:12:05PM -0400, George Adams wrote: > >> Joe> Are these all simple static files, or is /out/ handled by some CGI > >> Joe> script etc? > >> > >> Joe, you're right - they do get passed through a Perl script for > >> processing. However, unless I'm mistaken, I don't THINK t

Re: [EMAIL PROTECTED] Why does Apache use up all my memory?

2005-08-17 Thread George Adams
> Joe> Are these all simple static files, or is /out/ handled by some CGI > Joe> script etc? > > Joe, you're right - they do get passed through a Perl script for > processing. However, unless I'm mistaken, I don't THINK the following > code would produce the kind of problems I'm seeing: OK, no,

RE: [EMAIL PROTECTED] Strange qustion - how to prevent apache delay?

2005-08-17 Thread PMilanese
Did you debug the code? Throw in some timers? Run some stats on your queries? I do not think that any of the process timeouts will do anything for you, but I think you already found that out. What have you done on the oracle side to test this? Is the root of the problem: It takes too long to

[EMAIL PROTECTED] Object not found in proxying to IIS from Apache.

2005-08-17 Thread Charlie Smith
Why would I be getting the Object not found! error when trying to use Apache to Proxy to an IIS server? I am using following direcives in config file. I'm using similar directives to access other sites without a problem: ProxyPass /jsp http://10.51.93.142/jsp ProxyPassReverse /jsp htt

Re: [EMAIL PROTECTED] Strange qustion - how to prevent apache delay?

2005-08-17 Thread Charlie Smith
I removed the OT from the subject line, as I'm not convinced. What else would keep Apache from putting entry in log file for accessing the php script? Rather from taking so long to put the call in the access log? Turning up the Apache Timeout var did not work. Script is not eventually returning

Re: [EMAIL PROTECTED] [OT] Strange qustion - how to prevent apache delay?

2005-08-17 Thread Charlie Smith
Turning up the Apache Timeout var did not work. Script is not eventually returning normally. It is as if it stops half way through and client never gets html back from cgi script that is supposed to. So, maybe turning up max_execution_time would work? Charlie 8/17/05 7:00 a.m. MST >>> [EMAIL PRO

Re: [EMAIL PROTECTED] Redirect conditional on SSL/non-SSL

2005-08-17 Thread Mads Rosendahl
Sorry, the php-code for rediret is "header("location: ".$url);". My memory is not what it used to be Brian Candler wrote: I would like users to be able to put an incantation in their .htaccess files which says: "if this directory was not accessed via SSL, then issue a redirect to https://

Re: [EMAIL PROTECTED] Redirect conditional on SSL/non-SSL

2005-08-17 Thread Mads Rosendahl
Hi Brian, A very simple solution that works on any type of webserver is to replace the standard 403.4 "SSL Required" error document with some sort of automatic redirect code. In apache.conf you would put e.g. ErrorDocument 403 /error/ssl_auto_redirect.php In "ssl_auto_redirect.php" you dete

[EMAIL PROTECTED] Redirect conditional on SSL/non-SSL

2005-08-17 Thread Brian Candler
I would like users to be able to put an incantation in their .htaccess files which says: "if this directory was not accessed via SSL, then issue a redirect to https://"; I know about SSLRequireSSL, but that just rejects the request. Is there a way to do this short of using mod_rewrite? I am u

Re: [EMAIL PROTECTED] mod_proxy/mod_proxy_html

2005-08-17 Thread Nick Kew
William A. Rowe, Jr. wrote: Neil A. Hillard wrote: On the ProxyPassReverse in Location bug - this was a show-stopper, end of story, for us. If Nick hadn't fixed this (under consultancy) we'd have been looking at products other than Apache. ROFL - I always love these posts. Would have be

Re: [EMAIL PROTECTED] mod_proxy/mod_proxy_html

2005-08-17 Thread Neil A. Hillard
William A. Rowe, Jr. wrote: Neil A. Hillard wrote: On the ProxyPassReverse in Location bug - this was a show-stopper, end of story, for us. If Nick hadn't fixed this (under consultancy) we'd have been looking at products other than Apache. ROFL - I always love these posts. Would have been l

[EMAIL PROTECTED] Re: Excluding a directory from mod_proxy (apache 1.3)

2005-08-17 Thread Joost de Heer
Matt Blasinski said: > Hi, > > I'm using mod_proxy to proxy the document root to another port on the > same machine with Apache 1.3. > > ProxyPass / http://localhost:180/ > ProxyPassReverse / http://localhost:180/ > > This works fine and as expected, you get the page at that port/location

Re: [EMAIL PROTECTED] apache2 mod_ssl windows...the simple way?

2005-08-17 Thread Joost de Heer
> The httpd project will not distribute a contrib of such builds. However > ascs is right, if you want parity with Linux etc, contribute builds of > libeay32.dll/ssleay32.dll to the OpenSSL project. If they redistributed > the DLL's, we could distribute mod_ssl.so trivially. An extra download, >