|
|||
|
BLOCK A DOMAIN access to my site
HI
there is possibility to block access to my site from a domain?? ThIS domain insert my banner into site and every 2 seconds open 400 process and apache go down can i block this domain? |
|
|||
|
THIS person insert into site DOMAINSITE.XX include to open my site
http://MYSITE.com/php-bin/randomAd/b...ew.php?uid=xxx He has 200 access/sec., therefore my apache go down He don't delete this include , therefore i must block this refer i insert into .htaccess deny from domainsite.xx but nothing.... |
|
|||
|
i know precise REFER URL
http://download.xxxxxxxx-tld/php-bin...mAd/banner.php therefore i must block this refer |
|
||||
|
Hmmm...
try editing your .htaccess to look something like this... <LIMIT GET POST> order deny,allow deny from www.sitename.com </LIMIT> see if that works? |
|
|||
|
or block him our totally from your firewall, and don't even have httpd process his commands. simply drop the packets. more often than not, if it's a web server, it's got a static ip address.
Do a ping and obtain the IP that way. Chew |
|
|||
|
Hi Creazioni1,
As bamasbest has suggested, you can block any domain by adding the LIMIT in the .htaccess file as follows, <Limit GET HEAD POST> order allow,deny deny from <Domain name you want to block> deny from <IP address of the domain> allow from all </LIMIT> You can generate code to block domains using the following link: http://htmlbasix.com/blockusers.shtml Regards,
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|