Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Is this likely to slow apache down?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Session timeout  
Author Message
jameshamilton7

External


Since: Aug 16, 2004
Posts: 1



(Msg. 1) Posted: Mon Aug 16, 2004 3:21 pm
Post subject: Is this likely to slow apache down?
Archived from groups: alt>apache>configuration (more info?)

Is this likely to slow apache down?

<Limit GET>
order allow,deny
allow from all
deny from .al
deny from .ba
deny from .bd
deny from .bg
deny from .by
deny from .cz
deny from .ee
deny from .ge
deny from .hk
deny from .hr
deny from .id
deny from .kh
deny from .kr
deny from .la
deny from .lt
deny from .lv
deny from .mk
deny from .mm
deny from .my
deny from .ng
deny from .ph
deny from .pk
deny from .pl
deny from .sg
deny from .si
deny from .th
deny from .tj
deny from .tm
deny from .tr
deny from .tw
deny from .ua
deny from .uz
deny from .vn
deny from .ru
deny from .cn
deny from .sk
deny from .ro
deny from megagiga.com
deny from netzero.net
deny from spaceproxy.com
deny from anonymizer.com
deny from drikka.net
deny from netdirect.net
deny from juno.com
deny from voyager.net
deny from globali.net
deny from the-cloak.com
</Limit>

 >> Stay informed about: Is this likely to slow apache down? 
Back to top
Login to vote
kieran

External


Since: May 24, 2004
Posts: 25



(Msg. 2) Posted: Tue Aug 17, 2004 5:12 am
Post subject: Re: Is this likely to slow apache down? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"James" <jameshamilton777.RemoveThis@hotmail.com> wrote in message
news:61a0aa2e.0408161121.25c60035@posting.google.com...
 > Is this likely to slow apache down?
 >
 > <Limit GET>
 > order allow,deny
 > allow from all
 > deny from .al
{snip}
 > deny from globali.net
 > deny from the-cloak.com
 > </Limit>

I assume you're asking if the large number of "deny from" directives is
going to have an effect on speed. The answer is probably not. In order to
deny from specific hostnames, apache must first resolve the visitor's IP
address into a hostname. It's this resolving which will slow things down,
but the chances are apache does this anyway. After the IP's been resolved
(and it will be resolved only once), it probably doesn't make a lot of
difference how many domains you check it against (maybe adding fractions of
a milliseconds on to each query).<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Is this likely to slow apache down? 
Back to top
Login to vote
user96

External


Since: Sep 15, 2004
Posts: 3



(Msg. 3) Posted: Tue Aug 17, 2004 12:10 pm
Post subject: Re: Is this likely to slow apache down? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

After seeing this id like to implment a simliar thing. Can you advise on
the best format for deny.

<VirtualHost *>
DocumentRoot /usr/home/client1
ServerName www.exdfgdfgamople.co.uk
DirectoryIndex index.html
<Directory />
Order allow,deny
Allow from all
Deny from .hk
Deny from .hr
Deny from .id
Deny from .kh
Deny from .kr
Deny from .la
Deny from .lt
Deny from .lv
</Directory>
</VirtualHost>

or

<VirtualHost *>
DocumentRoot /usr/home/client1
ServerName www.exdfgdfgamople.co.uk
DirectoryIndex index.htm index.html index.php
<Directory />
Order allow,deny
Allow from all
Deny from .hk .hr .id .kh .kr .la .lt .lv
</Directory>
</VirtualHost>
 >> Stay informed about: Is this likely to slow apache down? 
Back to top
Login to vote
user2874

External


Since: Jul 14, 2004
Posts: 24



(Msg. 4) Posted: Tue Aug 17, 2004 5:11 pm
Post subject: Re: Is this likely to slow apache down? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave napisa³(a):


 > <VirtualHost *>
 > DocumentRoot /usr/home/client1
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.exdfgdfgamople.co.uk</font" target="_blank">www.exdfgdfgamople.co.uk</font</a>>
 > DirectoryIndex index.htm index.html index.php
 > <Directory />
 > Order allow,deny
 > Allow from all
 > Deny from .hk .hr .id .kh .kr .la .lt .lv
 > </Directory>
 > </VirtualHost>

this methos will fail if someone from one of this TLDs would use a proxy
server in .net domain Sad



--
Pawe³ Zdziarski
Jabber: fax3.RemoveThis@chrome.pl
fax3.RemoveThis@jabberpl.org<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Is this likely to slow apache down? 
Back to top
Login to vote
user96

External


Since: Sep 15, 2004
Posts: 3



(Msg. 5) Posted: Tue Aug 17, 2004 5:11 pm
Post subject: Re: Is this likely to slow apache down? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"faxe" <patrz-tekst DeleteThis @w.sygnatur.ce> wrote in message
news:cfsspe$him$2@nemesis.news.tpi.pl...
 > Dave napisa³(a):
 >
 >
  > > <VirtualHost *>
  > > DocumentRoot /usr/home/client1
<font color=green>  > > ServerName <a style='text-decoration: underline;' href="http://www.exdfgdfgamople.co.uk</font" target="_blank">www.exdfgdfgamople.co.uk</font</a>>
  > > DirectoryIndex index.htm index.html index.php
  > > <Directory />
  > > Order allow,deny
  > > Allow from all
  > > Deny from .hk .hr .id .kh .kr .la .lt .lv
  > > </Directory>
  > > </VirtualHost>
 >
 > this methos will fail if someone from one of this TLDs would use a proxy
 > server in .net domain Sad
 >


not sure i follow u. can you give an example of what u mean<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Is this likely to slow apache down? 
Back to top
Login to vote
user2865

External


Since: Jul 09, 2004
Posts: 13



(Msg. 6) Posted: Tue Aug 17, 2004 11:49 pm
Post subject: Re: Is this likely to slow apache down? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave wrote:

 >
 > "faxe" <patrz-tekst.RemoveThis@w.sygnatur.ce> wrote in message
 > news:cfsspe$him$2@nemesis.news.tpi.pl...
  >> Dave napisa³(a):
  >>
  >>
   >> > <VirtualHost *>
   >> > DocumentRoot /usr/home/client1
<font color=brown>   >> > ServerName <a style='text-decoration: underline;' href="http://www.exdfgdfgamople.co.uk</font" target="_blank">www.exdfgdfgamople.co.uk</font</a>>
   >> > DirectoryIndex index.htm index.html index.php
   >> > <Directory />
   >> > Order allow,deny
   >> > Allow from all
   >> > Deny from .hk .hr .id .kh .kr .la .lt .lv
   >> > </Directory>
   >> > </VirtualHost>
  >>
  >> this methos will fail if someone from one of this TLDs would use a proxy
  >> server in .net domain Sad
  >>
 > not sure i follow u. can you give an example of what u mean

If someone from Korea (kr) uses a proxy server in e.g. the UK to access
your site, the request will appear to come from a .uk IP.

Or, alternativly, the Korean IP address might resolve to a .net (quite
common) or .com etc, not all IPs for KR will be .kr.

--
Matt


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
<a style='text-decoration: underline;' href="http://www.newsfeeds.com" target="_blank">http://www.newsfeeds.com</a> - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Is this likely to slow apache down? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache 1.3.29 on OSX will slow down - Hello. I am running Apache 1.3.29 on OSX 10.2.8. Everything runs fine in first place, but over time the system will slow down and the CPU usage clibs like crazy. If I use TOP in the terminal there are more and more httpd commands showing up in the..

After a while, apache gets slow without any cause - I've just upgraded our web server to a blazing fast dual Opteron. With the old machine (a single processor AMD 1800), I never had any problem related to apache, but the cpu was often too slow to handle the requests, and we upgraded. Now. The webserver i...

Slow apache - Hello I am running a 2.0.47 Apache on Windows XP. The server is connected to level3 backbone with 100Mbit. I can only download files form the server with ca. 50kb/s over http (apache). if i use a ftp prog i can download with normal fullspead 90kb/s. ..

Apache Server really slow - Not sure if this is the right forum but, i have a problem with my apache server. For some reason its response is really slow on one particular machine. I'm running redhat 7.2, mod_perl, apache 1.3.31 Clients machine is a new HP laptop running on a..

Slow apache server - I am running Server: Apache/1.3.29 (Unix) mod_ssl-2.8.16-1.3.29 on SunOS 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-4 compiled with : Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/ usr/ccs/bin/ld Thread model: posix....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]