We Recommend

C++ The Core Language C++ The Core Language
C++: The Core Language is for C programmers transitioning to C++. It's designed to get readers up to speed quickly by covering an essential subset of the language. The subset consists of features without which it's just not C++, and a handful of others that make it a reasonably useful language.


Posted By

hxseven on 08/28/06


Tagged

htaccess deny


Versions (?)


Who likes this?

2 people have marked this snippet as a favorite

postNuKe
yuconner


deny htaccess template


Published in: Other 


URL: http://www.jonasjohn.de/

If you paste this into a .htaccess files, you can just access the website from your localhost. If you remove the two "Allow from"... lines, you disallow everybody the access to the folder.

  1. Order Deny,Allow
  2. Allow from 127.0.0.1
  3. Allow from localhost
  4. Deny from All

Report this snippet 

You need to login to post a comment.