Page 1 of 1

how to block ip so other people cant enter?

PostPosted: 24. May 2006 00:44
by tachu
I want my xampp installation not be available on the web through my IP. How can I do this?

IP Block

PostPosted: 01. June 2006 03:29
by Rhodesia
Use the built in .htaccess and .htpasswd under the security link to block all incoming connections, your localhost will still work, but others will be blocked unless they know your username and password.

OR

Set your router to send http port 80 to a non existent IP.

PostPosted: 01. June 2006 03:41
by KingCrunch
[quote]Set your router to send http port 80 to a non existent IP[7quote]
Bullshit! (sorry) Setup your router, to NOT your port80 to anwhere

PostPosted: 01. June 2006 04:04
by Rhodesia
KingCrunch wrote:Set your router to send http port 80 to a non existent IP[7quote]
Bullshit! (sorry) Setup your router, to NOT your port80 to anwhere


Excuse me, my english not too good, but I havent the foggiest idea what the hell your eluding to ?

Login to your router, go to advanced, click port forwarding, either remap port 80 (the deafult http port) to a non existent ip within your LAN Ex. 192.168.0.145 (if your computers are not set as that routers ip then your no worries) The browsers pages will return a not found server error. Dont get yer sheet in a knot KingMunch!

PostPosted: 04. June 2006 13:18
by Naneau
create a file called .htaccess in the directory you want to block users from. Put the following code in there:

Code: Select all
order allow,deny
deny from 123.45.6.7
deny from 012.34.5.6
allow from all


(substitute ip's with the ones you want to block). You could also reverse this, and use:

Code: Select all
order deny, allow
allow from 123.45.6.7
allow from 012.34.5.6
deny from all


which blocks everyone BUT the ips specified. Good luck!

PostPosted: 04. June 2006 15:52
by tomfmason
you have several options 1: you can (if using windows) block port 80 with the windows firewall or 2: you can filter port 80 with your router