GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Block domain via httpconfig (https://gfy.com/showthread.php?t=252327)

xxxice 03-14-2004 02:12 PM

Block domain via httpconfig
 
How do I block a domain from sending hits to my site via httpconfig - please post example with a domain in there thanks for your help :winkwink:

fris 03-14-2004 02:16 PM

PHP Code:

<Virtualhost 209.237.255.126>
Servername blingbling.com
ServerAlias 
[url]www.blingbling.com[/url]
Documentroot /home/fris/web/blingbling
<Directory>
    
Order allow,deny
    deny from 64.27.187.29
    deny from gofuckyourself
.com
    deny from 
[url]www.gofuckyourself.com[/url]
    
Allow from all
</Directory>
</
Virtualhost

that will block by ip and hostnames

hope that helps.

xxxice 03-14-2004 02:22 PM

Thank you I am attempting this now :thumbsup

xxxice 03-14-2004 02:35 PM

Hmm could not restart apache

woj 03-14-2004 02:43 PM

Quote:

Originally posted by vanderweb
Hmm could not restart apache
doh! You can also try putting that stuff in .htaccess by the way.

fris 03-14-2004 02:44 PM

yep sorry you can do it via .htaccess just the deny by forgot about that. ip blocking per site.

apachectl configtest

to see what errors

xxxice 03-14-2004 02:45 PM

I was trying to just do it with httpconfig cause every time i upload htaccess i can not get my site to load

xxxice 03-14-2004 02:47 PM

Fris I went to your www can we set up a trade :)


All times are GMT -7. The time now is 10:07 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123