[EMAIL PROTECTED] CGI Timeouts?

2006-09-20 Thread Steve Swift
Is there a configuration directive or some trick that I could use to kill a CGI script if it runs for longer than, say, 120 seconds?If any of my scripts run for longer than 30 seconds or so, they are certainly in a loop, and will continue forever, until I notice and kill them manually. I've not

RE: [EMAIL PROTECTED] CGI Timeouts?

2006-09-20 Thread Boyle Owen
-Original Message- From: Steve Swift [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 9:05 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] CGI Timeouts? Is there a configuration directive or some trick that I could use to kill a CGI script if it runs for

Re: [EMAIL PROTECTED] CGI Timeouts?

2006-09-20 Thread Steve Swift
But apache won't (can't!) kill the process that's looping...The operating system is Linux. The separate threads are spawned as apache (in our case) but there is still the root process running httpd - that should have no problems killing of looping CGI processes, if it wanted to. However, I'll

Re: [EMAIL PROTECTED] More about Setting up my own Apache Web Server

2006-09-20 Thread Dan Östberg
Simple as that, in /usr/sbin/lokkit I had forgotten to enable incoming www(http)... Thank you all! /dan http://194.16.84.195 On Tue, 2006-09-19 at 23:33 +0100, Mark Feather wrote: - Original Message - From: Mark Feather [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Tuesday,

Re: [EMAIL PROTECTED] Apache 2.2.3 on Redhat AS4 instable

2006-09-20 Thread Rainer Perske
-BEGIN PGP SIGNED MESSAGE- Hello, the following problems I wrote yesterday has been partly resolved now: I've installed Apache 2.2.3 on a Redhat Advanced Server 4 (with all updates installed). You can look at the configuration log at http://wwwtest.uni-muenster.de/config.log. Every

Re: [EMAIL PROTECTED] Directory Index Question

2006-09-20 Thread Joshua Slive
On 9/19/06, John Meichle [EMAIL PROTECTED] wrote: Is there a way to configure the backround and text colors of the auto generated Directory index through mod_autoindex? I do not care about fancy searching or listings, I just want to be able to do basic configuring of the text. There are two

[EMAIL PROTECTED] environment vars in Apache

2006-09-20 Thread Philox / Jonathan Salomon
Hi all! I have a problem with Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8b PHP/5.1.6 and environment viarables. I would like to pass the bash HOSTNAME variable to the apache logfiles. Therefore I have adjusted the httpd.conf as follows: PassEnv HOSTNAME LogFormat %{HOSTNAME}e %h %l %u

[EMAIL PROTECTED] Rewrite Engine not working

2006-09-20 Thread André Fonseca - CGU
Hello, I´m trying to get NTOP to work through an Apache Proxy, as described in HOW-TO from http://linuxdotmy.multiply.com/notes/item/20 In my case, if a request comes to http://sagittarius/ntop/, I want to proxy it to http://uranus:3000/ For this, I enabled mod_proxy and mod_proxy_http in

RE: [EMAIL PROTECTED] compilation problem

2006-09-20 Thread Tal Cohen
Have you tried doing a make clean or make distclean in-between make installs: ./configure --prefix=/usr/apache --enable-proxy --enable-cache --enable-disk-cache make make install make clean (or try make distclean) ./configure --prefix=/usr/apache

[EMAIL PROTECTED] apache php crash

2006-09-20 Thread Bobby Gontarski
Has someone already seen a solution to this apache - php crashing problem: [notice] Parent: child process exited with status 4294967295 -- Restarting. described http://bugs.php.net/bug.php?id=30405 - The official User-To-User

Re: [EMAIL PROTECTED] Rewrite rules?? (short version)

2006-09-20 Thread Krist van Besien
On 9/19/06, Darren Hall [EMAIL PROTECTED] wrote: I have this problem figured out. I was able to come up with a solution using a combination of mod proxy and mod rewrite. I though wou wouldn't need a rewrite for this. Just a VirtualHost *.* ServerName www.abc.com ProxyPass /

Re: [EMAIL PROTECTED] compilation problem

2006-09-20 Thread Ben
Hi Hasson , as Tal mentions, one must do a make clean, or work with a clean download.. Try the following - which uses a clean download: mkdir -p /usr/apache # may need sudo mkdir -p ~/httpd223test cd ~/httpd223test; wget

[EMAIL PROTECTED] configure apache fail with cannot access mod_security.c

2006-09-20 Thread Roshan Perera
Hi, Please cc me on [EMAIL PROTECTED] .. trying to configure apache 2.2.3 with mod_security 1.9.4 my configure looks like this.. [EMAIL PROTECTED] $ pwd /export/home/pererar/apache/httpd-2.2.3/ [EMAIL PROTECTED] $ ls -al modules/proxy/mod_security.c -rw-r--r-- 1 pererar cmusers 302164

Re: [EMAIL PROTECTED] configure apache fail with cannot access mod_security.c

2006-09-20 Thread Ben
Try ./buildconf before you run ./configure On 20 Sep 2006, at 16:16, Roshan Perera wrote: Hi, Please cc me on [EMAIL PROTECTED] .. trying to configure apache 2.2.3 with mod_security 1.9.4 my configure looks like this.. [EMAIL PROTECTED] $ pwd /export/home/pererar/apache/httpd-2.2.3/

Re: [EMAIL PROTECTED] configure apache fail with cannot access mod_security.c

2006-09-20 Thread Roshan Perera
I tried that but failed with. Python not installed. [EMAIL PROTECTED] $ ./buildconf found apr source: srclib/apr found apr-util source: srclib/apr-util rebuilding srclib/apr/configure buildconf: checking installation... buildconf: python not found. You need python installed

Re: [EMAIL PROTECTED] configure apache fail with cannot access mod_security.c

2006-09-20 Thread Ben
IIRC not if you are building from svn Try building from a tarball instead? On 20 Sep 2006, at 16:39, Roshan Perera wrote: I tried that but failed with. Python not installed. [EMAIL PROTECTED] $ ./buildconf found apr source: srclib/apr found apr-util source: srclib/apr-util rebuilding

Re: [EMAIL PROTECTED] configure apache fail with cannot access mod_security.c

2006-09-20 Thread Joshua Slive
On 9/20/06, Roshan Perera [EMAIL PROTECTED] wrote: configure -enable-security \ --with-module=proxy:mod_security.c There is clearly a typo in the mod_security docs. That should be --enable-security (two dashes). but I don't know whether that explains your problem or not. Joshua.

Re: [EMAIL PROTECTED] configure apache fail with cannot access mod_security.c

2006-09-20 Thread Roshan Perera
Thanks but tried with -- (two dashes) as well. Rgds Roshan - Original Message - From: Joshua Slive [EMAIL PROTECTED] Date: Wednesday, September 20, 2006 4:54 pm Subject: Re: [EMAIL PROTECTED] configure apache fail with cannot access mod_security.c To: users@httpd.apache.org On

[EMAIL PROTECTED] Keywords and apache solved...partially

2006-09-20 Thread sniedermeyer
Just a follow-up on this. I tested this using a default apache config file and the trailing slash issue goes away. So I must have something going on in my config that is suppressing the automatic addition of the trailing slash. My guess is it's one of my proxypass directives, but am still

Re: [EMAIL PROTECTED] configure apache fail with cannot access mod_security.c

2006-09-20 Thread Roshan Perera
Hi Ben, Thanks for the reply.. But don't understand your comments.. I've downloaded modsecurity-apache_1.9.4.tar.gz and configuring on Solaris 8. didn't get the 2.0 rc (if thats what you mean). Thanks Roshan - Original Message - From: Ben [EMAIL PROTECTED] Date: Wednesday, September 20,

[EMAIL PROTECTED] proxypass ignore case issue

2006-09-20 Thread Nick Ascione
I have a server setup as a reverse proxy for a server called for example www.somedomain.com If a user goes to http://www.somedomain.com/somedir, I want it to goto http://appserver.blah.com/somedir I have the following LocationMatch /somedir ProxyPass

Re: [EMAIL PROTECTED] proxypass ignore case issue

2006-09-20 Thread Rainer Perske
Hi Nick Ascione schrieb am 2006-09-20: I have a server setup as a reverse proxy for a server called for example www.somedomain.com If a user goes to http://www.somedomain.com/somedir, I want it to goto http://appserver.blah.com/somedir I have the following LocationMatch /somedir

Re: [EMAIL PROTECTED] NeedHelp

2006-09-20 Thread Matus UHLAR - fantomas
On 19.09.06 14:23, Igor V. Ruzanov wrote: I use Apache/1.3.28 web-server under FreeBSD 5.2.1-RELEASE within jail environment. And there is some strange thing when i'm checking http-processes by `ps lax': 80 69523 1 0 96 0 6148 1232 select SLsJ ??0:00.49 (httpd) The string

Re: [EMAIL PROTECTED] proxypass ignore case issue

2006-09-20 Thread Nick Ascione
With mod_speling, that only appears to work if the directory is on the local machine? What about in the case of a reverse proxy? Rainer Perske wrote: Hi Nick Ascione schrieb am 2006-09-20: I have a server setup as a reverse proxy for a server called for example www.somedomain.com

Re: [EMAIL PROTECTED] CGI Timeouts?

2006-09-20 Thread Sean Conner
It was thus said that the Great Steve Swift once stated: But apache won't (can't!) kill the process that's looping... The operating system is Linux. The separate threads are spawned as apache (in our case) but there is still the root process running httpd - that should have no problems

Re: [EMAIL PROTECTED] CGI Timeouts?

2006-09-20 Thread Ravi Menon
Hi, I didn't follow the full email thread so I apologise if this is off-topic. Apache 1.3.x definetly has support for looping CGI apps - see src/main/alloc.c:alloc.c:free_proc_chain(). When a new CGI app is spawned, it is registered in this 'proc chain' list and when timeout occurs at cgi

[EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Huesser Peter
Hello This question was often asked before but I did not get any solution to work: I want to rewrite all request to http:virtual.server.domain/path/file.html to https://virtual.server.domain/path/file.html. One of the solutions I found is: RewriteEngine On RewriteCond %{HTTPS}

Re: [EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Joshua Slive
On 9/20/06, Huesser Peter [EMAIL PROTECTED] wrote: This question was often asked before but I did not get any solution to work: I want to rewrite all request to http:virtual.server.domain/path/file.html to https://virtual.server.domain/path/file.html;. One of the solutions I found is: The

Re: [EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Ricardo Stella
Huesser Peter wrote: Hello This question was often asked before but I did not get any solution to work: I want to rewrite all request to “http:virtual.server.domain/path/file.html” to “https://virtual.server.domain/path/file.html”. One of the solutions I found is: RewriteEngine On

RE: [EMAIL PROTECTED] httpd-2.2.3 / MySQL 5.0.24a - buildsteps and improved error reporting

2006-09-20 Thread Rob Sterenborg
Ben mailto:[EMAIL PROTECTED] wrote: ... vi apr_dbd_mysql.c #rewrite the functions dbd_mysql_error and dbd_mysql_check_conn as follows - /* apr_dbd_mysql.c -*/ //Rewrite function dbd_mysql_check_conn (5 lines at line 744) ...

Re: [EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Darek Czarkowski
On Wed, 2006-09-20 at 17:03 -0400, Ricardo Stella wrote: Huesser Peter wrote: Hello This question was often asked before but I did not get any solution to work: I want to rewrite all request to “http:virtual.server.domain/path/file.html” to

Re: [EMAIL PROTECTED] httpd-2.2.3 / MySQL 5.0.24a - buildsteps and improved error reporting

2006-09-20 Thread Philip M. Gollucci
I installed MySQL-5.0.24a from source into /usr/local, set it up (have it running), modified /etc/ld.so.conf and ran ldconfig. I downloaded httpd-2.2.3 and apr_dbd_myqsl.c again and applied your proposed changes to all those files. I'm using the apr/apr-util that is included with httpd-2.2.3.