Jump to content

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


aram

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...