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
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
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
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
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
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
>> 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
> 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
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
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
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
- "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
- "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
- "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 *
> >>
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. :
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).
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
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
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
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
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
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.
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
- 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
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
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
26 matches
Mail list logo