Re: [us...@httpd] mod_proxy_ajp failed to connect infrequently

2010-10-08 Thread Yu Kikuchi
My environment is Apache 2.2.11 and JBoss AS 5.0.0. There were no messages in JBoss's access log when the error occured. I had changed the setting to use "mod_proxy_http" the day before yesterday, then not HTTP 503 error but 502 error occured. Are anybody onto something about this error? Are ther

Re: [us...@httpd] Pre compressed css and javascript

2010-10-08 Thread Ben Short
After more investigation the previous configuration did not actually work correctly. The following does. AddEncoding gzip .jgz AddType application/javascript .jgz AddEncoding gzip .cgz AddType text/css .cgz RewriteCond %{REQUEST_URI} ^(.*).js$ RewriteCond %{HTTP:Accept-encoding} gzip RewriteCond

Re: [us...@httpd] Re: Problem with ProxyPass

2010-10-08 Thread Igor Galić
- Tom Evans wrote: > On Thu, Oct 7, 2010 at 2:23 PM, Michelle Konzack > wrote: > > Forgotten one hing: > > > > If I change the > >     > > to > >     > > I get what does apachectl -S say? > > > > > > which mean, it has hit the DEFAULT VHost and never arrived at the config > > of which mean

Re: [us...@httpd] Re: Problem with ProxyPass

2010-10-08 Thread Tom Evans
2010/10/8 Igor Galić : > - Tom Evans wrote: >> If you did not also add a NameVirtualHost for *:80, then that is to be >> expected. If you don't do any IP/port based virtual hosting, then it >> is usually easiest to do: >> >> NameVirtualHost * >> >> > > that's ambigous. a better practice is to

[us...@httpd] Closing down site and redirecting trraffic

2010-10-08 Thread Hans Lodder
Hi! I am closing down the site solution-brokers.com. It has 2 aliases: SB.nl and SB.eu. I want to redirect all traffic to 2 other sites (results2match.com and results2match.nl) and also redirect all search engine credits. Therefore, I wrote an .htaccess. I cannot alter other configurations.

Re: [us...@httpd] The apache duplicate the request

2010-10-08 Thread Rainer Jung
On 07.10.2010 16:49, Oscar Celada wrote: The apache duplicate the request: I have installed apache httpd 2.2.10 with mod jk 1.2.28 and tomcat 6.0.29. I have a transaction that is executed in the tomcat and that lasts for 15 minutes. The problem is in that Apache once 300 second bests were pas

Re: [us...@httpd] mod_proxy_ajp failed to connect infrequently

2010-10-08 Thread Rainer Jung
On 08.10.2010 09:33, Yu Kikuchi wrote: My environment is Apache 2.2.11 and JBoss AS 5.0.0. There were no messages in JBoss's access log when the error occured. I had changed the setting to use "mod_proxy_http" the day before yesterday, then not HTTP 503 error but 502 error occured. Are anybody o

RE: [us...@httpd] The apache duplicate the request

2010-10-08 Thread Oscar Celada
Hello Rainer: Yesterday I changed the connector jk for mod_wl_22.so and the problem goes on. If I do the request against tomcat directly it works well. For this test I suppose that the problem is in the apache server or in the browser (like you say). I use a cluster with 6 tomcats, I can't put

[us...@httpd] Lots of "Reading request" status connections with no IP

2010-10-08 Thread Dennis Jacobfeuerborn
Hi, I just saw the mention of "mod_reqtimeout" on the dev mailing list and I'm wondering if this would be a good module to deal with a problem I'm seeing. On one of our server I see a ddos where one IP seems to create lots of new connections to Apache which all show up as "Reading Request" and

[us...@httpd] mod_dav - practical use

2010-10-08 Thread Hajo Locke
Hello List, a question to mod_dav. Some providers offer mod_dav to edit files which are also editable/writeable by ftp-user? In most cases ftp-users/apacheuser are different to avoid security problems. Whats the trick to make this possible without security risk? could imagine a special user/gro

Re: [us...@httpd] The apache duplicate the request

2010-10-08 Thread Rainer Jung
On 08.10.2010 13:44, Oscar Celada wrote: Hello Rainer: Yesterday I changed the connector jk for mod_wl_22.so and the problem goes on. If I do the request against tomcat directly it works well. For this test I suppose that the problem is in the apache server or in the browser (like you say).

[us...@httpd] Cannot Start Apache 2.2.x - WSASocket failed to open the inherited socket

2010-10-08 Thread Giannis Palamidaras
Hello, i am desperately trying to make Apache 2.2 service run once again. I had the latest version of xampp and it worked great.One day,out of sudden it did not start I checked the error log and found out that the following error message appeared: (OS 10022) An invalid argument was supplied. :

Re: [us...@httpd] Re: Problem with ProxyPass

2010-10-08 Thread Igor Galić
- "Tom Evans" wrote: > 2010/10/8 Igor Galić : > > - Tom Evans wrote: > >> If you did not also add a NameVirtualHost for *:80, then that is to > be > >> expected. If you don't do any IP/port based virtual hosting, then > it > >> is usually easiest to do: > >> > >> NameVirtualHost * > >>

Re: [us...@httpd] Closing down site and redirecting trraffic

2010-10-08 Thread Igor Galić
- "Hans Lodder" wrote: > Hi! > > I am closing down the site solution-brokers.com. It has 2 aliases: > SB.nl > and SB.eu. I want to redirect all traffic to 2 other sites > (results2match.com and results2match.nl) and also redirect all search > > engine credits. Therefore, I wrote an .htac

Re: [us...@httpd] mod_dav - practical use

2010-10-08 Thread Igor Galić
- "Hajo Locke" wrote: > Hello List, > > a question to mod_dav. Some providers offer mod_dav to edit files > which are > also editable/writeable by ftp-user? > In most cases ftp-users/apacheuser are different to avoid security > problems. > Whats the trick to make this possible without sec

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-08 Thread Grant
actually, it's a good item to have in the vhost, the server uses it to present names in the urls instead of ip addresses >>> >>> I'm surprised it's necessary since I'm not using name-based virtual >>> hosting.  Should I have ServerName in the port 80 vhost blocks or is >>> it sufficient i

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-08 Thread Grant
actually, it's a good item to have in the vhost, the server uses it to present names in the urls instead of ip addresses >>> >>> I'm surprised it's necessary since I'm not using name-based virtual >>> hosting.  Should I have ServerName in the port 80 vhost blocks or is >>> it sufficient i

[us...@httpd] Weak-etag not being handled correctly - bug found in source code

2010-10-08 Thread Ben Cooper
I've been investigating why weak eTags aren't being handled properly, specifically why we always get a status 200 when we include a weak eTag, and only get a status 304 when we delete the weak eTag and use the last modified date instead, or make the eTag strong. I've found the bug: it's because th

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-08 Thread Eric Covener
> Strange that https URLs don't work in Opera without ServerName isn't > it?  They work in firefox. Can you elaborate on "don't work"? -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HT

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-08 Thread Grant
>> Strange that https URLs don't work in Opera without ServerName isn't >> it?  They work in firefox. > > Can you elaborate on "don't work"? Yes, if I remove ServerName from my apache2 config files entirely, Firefox behavior doesn't change but if Opera is directed to load an https page it displays

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-08 Thread Eric Covener
On Fri, Oct 8, 2010 at 2:03 PM, Grant wrote: >>> Strange that https URLs don't work in Opera without ServerName isn't >>> it?  They work in firefox. >> >> Can you elaborate on "don't work"? > > Yes, if I remove ServerName from my apache2 config files entirely, > Firefox behavior doesn't change but

[us...@httpd] Compression problem - super newbie

2010-10-08 Thread James Buchholz
No Compression is happening. Is there any trick that I'm missing? I set up SetOutputFilter DEFLATE, as you'll see below and uncommented LoadModule deflate_module modules/mod_deflate.so This is Apache2.2 on a windows box. I'm not sure which Apache build. I'm grabbing these files from the Apache

[us...@httpd] mod_rewrite: use rewrite map in RewriteCond pattern?

2010-10-08 Thread Brian Hirt
Is there any way to accomplish something like the following? RewriteMap hn txt:/apache/config/hostname.map RewriteCond %{HTTP_HOST}${hn:www} [NC] Thanks! - The official User-To-User support forum of the Apache HTTP Serve

Re: [us...@httpd] mod_rewrite: use rewrite map in RewriteCond pattern?

2010-10-08 Thread Eric Covener
On Fri, Oct 8, 2010 at 2:14 PM, Brian Hirt wrote: > Is there any way to accomplish something like the following? > > RewriteMap hn txt:/apache/config/hostname.map > RewriteCond %{HTTP_HOST}        ${hn:www} [NC] > you can't have variables of any kind in the regex, because it's only compiled once

Re: [us...@httpd] mod_rewrite: use rewrite map in RewriteCond pattern?

2010-10-08 Thread Brian Hirt
On Oct 8, 2010, at 12:19 PM, Eric Covener wrote: > RewriteCond %{HTTP_HOST},${hn:www} ^([^,]+),\1 Eric, Thanks for the pointer, it worked like a charm. Note to others, this doesn't appear to work with 1.3 --brian - The off

[us...@httpd] dynamic ip blockin

2010-10-08 Thread kalin m
hi all... what's the best and most efficient (performancewise) way to block an ip from access to a vhost based on number of requests per hr/day? thanks... - The official User-To-User support forum of the Apache HTTP Server