aram Posted June 16, 2011 Share Posted June 16, 2011 Is there any way to make admin area can be accessed by one ip with .htaccsess? Link to comment Share on other sites More sharing options...
jeffman Posted June 16, 2011 Share Posted June 16, 2011 Some examples here: http://home.golden.net/htaccess.html Link to comment Share on other sites More sharing options...
aram Posted June 16, 2011 Author Share Posted June 16, 2011 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 More sharing options...
jeffman Posted June 16, 2011 Share Posted June 16, 2011 .htaccess is the name of a document. Create a document with that name in the directory you want to protect. Link to comment Share on other sites More sharing options...
aram Posted June 16, 2011 Author Share Posted June 16, 2011 .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 More sharing options...
jeffman Posted June 16, 2011 Share Posted June 16, 2011 Can you put them in a special directory? Doing that would probably organize your file system better anyway. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.