Re: [us...@httpd] Httpd on Ubuntu 9.04

2009-05-23 Thread Sander Temme
On May 22, 2009, at 5:39 AM, John Hudak wrote: WHY does the Debian distro 'relocate' things such as apache? Don't ask us, ask them. S. -- Sander Temme scte...@apache.org PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature

Re: [us...@httpd] Running php scripts outside of document root

2009-05-23 Thread Doug Bell
On May 24, 2009, at 12:31 AM, Lyle Wincentsen wrote: In short, I am trying to set up my document root to be /var/www/htdocs and I want my php scripts to run in /var/www/cgi-bin. Why? You can run PHP scripts in the same directory as your htdocs as you want. For some reason I am getting "50

[us...@httpd] Running php scripts outside of document root

2009-05-23 Thread Lyle Wincentsen
I am new to apache and php, so I suspect this will be an easy one to answer. In short, I am trying to set up my document root to be /var/www/htdocs and I want my php scripts to run in /var/www/cgi-bin. For some reason I am getting "500 internal server error" when I try to run a script (called phpa

Re: [us...@httpd] Httpd on Ubuntu 9.04

2009-05-23 Thread James Carroll
Not to add to the hijack, but I hear ya brother. I've been trying to get a local HTTPd/bugzilla set up for the last two weeks. I tried using the Ubuntu/Debian packages and not only do they splay files (seemingly) wherever they feel like it, they change the names so that the online product doc is a

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-23 Thread Ben Welsh
When I study my lsof logs on httpd instances, I'm seeing the use of a number of image libraries, or instance, that I cannot imagine any use for in my applications. then when I look at the yum log the DV provisioned by my host I see those same libraries as default installs. To me there seem to be tw

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-23 Thread Sean Conner
It was thus said that the Great Ben Welsh once stated: > I just had something of a "slap your forehead" moment on this one. It had be > eating me about where all those extra lsof processes came from. And then it > hit me. It's the "developer tools" kit from CentOS. Duh. > > http://www.linuxtopia.o

Re: [us...@httpd] How I configure Reverse Proxy using ??

2009-05-23 Thread ricardo figueiredo
ok !!! Perfect Eric Thank you very much ! It was great help Ricardo On Sat, May 23, 2009 at 2:51 PM, Eric Covener wrote: > On Sat, May 23, 2009 at 1:36 PM, ricardo figueiredo > wrote: > > Hi, > > > > Thank you !!! good explanation ! Now, I know > > > > How I use the output exte

Re: [us...@httpd] How I configure Reverse Proxy using ??

2009-05-23 Thread Eric Covener
On Sat, May 23, 2009 at 1:36 PM, ricardo figueiredo wrote: > Hi, > > Thank you !!! good explanation ! Now, I know > > How I use the output external program in RewriteMap to ProxyPassReverse ?? > For example: > > The output of external program (in C) is /cluster2 > RewriteMap prgmap prg:externalPro

Re: [us...@httpd] How I configure Reverse Proxy using ??

2009-05-23 Thread ricardo figueiredo
Hi, Thank you !!! good explanation ! Now, I know How I use the output external program in RewriteMap to ProxyPassReverse ?? For example: The output of external program (in C) is /cluster2 RewriteMap prgmap prg:externalProgram RewriteRule ^(.*) ${prgmap:1} Then, there is directive ProxyPass that

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread Anthony Catel
André Warnier a écrit : > Anthony Catel wrote: > ... >> >> But if the client hand-up, the read() loop (of the client) will return. >> So Apache know that the client is disconnected. Why Apache doesn't >> shutdown the socket to the proxied server when this happen ? >> > Sorry, I was only loosely fol

Re: [us...@httpd] Domain Masking (I think?)

2009-05-23 Thread Davide Bianchi
Drew Tomlinson wrote: > The two URLs are: > > http://drew.mykitchentable.net/fatblog > http://fatblog.freehealthupdates.com The first one is not a domain name, but a domain name + a subdir, that make me think that you already have some sort of rewrite or redirect rule that changes your URL adding

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread André Warnier
Anthony Catel wrote: ... But if the client hand-up, the read() loop (of the client) will return. So Apache know that the client is disconnected. Why Apache doesn't shutdown the socket to the proxied server when this happen ? Sorry, I was only loosely following this thread. If indeed, at the ti

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread Anthony Catel
André Warnier a écrit : > Anthony Catel wrote: >> Eric Covener a écrit : >>> On Sat, May 23, 2009 at 10:21 AM, Anthony Catel wrote: >>> I don't see any reasons why Apache couldn't be aware if the client hung up gracefully. >>> Patches are always welcome. >>> >>> >> Al

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread André Warnier
Anthony Catel wrote: Eric Covener a écrit : On Sat, May 23, 2009 at 10:21 AM, Anthony Catel wrote: I don't see any reasons why Apache couldn't be aware if the client hung up gracefully. Patches are always welcome. Alright ;) Just wanted to know if it was a bug or a feature. It'

[us...@httpd] Domain Masking (I think?)

2009-05-23 Thread Drew Tomlinson
I'm running Apache 2.2.9 and am trying to grasp domain masking (I hope that's the right term). Basically I have two virtual hosts defined on my server that both point to the same DocumentRoot directory. The directory is a wordpress installation if that matters. The two URLs are: http://drew

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread Anthony Catel
Eric Covener a écrit : > On Sat, May 23, 2009 at 10:21 AM, Anthony Catel wrote: > >> I don't see any reasons why Apache couldn't be aware if the client hung >> up gracefully. >> > > Patches are always welcome. > > Alright ;) Just wanted to know if it was a bug or a feature. Thanks ---

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread Eric Covener
On Sat, May 23, 2009 at 10:21 AM, Anthony Catel wrote: > I don't see any reasons why Apache couldn't be aware if the client hung > up gracefully. Patches are always welcome. -- Eric Covener cove...@gmail.com - The official Use

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread Anthony Catel
Eric Covener a écrit : > On Sat, May 23, 2009 at 9:16 AM, Anthony Catel wrote: > >> Eric Covener a écrit : >> >>> On Thu, May 21, 2009 at 7:55 PM, Anthony Catel wrote: >>> Hi all, Hi, I have a question about mod_proxy_http. Apache keep the connection alive with

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread Eric Covener
On Sat, May 23, 2009 at 9:16 AM, Anthony Catel wrote: > Eric Covener a écrit : >> On Thu, May 21, 2009 at 7:55 PM, Anthony Catel wrote: >>> Hi all, >>> >>> Hi, I have a question about mod_proxy_http. Apache keep the connection >>> alive with the proxied server even if the user has disconnected. >

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread Anthony Catel
Eric Covener a écrit : > On Thu, May 21, 2009 at 7:55 PM, Anthony Catel wrote: >> Hi all, >> >> Hi, I have a question about mod_proxy_http. Apache keep the connection >> alive with the proxied server even if the user has disconnected. >> (.htaccess http://apache.pastebin.ca/1430422). >> >> Any ide

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-23 Thread André Warnier
Sean Conner wrote: But I would wait a few hours for a real expert to comment, which I'm sure one will do if I wrote something really stupid above. Thanks, Sean, for the clarification. Usweful for me too. - The official Use

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread Eric Covener
On Thu, May 21, 2009 at 7:55 PM, Anthony Catel wrote: > Hi all, > > Hi, I have a question about mod_proxy_http. Apache keep the connection > alive with the proxied server even if the user has disconnected. > (.htaccess http://apache.pastebin.ca/1430422). > > Any idea ? ;) Try setting the intenral