Jump to content

how to make admin area can be accessed by one ip with .htaccsess?


aram
 Share

Recommended Posts

AuthName "Lee's Secret Area"AuthType Basic<Limit GET POST>order deny,allowdeny from allallow from 199.166.210.allow from .golden.netallow from proxy.aol.comallow from fish.wiretap.net</Limit>

where to add those files that i want to deny from all like my admin area (kurdishadmin.php)?

Link to comment
Share on other sites

.htaccess is the name of a document. Create a document with that name in the directory you want to protect.
but i want to dirct the pages becsuse my admin pages is in the root directory with my another files. if i did like you say no one can see my website
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...