View previous topic :: View next topic |
Author |
Message |
jrdeahl -
Joined: 27 Dec 2006 Posts: 50
|
Posted: Wed May 14, 2008 1:11 pm Post subject: htaccess? |
|
|
I have some people that are accessing my website from places like Iran and Dubai.
With my type of website I am not quite comfortable with that.
I found a place on the web that generates code to block different countries ip addresses. The problem is you are supposed to put it in the htaccess file. Since we don't have one where should this go?
<Limit GET HEAD POST>
order allow,deny
deny from 85.94.160.0/19
deny from 146.196.0.0/16
allow from all
</LIMIT> |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed May 14, 2008 6:45 pm Post subject: |
|
|
IP Address Control |
|
Back to top |
|
 |
jrdeahl -
Joined: 27 Dec 2006 Posts: 50
|
Posted: Wed May 14, 2008 9:28 pm Post subject: |
|
|
Thanks, but it will not work by the console. This has to be inserted into the actual code because it is actually hundreds of lines long. I just shortened it above as an example.
It must be inserted into the conf file? |
|
Back to top |
|
 |
|