[us...@httpd] Enabling CGI on Apache 2.2 on Mac OS X 10.6.4

2010-08-30 Thread Diego Sebastián Birch
Hello everyone, I've recently started developing applications on a Mac OS X, and one of them is a migration from a C++ CGI written for MS Windows. Porting it has been more or less fine, but I'm stuck with actually executing my program as a CGI. All I have managed to do is download my binary

Re: [us...@httpd] Strange problem with mod_fcgid

2010-08-30 Thread Nick Kew
On 29 Aug 2010, at 13:45, Tears ! wrote: Dear Nick, which script is broken imran.php ? The same thing is work with mod_php In imran.php i simply added ?php print_r($_GET); ? I am sure problem with mod_fcgid not php OK, that's plausible. If you're not on the latest

Re: [us...@httpd] 2.2.16 and pthread

2010-08-30 Thread Nick Kew
On 30 Aug 2010, at 03:10, CC wrote: I think that was what was bugging my build. Glad to hear you're sorted. But APR 1.3 wasn't the problem - rather it was the pthread library version against which it was built. Hopefully it was just a one-off inconsistency and the new APR build has fixed the

Re: [us...@httpd] Enabling CGI on Apache 2.2 on Mac OS X 10.6.4

2010-08-30 Thread Nick Kew
On 30 Aug 2010, at 14:48, Diego Sebastián Birch wrote: So far, what I have done is:1) Write a small application that outputs HTTP/1.0 200 OK That's not a valid CGI header (it's an HTTP Response line, but HTTP is not CGI). Take it out. -- Nick Kew

RE: [us...@httpd] Enabling CGI on Apache 2.2 on Mac OS X 10.6.4

2010-08-30 Thread Diego Sebastián Birch
Thanks, Nick. That was indeed the problem. It turns out IIS just ignored that line without even suggesting that was an error. I appreciate your help. From: n...@webthing.com Date: Mon, 30 Aug 2010 15:24:30 +0100 To: users@httpd.apache.org Subject:

RE: [us...@httpd] Enabling CGI on Apache 2.2 on Mac OS X 10.6.4

2010-08-30 Thread Diego Sebastián Birch
Thanks, Bob. I've never used perl, although it sounds interesting enough to start learning it. However, on this occasion, I need to port an existing application written in C++ that connects to other applications on different servers using TCP/IP sockets among other things, so I find it much

[us...@httpd] Re: Password protect site, but leave one directory open for load balancer

2010-08-30 Thread Jon Drukman
Bram Mertens mertensb.mazda at gmail.com writes: Isn't it easier to leave /ping open for all? Remove the entire need for authentication? I assume it will be a directory with nothing but a static page for your load balancer to check so nothing that needs to be protected. I'm fine with

Re: [us...@httpd] Intermittent crashing web server service

2010-08-30 Thread Mike Schleif
On 8/28/2010 10:39 PM, Frank Gingras wrote: On 08/28/2010 03:28 PM, Mike Schleif wrote: I've a client running Apache on a MSWindows server with an intermittent crashing web server service. [1] Names Versions: OS Name Microsoft® Windows® Web Server 2008 Version 6.0.6002 Service Pack 2

[us...@httpd] Issues with mod_fcgid and multi-threaded FastCGI application

2010-08-30 Thread Brett Gmoser
Hello all, I'm looking to migrate from my current mod_fastcgi configuration to mod_fcgid. Since my FastCGI server (the application I write) is a big large and unwieldy, currently I use mod_fastcgi to spawn five instances of my server application, which in turn spawns about 400 threads

[us...@httpd] Re: Limit on content size

2010-08-30 Thread Mohit Anchlia
On Tue, Aug 3, 2010 at 3:47 PM, Mohit Anchlia mohitanch...@gmail.com wrote: On Sun, Aug 1, 2010 at 11:36 AM, Mohit Anchlia mohitanch...@gmail.com wrote: On Friday, July 30, 2010, Nilesh Govindarajan li...@itech7.com wrote: On Sat, Jul 31, 2010 at 2:55 AM, Mohit Anchlia mohitanch...@gmail.com

[us...@httpd] Intermittent Request header field is missing ':' separator. on https

2010-08-30 Thread Michael Cole
Hello, I'm trying to resolve a problem with intermittent Bad Request errors from apache: Bad Request Your browser sent a request that this server could not understand. Request header field is missing ':' separator. olhuaqv3o1t29flvr0 Apache/2.2.14 (Ubuntu) Server at

Re: [us...@httpd] Enabling CGI on Apache 2.2 on Mac OS X 10.6.4

2010-08-30 Thread Stephen Love
I've got a script that runs in VB that can perform CGI easily, but PHP does a wonderful job of it. Just install PHP, and take the time to learn it! BTW... PHP is VERY specific to the version of apache you use... certain PHP versions work with certain APACHE and associated modules, etc. See us

[us...@httpd] Issue with mod_proxy encoding URL's

2010-08-30 Thread Robert Hanson
Hi, I have a problem with proxying certain URL's. Using Wireshark I see the following change in the target URL as it passed through Apache: In to Apache proxy: GET /arsys/forms/ remprod.com/%2BXYZ%3AChange+Password+Dialogue/Default+Admin+View/? HTTP/1.1 Out to target server: GET /arsys/forms/

[us...@httpd] What IP address is this log entry coming from? (Is :: a valid IP address?)

2010-08-30 Thread Apache Issues
I'm using: CustomLog /var/log/apache2/access_log %a %l %u %t \%r\ %s %b \%{Referer}i\ And I occasionally see this right around the time the CPU starts running at 100%: :: - - [27/Aug/2010:12:28:01 -0700] GET /favicon.ico HTTP/1.1 200 - - %a is supposed to be an IP address, so what IP address