WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
ban specific IP on Wamp Apache
Posted by:
VAV616
(---.lightspeed.mssnks.sbcglobal.net)
Date: January 26, 2013 03:03AM
I'm running an html site from wamp with apache, what is the code and syntax for banning specific IPs from
my server?
Options:
Reply
•
Quote
Re: ban specific IP on Wamp Apache
Posted by:
boj
(---.dsl.irvnca.sbcglobal.net)
Date: January 26, 2013 03:54AM
You could make a PHP script that does this. [
pastie.org
]
Also, you could modify .htaccess (or httpd.conf) and add this:
Order Deny,Allow
Deny from x.x.x.x
Deny from y.y.y.y
Deny from z.z.z.z
Options:
Reply
•
Quote
Re: ban specific IP on Wamp Apache
Posted by:
VAV616
(---.lightspeed.mssnks.sbcglobal.net)
Date: January 26, 2013 06:00AM
is that in the <Directory> </Directory> tags? or somewhere else?
Options:
Reply
•
Quote
Re: ban specific IP on Wamp Apache
Posted by:
RiggsFolly
(---.as13285.net)
Date: January 27, 2013 04:07PM
[
www.htaccess-guide.com
]
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login