htaccess?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
jrdeahl
-


Joined: 27 Dec 2006
Posts: 50

PostPosted: Wed May 14, 2008 1:11 pm    Post subject: htaccess? Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed May 14, 2008 6:45 pm    Post subject: Reply with quote

IP Address Control
Back to top View user's profile Send private message Visit poster's website
jrdeahl
-


Joined: 27 Dec 2006
Posts: 50

PostPosted: Wed May 14, 2008 9:28 pm    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB phpBB Group