Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2014-03-23, 08:46 PM   #1
jollyhumper
That's what she said
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 2,499
Send a message via ICQ to jollyhumper
htaccess and blocking

My WP have been undergoing a lot of brute-force attacks lately (Guess you all struggle with this shit)

I was told this as a solution

Also, regarding the wp-login.php attacking, here's a solution:

<Files wp-login.php>
order deny,allow
Deny from all
ErrorDocument 403 "Denied"
</Files>

Put that in .htaccess, under the "Deny from all", add "Allow from <IP>" where <IP> is your IP address.


The problem is, I can't get a static IP, the whole system here is dynamic.

So the question is, how do I put an IP range in there?
I have got the IP range my provider gives out to their customers

I won't write the range here, but for example sakes, let's say it is
256.14.X.X to 256.24.X.X

Thanks in advanca
jollyhumper is offline   Reply With Quote
Old 2014-03-23, 09:47 PM   #2
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Try this - http://www.toshop.com/htaccess-generator.cfm

Read the notes on the bottom about IP ranges.
Useless is offline   Reply With Quote
Old 2014-03-23, 10:19 PM   #3
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
In addition to putting a range of IPs in you can do what I do when I have to access my blog admins on the road.

I FTP into my blog's htaccess file and add the IP that I'm at and then I can log into my blog's admin.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2014-03-23, 11:32 PM   #4
jollyhumper
That's what she said
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 2,499
Send a message via ICQ to jollyhumper
Thank you 'not so' Useless Warrior and Chleo.

I have now made access to myself.

Could any of you bother to try to access

http://dailyfilipina.com/wp-login.php?

THanks in advance :=)

Jolly
jollyhumper is offline   Reply With Quote
Old 2014-03-24, 06:58 AM   #5
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Quote:
Originally Posted by jollyhumper View Post
Thank you 'not so' Useless Warrior and Chleo.

I have now made access to myself.

Could any of you bother to try to access

http://dailyfilipina.com/wp-login.php?

THanks in advance :=)

Jolly
Forbidden

You don't have permission to access /wp-login.php? on this server.
dailyfilipina.com
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2014-03-24, 09:39 AM   #6
jollyhumper
That's what she said
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 2,499
Send a message via ICQ to jollyhumper
Quote:
Originally Posted by Cleo View Post
Forbidden

You don't have permission to access /wp-login.php? on this server.
dailyfilipina.com
Thank you.

However, It wasn't correct since it also blocked me.

It should now be corrected with proper code, could anyone bother try to access
http://dailyfilipina.com/wp-admin &
http://blogsratedx.com/wp-admin ? (Testing two different ways of writing it)

Will be appreciated from here until eternity.

Jolly

Ps, if you DO get access to the login page, answer the following question: Do you live in Norway?
jollyhumper is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 02:31 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc