[users@httpd] Worker MPM configuration with High Load

2011-04-20 Thread Harsimranjit singh Kler
Hi Using apache2.2.17,mod_jk_1.2.30,tomcat5.5.27..for my setup.! ./apachectl -V Server version: Apache/2.2.17 (Unix) Server built: Apr 19 2011 08:35:28 Server’s Module Magic Number: 20051115:25 Server loaded: APR 1.4.2, APR-Util 1.3.10 Compiled using: APR 1.4.2, APR-Util 1.3.10 Architecture: 64-bi

Re: [users@httpd] Mod_Rewrite and reverse proxy

2011-04-20 Thread Joel Donahue
On Wed, Apr 20, 2011 at 4:58 PM, Mark Montague wrote: >  On April 20, 2011 18:43 , Joel Donahue wrote: >> >> Is it possible to use Mod_Rewrite and apache in reverse proxy mode >> simultaneously? > >> >> RewriteEngine on >> RewriteBase / >> RewriteRule ^robots\.txt$ robots2.txt >> >> >> ProxyPas

Re: [users@httpd] Mod_Rewrite and reverse proxy

2011-04-20 Thread Mark Montague
On April 20, 2011 18:43 , Joel Donahue wrote: Is it possible to use Mod_Rewrite and apache in reverse proxy mode simultaneously? RewriteEngine on RewriteBase / RewriteRule ^robots\.txt$ robots2.txt ProxyPass / http://www.server2/ retry=0 ProxyPassReverse / http://www.server2/ ProxyPreserv

[users@httpd] Mod_Rewrite and reverse proxy

2011-04-20 Thread Joel Donahue
Is it possible to use Mod_Rewrite and apache in reverse proxy mode simultaneously? I have a web server (server1) that is a mirror of another of another web server (server2) and all requests from the server1 are reverse proxyed to server2. The robots.txt from server2 needs to be changed to disallow

Re: [users@httpd] problems with delivering precompressed content

2011-04-20 Thread Eric Covener
> Did you mean rewriting /foo.js to /foo? Sounds interesting, especially > with the [PT] flag. yes, had it backwards - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/usersli

Re: [users@httpd] problems with delivering precompressed content

2011-04-20 Thread Edgar Frank
Am 20.04.2011 20:25, schrieb Eric Covener: So I'd like to know, what your suggestions are. Is there a way to get mod_negotiation to work the way I have in mind? Am I missing something or is there an alternative solution? I've never understood this much -- but I thought this worked as long as yo

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-04-20 Thread dfw-apache
On Wed, Apr 20, 2011 at 02:17:43PM -0400, Eric Covener wrote: > > and I don't *think* anything looks at the Host header in the cached object, > > you could add a Vary on the Host header. I'd rather not play with the Host header after all if I can help it. If it Vary's on Host, won't it check tha

Re: [users@httpd] problems with delivering precompressed content

2011-04-20 Thread Eric Covener
> So I'd like to know, what your suggestions are. Is there a way to get > mod_negotiation to work the way I have in mind? Am I missing something or is > there an alternative solution? I've never understood this much -- but I thought this worked as long as your links were to /foo instead of /foo.js

Re: [users@httpd] Incomplete file downloads if Apache HTTPD is killed

2011-04-20 Thread Bostjan Skufca
> > if a server is killed (SIGKILL) during a "large" static file transfer, then >> the client is not notified by his browser that file has not been completely >> downloaded. On Win it just says it is not a valid Win32 application or >> corrupted or sth. >> Now I know this is not a general problem a

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-04-20 Thread Eric Covener
> and I don't *think* anything looks at the Host header in the cached object, you could add a Vary on the Host header. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/users

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-04-20 Thread dfw-apache
On Fri, Feb 04, 2011 at 11:06:48PM +, dfw-apa...@white.u-net.com wrote: > On Fri, Feb 04, 2011 at 05:36:01PM +, Igor Gali?? wrote: > > > > > > > But ProxySet only allows you to set the same Variables as > > > > > ProxyPass does. host is none of them. > > > > > > > > Indeed. This appears t

[users@httpd] server limit stuck at 10

2011-04-20 Thread Marion McCoskey
Igor Cicimo said: >So do what the error says: increase the ServerLimit I've tried that a lot of times. Maybe I am doing it wrong. My understanding is that the "" section of httpd.conf is where this directive is read when using the prefork module. When I change this value, the error message I g

[users@httpd] problems with delivering precompressed content

2011-04-20 Thread Edgar Frank
Hi apache folks, I've been struggling with precompressed content for a while now, but I can't find a satisfying solution. There are plenty of .js and .css, which I currently compress at runtime with mod_deflate. To save CPU load, I want to precompress these, put them as .(js|css).gz on the

Re: [users@httpd] failing to access ssl port

2011-04-20 Thread Asif Iqbal
On Wed, Apr 20, 2011 at 1:41 PM, Mark Montague wrote: >  On April 19, 2011 23:27 , Asif Iqbal wrote: >> >> [Tue Apr 19 22:34:36 2011] [info] [client 192.168.0.248] Connection to >> child 1 established (server www.example.net:8443) >> [Tue Apr 19 22:34:36 2011] [info] Seeding PRNG with 136 bytes o

Re: [users@httpd] failing to access ssl port

2011-04-20 Thread Mark Montague
On April 19, 2011 23:27 , Asif Iqbal wrote: [Tue Apr 19 22:34:36 2011] [info] [client 192.168.0.248] Connection to child 1 established (server www.example.net:8443) [Tue Apr 19 22:34:36 2011] [info] Seeding PRNG with 136 bytes of entropy [Tue Apr 19 22:34:36 2011] [info] [client 192.168.0.248]

Re: [users@httpd] Chroot a virtual host

2011-04-20 Thread Mark Montague
On April 19, 2011 19:47 , "--[ UxBoD ]--" wrote: I have noticed that when running Joomla, or in-fact any browsing capable PHP code, I am able to navigate above my virtual host document root and look at other virtual host files. How would one stop this ? I have taken a look at mod_chroot but

Re: [users@httpd] Configuring MOD_SSL with and without client auth on the same box

2011-04-20 Thread Mark Montague
On April 20, 2011 6:06 , Debashis Roy wrote: I would like to configure two different context roots with MOD_SSL in Apache Httpd, such that one is authenticated using client certificate and the other one does not require SSL client authentication. Each of these two context roots are eventually

Re: [users@httpd] URL Rewrite

2011-04-20 Thread Mark Montague
On April 20, 2011 7:07 , "Rod Behr" wrote: I want my browser to display only the root canonical URL while browsing: http://www.mydomain.com. Whatever is contained in the URL or querystring following this should not appear in the browser window. So http://www.mydomain.com/index.pl or http://w

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-04-20 Thread dfw-apache
On Fri, Feb 04, 2011 at 11:06:48PM +, dfw-apa...@white.u-net.com wrote: > On Fri, Feb 04, 2011 at 05:36:01PM +, Igor Gali?? wrote: > > > > > > > But ProxySet only allows you to set the same Variables as > > > > > ProxyPass does. host is none of them. > > > > > > > > Indeed. This appears t

Re: [users@httpd] Incomplete file downloads if Apache HTTPD is killed

2011-04-20 Thread Mark Montague
On April 20, 2011 11:11 , Bostjan Skufca wrote: if a server is killed (SIGKILL) during a "large" static file transfer, then the client is not notified by his browser that file has not been completely downloaded. On Win it just says it is not a valid Win32 application or corrupted or sth. Now

[users@httpd] Incomplete file downloads if Apache HTTPD is killed

2011-04-20 Thread Bostjan Skufca
Hi all, if a server is killed (SIGKILL) during a "large" static file transfer, then the client is not notified by his browser that file has not been completely downloaded. On Win it just says it is not a valid Win32 application or corrupted or sth. Now I know this is not a general problem and a gr

[users@httpd] Re: failing to access ssl port

2011-04-20 Thread Asif Iqbal
On Tue, Apr 19, 2011 at 11:27 PM, Asif Iqbal wrote: > I am getting this error while trying to connect to https port. There > is only this log in the error log > > http://goo.gl/IeTnV > > Here is the error log > > [Tue Apr 19 22:34:36 2011] [info] [client 192.168.0.248] Connection to > child 1 esta

Re: [users@httpd] Help to identify the files in the source code

2011-04-20 Thread Eric Covener
On Wed, Apr 20, 2011 at 9:54 AM, siraj p s wrote: > Thanks for the response..Our need is not a proxy server.We are trying to > create a proxy that would serve objects from other machines on the local net > which belongs to class C family.. Why would you want to "create a proxy" by running wget wh

Re: [users@httpd] Help to identify the files in the source code

2011-04-20 Thread siraj p s
Thanks for the response..Our need is not a proxy server.We are trying to create a proxy that would serve objects from other machines on the local net which belongs to class C family.. On Wed, Apr 20, 2011 at 4:30 PM, Eric Covener wrote: > On Wed, Apr 20, 2011 at 2:17 AM, siraj p s wrote: > > We

Re: [users@httpd] Apache Web Server Testing Framework

2011-04-20 Thread Eric Covener
On Wed, Apr 20, 2011 at 9:50 AM, Sanket wrote: > Hello everyone, > >   I am an undergraduate student currently working on some research at the > University of California, San Diego. We are currently trying to run the > tests for the Apache Web Server using the testing framework; however, I am > ha

Re: [users@httpd] Help to identify the files in the source code

2011-04-20 Thread siraj p s
th On Wed, Apr 20, 2011 at 4:30 PM, Eric Covener wrote: > On Wed, Apr 20, 2011 at 2:17 AM, siraj p s wrote: > > We are a group of students undertaking a project to extend addressing > > of more machines using IPv4 itself. Here we propose to alter the > > http://public-ip-address/path-to-object

[users@httpd] Apache Web Server Testing Framework

2011-04-20 Thread Sanket
Hello everyone, I am an undergraduate student currently working on some research at the University of California, San Diego. We are currently trying to run the tests for the Apache Web Server using the testing framework; however, I am having difficulty understanding how the perl script in the te

Re: [users@httpd] URL Rewrite

2011-04-20 Thread Francois Gingras
On Wed, Apr 20, 2011 at 7:07 AM, Rod Behr wrote: > Hi > > > > New to Apache, but learning fast. Knocks IIS into a cocked hat, but I have a > newbie question: > > > > I have looked through the documentation and examples for the mod_rewrite > module and although I think my request is simple, I canno

[users@httpd] URL Rewrite

2011-04-20 Thread Rod Behr
Hi New to Apache, but learning fast. Knocks IIS into a cocked hat, but I have a newbie question: I have looked through the documentation and examples for the mod_rewrite module and although I think my request is simple, I cannot find the solution to it in either this documentation or the "P

Re: [users@httpd] Help to identify the files in the source code

2011-04-20 Thread Eric Covener
On Wed, Apr 20, 2011 at 2:17 AM, siraj p s wrote: > We are a group of students undertaking a project to extend addressing > of more machines using IPv4 itself. Here we propose to alter the > http://public-ip-address/path-to-object > > The path-to-object is altered incorporating the address of loca

[users@httpd] Configuring MOD_SSL with and without client auth on the same box

2011-04-20 Thread Debashis Roy
Hi, I would like to configure two different context roots with MOD_SSL in Apache Httpd, such that one is authenticated using client certificate and the other one does not require SSL client authentication. Each of these two context roots are eventually delegated MOD_PROXY_AJP two different ba

Re: [users@httpd] Chroot a virtual host

2011-04-20 Thread --[ UxBoD ]--
- Original Message - > Hi, > > I have noticed that when running Joomla, or in-fact any browsing > capable PHP code, I am able to navigate above my virtual host > document root and look at other virtual host files. > > How would one stop this ? I have taken a look at mod_chroot but that >

Re: [users@httpd] server limit stuck at 10

2011-04-20 Thread Igor Cicimov
So do what the error says: increase the ServerLimit On Apr 20, 2011 1:04 PM, "Marion McCoskey" wrote: I have an unmanaged site, alrightsounds.com, running CentOS. The ServerLimt seems to be stuck at 10. This works OK when most of the people in China a asleep, but... << WARNING: MaxClients of