htaccess for windows
You were searching for "htaccess for windows". These posts might be of interest:
- No related posts.
Restrict Access Using Htaccess on Windows
Filed in: Web Development — February 1st, 2005
I wrote a simple web application for stock management to be used inside the company(by only a staff). I got a request to implement password protection to the system.
I do not want to modify database and modify the codes(and I am lazy
). So, the fastest way is to use .htaccess file to restrict access to the web directory.
However, Microsoft Windows does not support filename starts with a ‘dot’. How do we implement the .htaccess?!
I found a very good tutorial(with DETAILS explaination) for Apache .htaccess Authentication.
After reading the tutorial, the web system implemented password protection in just 5 minutes!
Thought:
Though Apache web server configuration file is plain text file, but it is VERY powerful if you dig it down.
Popularity: 2% [?]
Comments Feed
TrackBack URL
February 1st, 2005 at 1:39 am
I have been writing .htaccess on Windows XP Notepad.
In fact, I’ve just tested and it still works.
February 1st, 2005 at 1:47 am
According to the link in the post, the author said Windows XP support filename with “dot” infront. However, it does not work for me.
February 1st, 2005 at 1:50 am
Did you get system error? Hmm.Strange. Normally what I do is that after saving from a notepad, it would become .htaccess.txt
I would then rename it to .htaccess manually.
February 2nd, 2005 at 4:59 am
the trick is choose “All files in the” file type or save as with the quote “.htaccess”
February 2nd, 2005 at 9:21 am
Thanks for the tip, farking! Found that we cannot rename a file to .htaccess, but “Save as…” works.
May 2nd, 2005 at 4:20 pm
Windows, Apache and .htaccess authentication
Windows, Apache and .htaccess authentication