Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-24-2005, 12:04 PM   #1
Beta Member
 
Join Date: Feb 2005
Posts: 3
Send a message via AIM to ZuluWarHelmet
Default .htaccess

How can I use a .htaccess to block an IP range?

I need it to block 68.142.***.***
__________________

ZuluWarHelmet is offline   Reply With Quote
Old 02-24-2005, 01:43 PM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,003
Default Re: .htaccess

<Directory "/path/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
deny from 68.142
</Directory>
__________________

root is offline   Reply With Quote
Old 02-24-2005, 02:07 PM   #3
Beta Member
 
Join Date: Feb 2005
Posts: 3
Send a message via AIM to ZuluWarHelmet
Default Re: .htaccess

<Directory "/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
deny from 68.142
deny from 66.196
</Directory>

this causes 500 errors on everything


Edit:

Nvm, I got it
ZuluWarHelmet is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 06:27 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0