[EMAIL PROTECTED] Reverse Proxy - Client IP

2007-09-27 Thread K Anand
I'm using apache 1.3.xx...I know it is way too old... My situation is as follows : Client <-> Apache <> Apache (Rev Proxy) (Backend) I have got access to CGI env vars on the Backend apache in my application. I would like

Re: [EMAIL PROTECTED] Understanding the APACHE 1.3 process model

2007-09-27 Thread Christian Folini
On Fri, Sep 28, 2007 at 01:13:44PM +1000, Robinson Craig wrote: > Therefore, this makes me think that I can't actually use netstat to > 'measure' the 'number of concurrently connected clients'? Is this a fair > assumption? Hey Craig, You can still do that, but limit yourself to the Established co

Re: [EMAIL PROTECTED] Understanding the APACHE 1.3 process model

2007-09-27 Thread Michael Conlen
You could just ask apache's server-status page. From there you can also get more detailed information such as which are connected and sending or receiving data as well as those connected but not doing anything. -- Michael Conlen On Sep 27, 2007, at 11:13 PM, Robinson Craig wrote: Thanks

RE: [EMAIL PROTECTED] Understanding the APACHE 1.3 process model

2007-09-27 Thread Robinson Craig
Thanks Sander. Therefore, this makes me think that I can't actually use netstat to 'measure' the 'number of concurrently connected clients'? Is this a fair assumption? Cheers, Craig -Original Message- From: Sander Temme [mailto:[EMAIL PROTECTED] Sent: Friday, 28 September 2007 1:01 PM

Re: [EMAIL PROTECTED] Resource temporarily unavailable:,setuid: unable to change to uid: 502

2007-09-27 Thread Scott Gifford
kazekun <[EMAIL PROTECTED]> writes: > Hello, > > I'm new to linux and had installed apache 2.2.6 on Fedora 7 about > a month ago. It seems to be working fine (still able to access the > website) except that when I check the error log today (Sept. 27), I > notice that there are some error messages

Re: [EMAIL PROTECTED] Understanding the APACHE 1.3 process model

2007-09-27 Thread Sander Temme
On Sep 27, 2007, at 7:51 PM, Michael Conlen wrote: you likely have 23 established connections using server processes and an additional number of server processes available to handle new connections. Apache keeps some number of processes available so that it doesn't have to fork the process

Re: [EMAIL PROTECTED] Understanding the APACHE 1.3 process model

2007-09-27 Thread Michael Conlen
you likely have 23 established connections using server processes and an additional number of server processes available to handle new connections. Apache keeps some number of processes available so that it doesn't have to fork the process at the time the request is made, but instead has th

[EMAIL PROTECTED] Understanding the APACHE 1.3 process model

2007-09-27 Thread Robinson Craig
Hi Folks, I'm trying to clarify my understanding of the APACHE 1.3 process model on Solaris UNIX. As I understand, "Apache 1.3 on UNIX is a pre-forking process per request server". This means that Apache effectively needs 1 HTTP process per 1 concurrently connected client. For example, if [StartS

[EMAIL PROTECTED] Upgrading to PHP5 sent httpd processes through the roof

2007-09-27 Thread Robinson Craig
Dear experts, I've been working through a process of upgrading our SUN web servers from PHP4 to PHP5. An interesting thing happened when I did our Internet web server this morning. Typically, the number of HTTP processes running during business hours is about 20 - 40. However, upon installing PHP5

[EMAIL PROTECTED] Resource temporarily unavailable:,setuid: unable to change to uid: 502

2007-09-27 Thread kazekun
Hello, I'm new to linux and had installed apache 2.2.6 on Fedora 7 about a month ago. It seems to be working fine (still able to access the website) except that when I check the error log today (Sept. 27), I notice that there are some error messages [Wed Sep 26 13:13:38 2007] [alert] (11)Resour

[EMAIL PROTECTED] confused about dispatching...

2007-09-27 Thread matt
I hope I'm even in the right group for discussion. If not, I appologize, and a kind redirect would be appreciated. I'm wanting to write my own dispatcher, similar to the one the Rails uses. I'm wanting to create my own generic URL mapping scheme, that will create clean URL's without the n

Re: [EMAIL PROTECTED] Using Apache for UI Automation

2007-09-27 Thread Jonathan Herriott
It seems as though the issue might not be what I thought. It looks as though if I fork a process that does the GUI automation, nothing will be brought up to the screen. As a side note, I have cygwin installed on my machine, so I can use bash scripts (most of the scripts were migrated from a linux

Re: [EMAIL PROTECTED] Altering what the internet (but not intranet) sees for a vhost

2007-09-27 Thread Joshua Slive
On 9/27/07, gb1071nx <[EMAIL PROTECTED]> wrote: > Thanks Joshua, > > > > > There are lots of different ways to do this. Here's a > > relatively simple one: > > > > > > Order deny,allow > > Deny from all > > Allow from intranet.example.com > > ErrorDocument 403 /underconstruction.html > > > > When

RE: [EMAIL PROTECTED] Altering what the internet (but not intranet) sees for a vhost

2007-09-27 Thread gb1071nx
Thanks Joshua, > > There are lots of different ways to do this. Here's a > relatively simple one: > > > Order deny,allow > Deny from all > Allow from intranet.example.com > ErrorDocument 403 /underconstruction.html > When I try this, and via a connection to the outside world, try to access

Re: [EMAIL PROTECTED] Environment variables missing from httpd 2.2 installation

2007-09-27 Thread Joshua Slive
On 9/25/07, Scott Courtney <[EMAIL PROTECTED]> wrote: > > # This sets a cookie telling which server should have > affinity for this client. > # Requires mod_headers to be loaded. > # Header always add Set-Cookie > "MYAPP=MYAPP.%{BALANCER_W

Re: [EMAIL PROTECTED] Re: image folder outside the root....how to access it ?

2007-09-27 Thread Daniel Yaÿfffffffffff1ez
Interesting Michelle, I will take a look at this, thanks a lot for helping !! - Original Message From: Michelle Konzack <[EMAIL PROTECTED]> To: users@httpd.apache.org Sent: Thursday, September 27, 2007 1:53:34 PM Subject: [EMAIL PROTECTED] Re: image folder outside the roothow to acces

Re: [EMAIL PROTECTED] Altering what the internet (but not intranet) sees for a vhost

2007-09-27 Thread Joshua Slive
On 9/27/07, gb1071nx <[EMAIL PROTECTED]> wrote: > > I've looked at the deny/allow but that doesn't seem really right. I > don't want to deny access to a vhost, if you're from the internet. I > want to change what you're seeing. > > My scenario is that I'm doing maintenance on a website, and so I s

[EMAIL PROTECTED] Re: image folder outside the root....how to access it ?

2007-09-27 Thread Michelle Konzack
Am 2007-09-25 10:13:21, schrieb Daniel Yaÿfff1ez: > My question to you guys is if you know what apache setting needs to be > turned on (or off) to enable this? or how should I link to images > outside the root. http://www.somedomain.tld/image.php?id=cdshcjcehzdjwdhwdw";> I use a PHP cgi

[EMAIL PROTECTED] Re: One-Time authentificaton for multiple servers

2007-09-27 Thread Michelle Konzack
Am 2007-09-25 10:53:46, schrieb Rachel Anderson-Barrios: > Michelle, > > I am not an apache expert. However, it sounds like you need an actual > programming to do what you would like to do. > > >From the sounds of it, you would need to have a central program which > would check authentication ev

[EMAIL PROTECTED] Altering what the internet (but not intranet) sees for a vhost

2007-09-27 Thread gb1071nx
I've looked at the deny/allow but that doesn't seem really right. I don't want to deny access to a vhost, if you're from the internet. I want to change what you're seeing. My scenario is that I'm doing maintenance on a website, and so I still need to be able to access it from "inside the buildi

RE: [EMAIL PROTECTED] Limiting connections per IP

2007-09-27 Thread Oliver
On 27 September 2007 17:50, [EMAIL PROTECTED] wrote: > Apache is a single-thread/process-per-connection server. In order for > any apache module to handle a connection, it must be accepted by a > thread/process and will thus count towards MaxClients until it gets > dropped/responded to. There is no

Re: [EMAIL PROTECTED] Disable directory browsing

2007-09-27 Thread Dragon
Mark A. Craig wrote: Sorry I got the sense of things backwards earlier. Isn't there another more brute-force option, to simply place an empty index.htm file in every directory that shouldn't be browsed? Doesn't the presence of an index file disable browsing even when it's enabled in principl

Re: [EMAIL PROTECTED] Disable directory browsing

2007-09-27 Thread Mark A. Craig
Sorry I got the sense of things backwards earlier. Isn't there another more brute-force option, to simply place an empty index.htm file in every directory that shouldn't be browsed? Doesn't the presence of an index file disable browsing even when it's enabled in principle for that directory?

Re: [EMAIL PROTECTED] Limiting connections per IP

2007-09-27 Thread Joshua Slive
On 9/27/07, Oliver <[EMAIL PROTECTED]> wrote: > On 27 September 2007 at 14:06, Christian Folini wrote: > > On Thu, Sep 27, 2007 at 01:57:35PM +0100, Oliver wrote: > > > So my question in simple terms is this: is there a way of limiting > > > simultaneous connections per IP without having to launch

RE: [EMAIL PROTECTED] Limiting connections per IP

2007-09-27 Thread Oliver
On 27 September 2007 at 14:06, Christian Folini wrote: > On Thu, Sep 27, 2007 at 01:57:35PM +0100, Oliver wrote: > > So my question in simple terms is this: is there a way of limiting > > simultaneous connections per IP without having to launch additional > > processes to handle the rejections? >

Re: [EMAIL PROTECTED] image folder outside the root....how to access it ?

2007-09-27 Thread Dragon
Rachel Anderson-Barrios wrote: >From the sounds of it, you are required to use a web application to do what you want to do. It doesn't have to be PHP. You can use cgi scripts, ASP, tomcat with java, or ... Make a script or a page which will do two things. First, validate the user, check that

Re: [EMAIL PROTECTED] image folder outside the root....how to access it ?

2007-09-27 Thread Rachel Anderson-Barrios
>From the sounds of it, you are required to use a web application to do what you want to do. It doesn't have to be PHP. You can use cgi scripts, ASP, tomcat with java, or ... Make a script or a page which will do two things. First, validate the user, check that they are logged in payed, etc. S

Re: [EMAIL PROTECTED] Allowing one IP gives all access

2007-09-27 Thread Rachel Anderson-Barrios
Hi, I have a few questions about the config that you displayed, and perhaps they'll lead to a resolution. First question: Is IP address aaa.aaa.aaa.aaa the server's internal IP address? Second question: doesn't appear to have an alias. I'm not 100% sure one isn't needed, but I think it might.

Re: [EMAIL PROTECTED] Header set & WWW-Authenticate

2007-09-27 Thread Joshua Slive
On 9/27/07, Pieter Vanmeerbeek <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for this answer. I'll try it. Good luck. (By the way, you'll need to fix the quoting on the example I gave you. It will look more like Header set WWW-Authenticate "Basic realm=\"x.x.x.x\"" env=gotntlm > To solve this I wa

Re: [EMAIL PROTECTED] Disable directory browsing

2007-09-27 Thread Joshua Slive
On 9/27/07, Rikard Bosnjakovic <[EMAIL PROTECTED]> wrote: > On 26/09/2007, Joshua Slive <[EMAIL PROTECTED]> wrote: > > > But the correct solution is to search through all your conf files and > > remove "Indexes" from every Options directive that you find. > > There is no Options Indexes anywhere in

Re: [EMAIL PROTECTED] Limiting connections per IP

2007-09-27 Thread Christian Folini
On Thu, Sep 27, 2007 at 01:57:35PM +0100, Oliver wrote: > So my question in simple terms is this: is there a way of limiting > simultaneous connections per IP without having to launch additional > processes to handle the rejections? You may want to have a look into mod_qos: http://sourceforge.net/

[EMAIL PROTECTED] Limiting connections per IP

2007-09-27 Thread Oliver
Hi, I am currently running Apache (prefork) 2.0.55 under Ubuntu 6.06 LTS. Apache is running on a VPS with a limited amount of RAM so I have been investigating ways to limit the number of processes being opened per visitor. My MaxClients setting is set to 38 which is just about all the RAM I have

Re: [EMAIL PROTECTED] Re: Environment variables missing from httpd 2.2 installation

2007-09-27 Thread Scott Courtney
On Wednesday 26 September 2007 03:59, Neville Hillyer wrote: > I have not read all of your post but I am aware that Apache's support of > many accepted environmental variables is exceedingly poor. The following is > taken from an earlier post of mine: > > Mounting the following file allows any b

Re: [EMAIL PROTECTED] Apache is not responding to browsers but responds to telnet!!!

2007-09-27 Thread Nick Kew
On Thu, 27 Sep 2007 04:55:36 -0700 "Timo" <[EMAIL PROTECTED]> wrote: > The browsers on these machines or any machine on the planet > (megaproxy.com for example) will return time out, if I use > http://142.179.116.168:88 > > Any idea why is this happening? Works fine

[EMAIL PROTECTED] Apache is not responding to browsers but responds to telnet!!!

2007-09-27 Thread Timo
Hi again, To rephrase the question! On Linux Centos 4.5 x86_64 or x86, apache is listening on port 88 and is being tested working using telnet >From another machine on the planet $telnet 142.179.116.168 88 Will give an empty screen, Type : GET Will get a complete html page dump The browser

Re: [EMAIL PROTECTED] reverse proxy with ldap authentication

2007-09-27 Thread Charles Marcus
Please don't BCC mail lists... that is rude. [EMAIL PROTECTED], on 9/27/2007 2:28 AM, said the following: Hi all, I try to install a reverse proxy with ldap authentication : it works with ldap but not with ldaps. I've got this notice about LDAP and SSL in the log [Wed Sep 26 16:57:40 2007] [

[EMAIL PROTECTED] Re: Environment variables missing from httpd 2.2 installation

2007-09-27 Thread Neville Hillyer
Joshua I had not forgotten you dismissive attitude to this subject. I may not have raised it here again except: 1 The wording of the message I replied to appeared to invite such a reply. 2 Despite many attempts over several months I have failed to get this facility working on the Apache su

[EMAIL PROTECTED] httpd 2.2.6 -> double cronolog in pstree

2007-09-27 Thread Andre Hübner
Hello List, i send this the 2nd time. Is there anybody recieving me or is something wrong in my email too? Any idea what i should do to get answers? I updatet Apache from 2.2.4 to 2.2.6. I used same ConfigureLine etc., only new sources. Now i see in pstree (suse linux) double entries of conol

[EMAIL PROTECTED] Reverse Proxy Timeout

2007-09-27 Thread Christian Folini
Hello, Back in March 2007, there was a report on unexpected behaviour of timeout settings in a reverse proxy setup: http://mail-archives.apache.org/mod_mbox/httpd-users/200703.mbox/[EMAIL PROTECTED] I have stumbled over the same issue one of these days and it is bugging me. I am working with a

RE: [EMAIL PROTECTED] Header set & WWW-Authenticate

2007-09-27 Thread Pieter Vanmeerbeek
Hi, Thanks for this answer. I'll try it. I do have another question: I'm using an owa 2000 as backend server and I noticed this owa does not always behave regarding to sessions. I'm using apache 2.2 as reverse proxy which will send a keepalive in the back-end connection to recycle and optimize