i'm just learning how to use Apache and i need to limit access on certain web pages. (this is a school project). How do i use the .htaccess file to block a certain ip and inversely how do i limit access to only one ip?
I would also like to know how to create an .htaccess file in WinNT4 ----> the obvious problem is that windows won't allow a file with an extension, but no filename.
Thanks for that Wullie - but I've already tried that.
If I select Save as type = All Files, and type in .htaccess , notepad still puts a .txt after it. If I try and delete the .txt in Win Explorer, I get an alert: "You must type a filename".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.