[apache] Allow or Deny IP/host access to folder/site using .htaccess


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web

Complete tutorial onApache Documentation
Below is the code I put on .htaccess file on the folder/site which I want to protect

Order allow,deny
Deny from all
Allow from profusehost.net
ErrorDocument 403 /error/HTTP_NOT_FOUND.html.var

Order allow,deny
 
tell apache to evaluate allow list then deny list, if any client doesn''t match in allow and deny list it''ll denied

Deny from all
denied all client :)

Allow from profusehost.net
but access from *.profusehost.net is allowed, and its sub-domain and host under domain profusehost.net

ErrorDocument 403 /error/HTTP_NOT_FOUND.html.var
This is for displaying error 404 Object Not Found instead of error 403, so client will assume the folder is not exist.




friend's website


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web

since I know domain .web.id were given for free right now. I am asking several friends.

"Hey do you want a domain with your name .web.id?"

some of said Yes. and for reducing fee for webhosting I choose free webhosting.

Kusma with domain kumay.web.id is hosted at pandela using nucleus

Ridwan with domain ridwanfi.web.id using BoastMachine

Suherman with domain suherman.web.id using sBlog




New album added: Karaoke @Inul Vista


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web

please check out the gallery! I have added karaoke pictures at Inul Vista. :)




New album added: My house at BIP


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web

please check out the gallery! I have added picture of my house at BIP which under construction. :)




telnet to pop3 server


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web
# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is ''^]''.
+OK <2569.1057661928@mail.xpr.org>
user am3n
+OK
pass mys3cr3t
+OK
quit
+OK
Connection closed by foreign host.


telnet to smtp server


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web
below is the example on how test connection to smtp server

# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is ''^]''.
220 mail.xpr.org ESMTP
mail from: imran@xpr.org
250 ok
rcpt to: am3n@xpr.org
250 ok
data
354 go ahead
Subject: Testing first time
test test
.
250 ok 1103635217 qp 16177
quit
221 mail.xpr.org
Connection closed by foreign host.


Page :  1